mirror of
https://github.com/corda/corda.git
synced 2025-02-27 19:46:38 +00:00
eliminate instructions from *.S which restored the stack pointer unnecessarily
This commit is contained in:
parent
8b17df5b48
commit
28f6f29477
@ -76,10 +76,6 @@ sse:
|
|||||||
call:
|
call:
|
||||||
call *0(%rbp)
|
call *0(%rbp)
|
||||||
|
|
||||||
// clear space reserved for memory arguments
|
|
||||||
movq 16(%rbp),%rcx
|
|
||||||
addq %rcx,%rsp
|
|
||||||
|
|
||||||
// handle return value based on expected type
|
// handle return value based on expected type
|
||||||
movq 40(%rbp),%rcx
|
movq 40(%rbp),%rcx
|
||||||
|
|
||||||
|
@ -37,10 +37,6 @@ test:
|
|||||||
// call function
|
// call function
|
||||||
call *8(%ebp)
|
call *8(%ebp)
|
||||||
|
|
||||||
// clear space reserved for arguments
|
|
||||||
movl 16(%ebp),%ecx
|
|
||||||
addl %ecx,%esp
|
|
||||||
|
|
||||||
// handle return value based on expected type
|
// handle return value based on expected type
|
||||||
movl 20(%ebp),%ecx
|
movl 20(%ebp),%ecx
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user