mirror of
https://github.com/simh/simh.git
synced 2026-01-25 11:46:37 +00:00
GRI, I1401, PDP10, SDS: Fix compiler detected inconsistencies
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* pdp10_mdfp.c: PDP-10 multiply/divide and floating point simulator
|
||||
|
||||
Copyright (c) 1993-2008, Robert M Supnik
|
||||
Copyright (c) 1993-2016, Robert M Supnik
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
@@ -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-May-16 RMS Fixed bug in DMUL carry (Mark Pizzolato)
|
||||
2-Apr-04 RMS Fixed bug in floating point unpack
|
||||
Fixed bug in FIXR (found by Phil Stone, fixed by
|
||||
Chris Smith)
|
||||
@@ -320,7 +321,7 @@ for (i = 0; i < 71; i++) { /* 71 mpyer bits */
|
||||
}
|
||||
if (mpy[1] & 1) { /* if mpy lo bit = 1 */
|
||||
AC(p1) = AC(p1) + mpc[1];
|
||||
AC(ac) = AC(ac) + mpc[0] + (TSTS (AC(p1) != 0));
|
||||
AC(ac) = AC(ac) + mpc[0] + (TSTS (AC(p1)) != 0);
|
||||
AC(p1) = CLRS (AC(p1));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user