Search
lxdream.org :: lxdream/src/sh4/ia64abi.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/ia64abi.h
changeset 800:0d1be79c9b33
prev736:a02d1475ccfd
next901:32c5cf5e206f
author nkeynes
date Mon Aug 04 06:00:11 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Fix x86-64 bugs (only visible on OS X)
file annotate diff log raw
1.1 --- a/src/sh4/ia64abi.h Mon Jul 14 07:44:42 2008 +0000
1.2 +++ b/src/sh4/ia64abi.h Mon Aug 04 06:00:11 2008 +0000
1.3 @@ -39,15 +39,15 @@
1.4 #define CALL_FUNC1_SIZE 14
1.5 static inline void call_func1( void *ptr, int arg1 )
1.6 {
1.7 - MOV_r32_r32(arg1, R_EDI);
1.8 + REXW(); MOV_r32_r32(arg1, R_EDI);
1.9 call_func0(ptr);
1.10 }
1.11
1.12 #define CALL_FUNC2_SIZE 16
1.13 static inline void call_func2( void *ptr, int arg1, int arg2 )
1.14 {
1.15 - MOV_r32_r32(arg1, R_EDI);
1.16 - MOV_r32_r32(arg2, R_ESI);
1.17 + REXW(); MOV_r32_r32(arg1, R_EDI);
1.18 + REXW(); MOV_r32_r32(arg2, R_ESI);
1.19 call_func0(ptr);
1.20 }
1.21
.