[Patch, microblaze, gas, opcodes] Add load/store byte reverse insns

David Holsgrove david.holsgrove@xilinx.com
Thu Nov 8 12:26:00 GMT 2012


Add the endian reversing versions of load/store instructions;

lbur: Load byte unsigned, endian reversed
lhur: Load halfword unsigned, endian reversed
lwr:  Load word, endian reversed
sbr:  Store byte, endian reversed
shr:  Store halfword, endian reversed
swr:  Store word, endian reversed


binutils/opcodes/Changelog

 2012-11-08  Edgar E. Iglesias <edgar.iglesias@gmail.com>

          * microblaze-opc.h: Increase MAX_OPCODES
            (op_code_struct):  add lbur, lhur, lwr, sbr, shr, swr
          * microblaze-opcm.h (microblaze_instr): add lbur,
            lhur, lwr, sbr, shr, swr

binutils/gas/testsuite/Changelog

 2012-11-08  David Holsgrove  <david.holsgrove@xilinx.com>

          * gas/microblaze/allinsn.exp: New file - test
            newly added opcodes
          * gas/microblaze/allinsn.s: Likewise
          * gas/microblaze/allinsn.d: Likewise

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-opcodes-microblaze-opc.h-Add-load-store-byte-reverse.patch
Type: text/x-patch
Size: 6400 bytes
Desc: 0002-opcodes-microblaze-opc.h-Add-load-store-byte-reverse.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20121108/386a729a/attachment.bin>


More information about the Binutils mailing list