1##===- subzero/runtime/szrt_asm_x8632.s - Subzero runtime asm helpers------===## 2## 3## The Subzero Code Generator 4## 5## This file is distributed under the University of Illinois Open Source 6## License. See LICENSE.TXT for details. 7## 8##===----------------------------------------------------------------------===## 9## 10## This file provides an assembly implementation of various helpers needed by 11## the Subzero x8632 runtime. 12## 13##===----------------------------------------------------------------------===## 14 15 .text 16 .p2align 5,0xf4 17 18 .ifdef NONSFI 19 .globl __Sz_getIP_eax 20__Sz_getIP_eax: 21 movl (%esp), %eax 22 ret 23 24 .globl __Sz_getIP_ecx 25__Sz_getIP_ecx: 26 movl (%esp), %ecx 27 ret 28 29 .globl __Sz_getIP_edx 30__Sz_getIP_edx: 31 movl (%esp), %edx 32 ret 33 34 .globl __Sz_getIP_ebx 35__Sz_getIP_ebx: 36 movl (%esp), %ebx 37 ret 38 39 .globl __Sz_getIP_ebp 40__Sz_getIP_ebp: 41 movl (%esp), %ebp 42 ret 43 44 .globl __Sz_getIP_esi 45__Sz_getIP_esi: 46 movl (%esp), %esi 47 ret 48 49 .globl __Sz_getIP_edi 50__Sz_getIP_edi: 51 movl (%esp), %edi 52 ret 53 .endif # NONSFI 54