filename | src/xlat/x86/ia32abi.h |
changeset | 1125:9dd5dee45db9 |
prev | 1112:4cac5e474d4c |
next | 1146:76c5d1064262 |
author | nkeynes |
date | Mon Sep 13 10:13:42 2010 +1000 (11 years ago) |
permissions | -rw-r--r-- |
last change | Implement shadow-execution 'core' to run translator + interpreter side by side (for testing) |
file | annotate | diff | log | raw |
1.1 --- a/src/xlat/x86/ia32abi.h Tue Jul 13 18:23:16 2010 +10001.2 +++ b/src/xlat/x86/ia32abi.h Mon Sep 13 10:13:42 2010 +10001.3 @@ -140,16 +140,16 @@1.4 * Allocates 8 bytes for local variables, which also has the convenient1.5 * side-effect of aligning the stack.1.6 */1.7 -static inline void enter_block( )1.8 +static inline void emit_prologue( )1.9 {1.10 PUSH_r32(REG_EBP);1.11 SUBL_imms_r32( 8, REG_ESP );1.12 MOVP_immptr_rptr( ((uint8_t *)&sh4r) + 128, REG_EBP );1.13 }1.15 -static inline void exit_block( )1.16 +static inline void emit_epilogue( )1.17 {1.18 ADDL_imms_r32( 8, REG_ESP );1.19 POP_r32(REG_EBP);1.20 - RET();1.21 }1.22 +
.