Search
lxdream.org :: lxdream/src/sh4/ia64abi.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/ia64abi.h
changeset 547:d6e00ffc4adc
prev539:75f3e594d4a7
next559:06714bc64271
next586:2a3ba82cf243
author nkeynes
date Thu Dec 20 09:56:07 2007 +0000 (16 years ago)
permissions -rw-r--r--
last change Fix immediate call to MMU_ldtlb (braino...)
file annotate diff log raw
1.1 --- a/src/sh4/ia64abi.h Wed Nov 21 11:40:15 2007 +0000
1.2 +++ b/src/sh4/ia64abi.h Thu Dec 20 09:56:07 2007 +0000
1.3 @@ -66,13 +66,14 @@
1.4 call_func2(sh4_write_long, addr, arg2b);
1.5 }
1.6
1.7 -#define MEM_READ_DOUBLE_SIZE 35
1.8 +#define MEM_READ_DOUBLE_SIZE 43
1.9 /**
1.10 * Read a double (64-bit) value from memory, writing the first word into arg2a
1.11 * and the second into arg2b. The addr must not be in EAX
1.12 */
1.13 static inline void MEM_READ_DOUBLE( int addr, int arg2a, int arg2b )
1.14 {
1.15 + REXW(); SUB_imm8s_r32( 8, R_ESP );
1.16 PUSH_r32(addr);
1.17 call_func1(sh4_read_long, addr);
1.18 POP_r32(R_EDI);
1.19 @@ -81,6 +82,7 @@
1.20 call_func0(sh4_read_long);
1.21 MOV_r32_r32(R_EAX, arg2b);
1.22 POP_r32(arg2a);
1.23 + REXW(); ADD_imm8s_r32( 8, R_ESP );
1.24 }
1.25
1.26
1.27 @@ -101,7 +103,6 @@
1.28 sh4_x86.backpatch_posn = 0;
1.29 sh4_x86.block_start_pc = pc;
1.30 sh4_x86.tstate = TSTATE_NONE;
1.31 - sh4_x86.stack_posn = 0;
1.32 }
1.33
1.34 /**
1.35 @@ -182,4 +183,4 @@
1.36 }
1.37 }
1.38
1.39 -#endif
1.40 \ No newline at end of file
1.41 +#endif
.