Update asm mangling to match GDC's D frontend

This commit is contained in:
Eugen Wissner 2018-08-08 10:27:23 +02:00
parent aa4ccddf47
commit 2862cc6f50
2 changed files with 9 additions and 10 deletions

View File

@ -8,10 +8,9 @@
* rdx - r2 length.
* rcx - r2 data.
*/
.globl _D5tanya6memory2op9cmpMemoryFNaNbNixAvxAvZi
.type _D5tanya6memory2op9cmpMemoryFNaNbNixAvxAvZi, @function
_D5tanya6memory2op9cmpMemoryFNaNbNixAvxAvZi:
.globl _D5tanya6memory2op9cmpMemoryFNaNbNixAvxQdZi
.type _D5tanya6memory2op9cmpMemoryFNaNbNixAvxQdZi, @function
_D5tanya6memory2op9cmpMemoryFNaNbNixAvxQdZi:
// Compare the lengths
cmp %rdx, %rdi
jl less

View File

@ -23,10 +23,10 @@ syscall1:
// 2 parameters.
.globl _D5tanya3sys5linux7syscall7syscallFNbNilllZl
.type _D5tanya3sys5linux7syscall7syscallFNbNilllZl, @function
.globl _D5tanya3sys5linux7syscallQiFNbNilllZl
.type _D5tanya3sys5linux7syscallQiFNbNilllZl, @function
_D5tanya3sys5linux7syscall7syscallFNbNilllZl:
_D5tanya3sys5linux7syscallQiFNbNilllZl:
movq %rdx, %rax
syscall
@ -35,10 +35,10 @@ _D5tanya3sys5linux7syscall7syscallFNbNilllZl:
// 6 parameters.
.globl _D5tanya3sys5linux7syscall7syscallFNbNilllllllZl
.type _D5tanya3sys5linux7syscall7syscallFNbNilllllllZl, @function
.globl _D5tanya3sys5linux7syscallQiFNbNilllllllZl
.type _D5tanya3sys5linux7syscallQiFNbNilllllllZl, @function
_D5tanya3sys5linux7syscall7syscallFNbNilllllllZl:
_D5tanya3sys5linux7syscallQiFNbNilllllllZl:
pushq %rbp
movq %rsp, %rbp