Search
lxdream.org :: lxdream/src/sh4/sh4core.in :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4core.in
changeset 1193:dff55bdc4f46
prev1192:ba3df0bf2c23
next1217:677b1d85f1b4
next1230:64a91ef571fc
author nkeynes
date Mon Dec 12 21:10:04 2011 +1000 (8 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/sh4core.in Mon Dec 12 09:54:27 2011 +1000
1.2 +++ b/src/sh4/sh4core.in Mon Dec 12 21:10:04 2011 +1000
1.3 @@ -665,9 +665,9 @@
1.4 sh4r.r[Rn] += 4;
1.5 } else {
1.6 CHECKRALIGN16( sh4r.r[Rn] );
1.7 - CHECKRALIGN16( sh4r.r[Rm] );
1.8 MEM_READ_WORD(sh4r.r[Rn], tmp);
1.9 stmp = SIGNEXT16(tmp);
1.10 + CHECKRALIGN16( sh4r.r[Rm] );
1.11 MEM_READ_WORD(sh4r.r[Rm], tmp);
1.12 stmp = stmp * SIGNEXT16(tmp);
1.13 sh4r.r[Rn] += 2;
.