jkmcnk / sx-gcc

The GNU Compiler Collection port to NEC SX CPU architecture.
GNU General Public License v2.0
0 stars 2 forks source link

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

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 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 8 years ago
fixed in r193.

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