[aarch64-port-dev ] How to skip the synchronization entry
Patrick Zhang
patrick.zhang at amperecomputing.com
Wed Aug 15 07:05:03 UTC 2018
I have a very simple function that directly returns the an input int parameter inside, there are x29, x30 registers being protected before/after "mov w0 w2". I have two questions here:
1. Are these Link Register and Frame Pointer respectively according to the A64 instruction set document?
2. Any special flags to remove them for debugging purpose? I tried -XX:-PreserveFramePoint but no effect.
nop
sub sp, sp, #0x20
stp x29, x30, [sp,#16] ;*synchronization entry
mov w0, w2
ldp x29, x30, [sp,#16]
add sp, sp, #0x20
ldr x8, [x28,#264]
ldr wzr, [x8] ; {poll_return}
ret
Regards
Patrick
More information about the aarch64-port-dev
mailing list