Update asm mangling to match GDC's D frontend
This commit is contained in:
parent
aa4ccddf47
commit
2862cc6f50
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user