krfkeith / sx-gcc

Automatically exported from code.google.com/p/sx-gcc
0 stars 0 forks source link

load/store special registers doesn't work properly #116

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The assembly instruction
stusrcc $s37
is assembled wrongly to
stvecc $s37

Actually all special register stores are assembled wrongly. They are all
encoded to something like 0x22250000 instead of (stusrcc) 0x22250900.

The Y field must encode the special register here, somewhat similar to the
CFX mode.

Regards,
Erich

Original issue reported on code.google.com by efo...@gmail.com on 5 Mar 2009 at 5:25

GoogleCodeExporter commented 9 years ago
fixed in r193.

Original comment by jmoc...@gmail.com on 6 Mar 2009 at 10:36