l.add, l.addc, l.addi and l.addic do not correctly set the carry flag in Or1ksim #92
Closedjeremybennett opened this issue over 14 years ago
jeremybennett commented over 14 years ago
<p>
Under some circumstances, the add instructions do not correctly set the carry flag.
</p>
<p>
Reported in <em>Implementation and Verification of a CPU Subsystem for Multimode RF Transceivers</em> by Waqas Ahmed of the Royal Institute of Technology, Sweden. Full details of when this error occurs can be found in section 5.5.3 (the criteria are complex).
</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 over 14 years ago
jeremybennett commented over 14 years ago
<p>
Corrected in top of tree. Regression tests added.
</p>
<p>
Marking closed.
</p>
<p>
Jeremy
</p>