OLD | NEW |
1 ##===- subzero/runtime/szrt_asm_x8632.s - Subzero runtime asm helpers------===## | 1 ##===- subzero/runtime/szrt_asm_x8632.s - Subzero runtime asm helpers------===## |
2 ## | 2 ## |
3 ## The Subzero Code Generator | 3 ## The Subzero Code Generator |
4 ## | 4 ## |
5 ## This file is distributed under the University of Illinois Open Source | 5 ## This file is distributed under the University of Illinois Open Source |
6 ## License. See LICENSE.TXT for details. | 6 ## License. See LICENSE.TXT for details. |
7 ## | 7 ## |
8 ##===----------------------------------------------------------------------===## | 8 ##===----------------------------------------------------------------------===## |
9 ## | 9 ## |
10 ## This file provides an assembly implementation of various helpers needed by | 10 ## This file provides an assembly implementation of various helpers needed by |
11 ## the Subzero x8632 runtime. | 11 ## the Subzero x8632 runtime. |
12 ## | 12 ## |
13 ##===----------------------------------------------------------------------===## | 13 ##===----------------------------------------------------------------------===## |
14 | 14 |
15 .text | 15 .text |
16 .p2align 5,0xf4 | 16 .p2align 5,0xf4 |
17 | 17 |
| 18 .ifdef NONSFI |
18 .globl __Sz_getIP_eax | 19 .globl __Sz_getIP_eax |
19 __Sz_getIP_eax: | 20 __Sz_getIP_eax: |
20 movl (%esp), %eax | 21 movl (%esp), %eax |
21 ret | 22 ret |
22 | 23 |
23 .globl __Sz_getIP_ecx | 24 .globl __Sz_getIP_ecx |
24 __Sz_getIP_ecx: | 25 __Sz_getIP_ecx: |
25 movl (%esp), %ecx | 26 movl (%esp), %ecx |
26 ret | 27 ret |
27 | 28 |
(...skipping 14 matching lines...) Expand all Loading... |
42 | 43 |
43 .globl __Sz_getIP_esi | 44 .globl __Sz_getIP_esi |
44 __Sz_getIP_esi: | 45 __Sz_getIP_esi: |
45 movl (%esp), %esi | 46 movl (%esp), %esi |
46 ret | 47 ret |
47 | 48 |
48 .globl __Sz_getIP_edi | 49 .globl __Sz_getIP_edi |
49 __Sz_getIP_edi: | 50 __Sz_getIP_edi: |
50 movl (%esp), %edi | 51 movl (%esp), %edi |
51 ret | 52 ret |
| 53 .endif # NONSFI |
OLD | NEW |