l.jalr and l.jr do not report aignment errors in Or1ksim #96
Closedjeremybennett opened this issue over 14 years ago
jeremybennett commented over 14 years ago
<p>
If <tt>l.jalr</tt> and <tt>l.jr</tt> generate effective addresses without word alignment they do not generate an alignment exception in Or1ksim.
</p>
<p>
This is in part a documentation error. The architecture manual should make clear whether these instructions generate an alignment exception or just truncate the effective address.
</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.
</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. Supplementary architecture manual updated.
</p>
<p>
Marking closed.
</p>
<p>
Jeremy
</p>