<div dir="ltr">On Mon, 17 Oct 2016 15:29:10 -0600, Kevin Handy <<a href="mailto:khandy21yo@gmail.com">khandy21yo@gmail.com</a>> wrote:<br><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
How close are the simh emulators to the real hardware's floating point? How<br>
exct is the emulation of FPU's?<br>
Does simh emulate the real hardware close enough that you can use it to<br>
analyze the original hardware floating point processors? (For those that<br>
actually had FPUs instead of doing it in software).<br>
Or does it do it using "modern" methods (IEEE style FPUs) that could<br>
calculate different results than the original hardware did?<br></blockquote><div><br></div><div>I can tell that the engineering ALU test passes in the BESM-6 emulator. <br><br></div><div>Addition and multiplication produce 80 bit of mantissa and had to be emulated with integers; division produces 40 bit, but using IEEE double and truncating or rounding the result causes the test to fail; I had to implement the non-restoring division algorithm exactly as described in the docs to make it work.<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It;s probably not a big deal for most users, but if the simh FPU hardware<br>
 might operate any different;y than the real hardware it should at least be<br>
documented somewhere.<br></blockquote><div><br></div><div>If other machines emulated by SIMH use IEEE for speed, it would be interesting to run their engineering tests, if available, to see if there are any failures.<br><br></div><div>Leo<br><br></div><br></div></div></div>