Search
lxdream.org :: lxdream/src/sh4/sh4x86.in :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4x86.in
changeset 1193:dff55bdc4f46
prev1191:12fdf3aafcd4
next1194:ee6ce5804608
author nkeynes
date Mon Dec 12 21:10:04 2011 +1000 (10 years ago)
permissions -rw-r--r--
last change Fix MAC.W operand ordering - reads from Rn first, then Rm (per the manual)
file annotate diff log raw
1.1 --- a/src/sh4/sh4x86.in Fri Dec 02 18:18:04 2011 +1000
1.2 +++ b/src/sh4/sh4x86.in Mon Dec 12 21:10:04 2011 +1000
1.3 @@ -1158,11 +1158,11 @@
1.4 // Note translate twice in case of page boundaries. Maybe worth
1.5 // adding a page-boundary check to skip the second translation
1.6 } else {
1.7 - load_reg( REG_EAX, Rm );
1.8 + load_reg( REG_EAX, Rn );
1.9 check_ralign16( REG_EAX );
1.10 MEM_READ_WORD( REG_EAX, REG_EAX );
1.11 MOVL_r32_rspdisp( REG_EAX, 0 );
1.12 - load_reg( REG_EAX, Rn );
1.13 + load_reg( REG_EAX, Rm );
1.14 check_ralign16( REG_EAX );
1.15 MEM_READ_WORD( REG_EAX, REG_EAX );
1.16 ADDL_imms_rbpdisp( 2, REG_OFFSET(r[Rn]) );
.