OpenCores
Issue List
l.xori uses signed immediate #109
Closed jeremybennett opened this issue almost 14 years ago
jeremybennett commented almost 14 years ago
<p> Unlike the other logical instructions (<tt>l.andi</tt>, <tt>l.ori</tt>), <tt>l.xori</tt> sign extends its immediate operand. </p> <p> There appears to be no justification for this. It is probably a transcription error in the architecture manual. </p> <p> The architecture manual needs to be corrected, and the implementations in Or1ksim and Verilog checked to ensure they match. </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 commented almost 14 years ago
<p> Fixed in supplementary architecture manual. </p> <p> Marking closed. </p> <p> Jeremy </p>
jeremybennett closed this almost 14 years ago
rherveille commented almost 14 years ago

Currently Binutils uses signed-extend as well. So this means a change to binutils too.

Richard


Assignee
No one
Labels
Bug