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.
|
* rdx - r2 length.
|
||||||
* rcx - r2 data.
|
* rcx - r2 data.
|
||||||
*/
|
*/
|
||||||
.globl _D5tanya6memory2op9cmpMemoryFNaNbNixAvxAvZi
|
.globl _D5tanya6memory2op9cmpMemoryFNaNbNixAvxQdZi
|
||||||
.type _D5tanya6memory2op9cmpMemoryFNaNbNixAvxAvZi, @function
|
.type _D5tanya6memory2op9cmpMemoryFNaNbNixAvxQdZi, @function
|
||||||
|
_D5tanya6memory2op9cmpMemoryFNaNbNixAvxQdZi:
|
||||||
_D5tanya6memory2op9cmpMemoryFNaNbNixAvxAvZi:
|
|
||||||
// Compare the lengths
|
// Compare the lengths
|
||||||
cmp %rdx, %rdi
|
cmp %rdx, %rdi
|
||||||
jl less
|
jl less
|
||||||
|
@ -23,10 +23,10 @@ syscall1:
|
|||||||
|
|
||||||
|
|
||||||
// 2 parameters.
|
// 2 parameters.
|
||||||
.globl _D5tanya3sys5linux7syscall7syscallFNbNilllZl
|
.globl _D5tanya3sys5linux7syscallQiFNbNilllZl
|
||||||
.type _D5tanya3sys5linux7syscall7syscallFNbNilllZl, @function
|
.type _D5tanya3sys5linux7syscallQiFNbNilllZl, @function
|
||||||
|
|
||||||
_D5tanya3sys5linux7syscall7syscallFNbNilllZl:
|
_D5tanya3sys5linux7syscallQiFNbNilllZl:
|
||||||
movq %rdx, %rax
|
movq %rdx, %rax
|
||||||
|
|
||||||
syscall
|
syscall
|
||||||
@ -35,10 +35,10 @@ _D5tanya3sys5linux7syscall7syscallFNbNilllZl:
|
|||||||
|
|
||||||
|
|
||||||
// 6 parameters.
|
// 6 parameters.
|
||||||
.globl _D5tanya3sys5linux7syscall7syscallFNbNilllllllZl
|
.globl _D5tanya3sys5linux7syscallQiFNbNilllllllZl
|
||||||
.type _D5tanya3sys5linux7syscall7syscallFNbNilllllllZl, @function
|
.type _D5tanya3sys5linux7syscallQiFNbNilllllllZl, @function
|
||||||
|
|
||||||
_D5tanya3sys5linux7syscall7syscallFNbNilllllllZl:
|
_D5tanya3sys5linux7syscallQiFNbNilllllllZl:
|
||||||
pushq %rbp
|
pushq %rbp
|
||||||
movq %rsp, %rbp
|
movq %rsp, %rbp
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user