OpenCores
Issue List
Or1ksim definition of overflow flag is wrong #104
Closed jeremybennett opened this issue almost 14 years ago
jeremybennett commented almost 14 years ago
<p> Or1ksim interprets the overflow flag as meaning a computation set the MS bit. This wrong. It is the XOR of the carry in and carry out of the top bit. Computationally that means if you started with two negative arguments and got a positive one, or you started with two positive arguments and got a negative one, then overflow occured. </p> <p> Jeremy </p> <p> -- <br /> Tel: +44 (1590) 610184<br /> Cell: +44 (7970) 676050<br /> SkypeID: jeremybennett<br /> Email: <a href="mailto:jeremy.bennett@embecosm.com">jeremy.bennett@embecosm.com</a><br /> Web: <a href="http://www.embecosm.com">www.embecosm.com</a> </p>
jeremybennett was assigned almost 14 years ago
jeremybennett commented almost 14 years ago
<p> Corrected in top of tree. Regression tests added. </p> <p> Marking closed. </p> <p> Jeremy </p>
jeremybennett closed this almost 14 years ago

Assignee
jeremybennett
Labels
Bug