The openrisc bugtracker has been moved to: bugzilla.opencores.org. This page is read-only
l.xori uses signed immediate
Information:
Type :: BUG
Status :: CLOSED
Assigned to ::
nobody
Description:
Unlike the other logical instructions (l.andi, l.ori), l.xori sign extends its immediate operand.
There appears to be no justification for this. It is probably a transcription error in the architecture manual.
The architecture manual needs to be corrected, and the implementations in Or1ksim and Verilog checked to ensure they match.
Jeremy
--
Tel: +44 (1590) 610184
Cell: +44 (7970) 676050
SkypeID: jeremybennett
Email: jeremy.bennett@embecosm.com
Web: www.embecosm.com
Comments:
| Herveille, Richard | Jun 16, 2010 |
|---|---|
|
Currently Binutils uses signed-extend as well. So this means a change to binutils too.
Richard |
|
| Bennett, Jeremy | Jun 16, 2010 |
|---|---|
|
Fixed in supplementary architecture manual. Marking closed. Jeremy |
|
Post a comment:
Login to post comments!
