On 05/29/2012 09:26 PM, R. Diez wrote:
Hallo Julius:
The jump instruction l.jalr is not triggering the illegal instruction
exception when the target register is the link register (R9). I've tested it
with my modified test suite against ORPSoC V2's copy of the or1200 core. When
running under the or1ksim simulator, the exception is correctly triggered.
I don't think it is defined anywhere that l.jalr r9 should cause an
illegal instruction exception, so in theory it is or1ksim that is behaving
incorrectly.
In practice, it is probably a good idea to trigger the illegal instruction
exception on
it though.
The same happens with the aligned exception, when the target register is not
multiple of 4.
That sounds like a bug, is it only when jumping with l.jalr or also l.jr?
Stefan
_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc