alpha: Fixed reversed definitions of FTOIS, FTOIT (Maurice Marks)

This commit is contained in:
Bob Supnik 2017-10-05 18:55:00 -07:00 committed by Mark Pizzolato
parent d074853138
commit bd0cad685c

View file

@ -23,6 +23,7 @@
used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from Robert M Supnik.
05-Oct-2017 RMS Fixed reversed definitions of FTOIS, FTOIT (Maurice Marks)
27-May-2017 RMS Fixed MIN/MAXx4 iteration counts (Mark Pizzolato)
26-May-2017 RMS Fixed other reversed definitions in opcode 12
28-Apr-2017 RMS Fixed reversed definitions of INSQH, EXTQH (Maurice Marks)
@ -1498,18 +1499,18 @@ while (reason == 0) {
}
break;
case 0x70: /* FTOIS */
if (!(arch_mask & AMASK_FIX)) ABORT (EXC_RSVI);
if (fpen == 0) ABORT (EXC_FPDIS); /* flt point disabled? */
res = op_sts (FR[ra]);
break;
case 0x78: /* FTOIT */
case 0x70: /* FTOIT */
if (!(arch_mask & AMASK_FIX)) ABORT (EXC_RSVI);
if (fpen == 0) ABORT (EXC_FPDIS); /* flt point disabled? */
res = FR[ra];
break;
case 0x78: /* FTOIS */
if (!(arch_mask & AMASK_FIX)) ABORT (EXC_RSVI);
if (fpen == 0) ABORT (EXC_FPDIS); /* flt point disabled? */
res = op_sts (FR[ra]);
break;
default:
ABORT (EXC_RSVI);
}