Index: runtime/szrt_asm_x8632.s |
diff --git a/runtime/szrt_asm_x8632.s b/runtime/szrt_asm_x8632.s |
new file mode 100644 |
index 0000000000000000000000000000000000000000..518acef35614f78b1ffa1fdd7f780d79ebdccd32 |
--- /dev/null |
+++ b/runtime/szrt_asm_x8632.s |
@@ -0,0 +1,51 @@ |
+##===- subzero/runtime/szrt_asm_x8632.s - Subzero runtime asm helpers------===## |
+## |
+## The Subzero Code Generator |
+## |
+## This file is distributed under the University of Illinois Open Source |
+## License. See LICENSE.TXT for details. |
+## |
+##===----------------------------------------------------------------------===## |
+## |
+## This file provides an assembly implementation of various helpers needed by |
+## the Subzero x8632 runtime. |
+## |
+##===----------------------------------------------------------------------===## |
+ |
+ .text |
+ .p2align 5,0xf4 |
+ |
+ .globl __Sz_getIP_eax |
+__Sz_getIP_eax: |
+ movl (%esp), %eax |
+ ret |
+ |
+ .globl __Sz_getIP_ecx |
+__Sz_getIP_ecx: |
+ movl (%esp), %ecx |
+ ret |
+ |
+ .globl __Sz_getIP_edx |
+__Sz_getIP_edx: |
+ movl (%esp), %edx |
+ ret |
+ |
+ .globl __Sz_getIP_ebx |
+__Sz_getIP_ebx: |
+ movl (%esp), %ebx |
+ ret |
+ |
+ .globl __Sz_getIP_ebp |
+__Sz_getIP_ebp: |
+ movl (%esp), %ebp |
+ ret |
+ |
+ .globl __Sz_getIP_esi |
+__Sz_getIP_esi: |
+ movl (%esp), %esi |
+ ret |
+ |
+ .globl __Sz_getIP_edi |
+__Sz_getIP_edi: |
+ movl (%esp), %edi |
+ ret |