Closedjeremybennett opened this issue over 14 years ago
jeremybennett commented over 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 over 14 years ago
<p>
Fixed in supplementary architecture manual.
</p>
<p>
Marking closed.
</p>
<p>
Jeremy
</p>
jeremybennett closed this over 14 years ago
rherveille commented over 14 years ago
Currently Binutils uses signed-extend as well. So this means a change to binutils too.