* simops.c: Undo last change to "rol" and "ror", original code

was correct!
This commit is contained in:
Jeff Law
1997-01-21 22:03:39 +00:00
parent 0716c2e910
commit f95251f068
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Tue Jan 21 15:03:04 1997 Jeffrey A Law (law@cygnus.com)
* simops.c: Undo last change to "rol" and "ror", original code
was correct!
Thu Jan 16 11:28:14 1997 Jeffrey A Law (law@cygnus.com)
* simops.c: Fix "rol" and "ror".

View File

@ -2219,7 +2219,7 @@ void OP_F284 (insn, extension)
c = (value & 0x1);
value >>= 1;
value |= (c) ? 0x80000000 : 0;
value |= ((PSW & PSW_C) != 0) ? 0x80000000 : 0;
State.regs[REG_D0 + REG0 (insn)] = value;
z = (value == 0);
n = (value & 0x80000000) != 0;
@ -2238,7 +2238,7 @@ void OP_F280 (insn, extension)
c = (value & 0x80000000) ? 1 : 0;
value <<= 1;
value |= c;
value |= ((PSW & PSW_C) != 0);
State.regs[REG_D0 + REG0 (insn)] = value;
z = (value == 0);
n = (value & 0x80000000) != 0;