--- /dev/null 2014-11-19 12:19:41.930000000 -0500 +++ new/src/os_cpu/linux_aarch64/vm/linux_aarch64.S 2015-01-02 08:29:49.379659101 -0500 @@ -0,0 +1,25 @@ +#ifdef BUILTIN_SIM + + .globl SafeFetch32, Fetch32PFI, Fetch32Resume + .align 16 + .type SafeFetch32,@function + // Prototype: int SafeFetch32 (int * Adr, int ErrValue) +SafeFetch32: + movl %esi, %eax +Fetch32PFI: + movl (%rdi), %eax +Fetch32Resume: + ret + + .globl SafeFetchN, FetchNPFI, FetchNResume + .align 16 + .type SafeFetchN,@function + // Prototype: intptr_t SafeFetchN (intptr_t * Adr, intptr_t ErrValue) +SafeFetchN: + movq %rsi, %rax +FetchNPFI: + movq (%rdi), %rax +FetchNResume: + ret + +#endif