The openrisc bugtracker has been moved to: bugzilla.opencores.org. This page is read-only
l.mtspr incorrectly implemented in Or1ksim
Information:
Type :: BUG
Status :: CLOSED
Assigned to ::
Jeremy, Bennett
Description:
The implementation of l.mtspr in Or1ksim is incorrect. The immediate values should be ORed with the contents of rA, not added to it.
In practice this causes little difficulty, since invariably r0 is used for rA and addition and ORing then yield the same result.
Reported in Implementation and Verification of a CPU Subsystem for Multimode RF Transceivers by Waqas Ahmed of the Royal Institute of Technology, Sweden.
Jeremy
--
Tel: +44 (1590) 610184
Cell: +44 (7970) 676050
SkypeID: jeremybennett
Email: jeremy.bennett@embecosm.com
Web: www.embecosm.com
Comments:
| Bennett, Jeremy | Jun 15, 2010 |
|---|---|
|
Corrected in top of tree. Regression tests added. Marking closed. Jeremy |
|
| Bennett, Jeremy | Jun 15, 2010 |
|---|---|
|
The same problem also applies to l.mfspr. Jeremy |
|
Post a comment:
Login to post comments!
