Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(499)

Unified Diff: runtime/szrt_asm_x8632.s

Issue 1506653002: Subzero: Add Non-SFI support for x86-32. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/szrt_asm_arm32.s ('k') | runtime/szrt_asm_x8664.s » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « runtime/szrt_asm_arm32.s ('k') | runtime/szrt_asm_x8664.s » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698