[Patch, microblaze, gas] Remove special register check

David Holsgrove david.holsgrove@xilinx.com
Wed Oct 24 13:24:00 GMT 2012


For INST_TYPE_RFSL insns there is no register in syntax, dont need special
register condition check (eg tnput)

Added gas/testsuite/gas/microblaze/special_reg to test for the fatal error
this resolves;

Fatal error: Cannot use special register with this instruction

Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

binutils/gas/Changelog

 2012-10-24  David Holsgrove  <david.holsgrove@xilinx.com>

          * config/tc-microblaze.c: Remove special register condition check
            for INST_TYPE_RFSL related instructions.

binutils/gas/testsuite/Changelog

 2012-10-24  David Holsgrove  <david.holsgrove@xilinx.com>

          * testsuite/gas/microblaze/special_reg.exp: Add test case.
          * testsuite/gas/microblaze/special_reg.s: Likewise.
          * testsuite/gas/microblaze/special_reg.d: Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-gas-config-tc-microblaze.c-Remove-special-register-c.patch
Type: application/octet-stream
Size: 2719 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20121024/1b7bc373/attachment.obj>


More information about the Binutils mailing list