Add swap byte (swapb) and swap halfword (swaph) opcodes.
swapb: swaps the contents of rA treated as 4 bytes, and place in rD,
effectively converting between endianness formats
swaph: swaps the contents of rA treated as 2 halfwords, and place in rD,
converting the 2 halfwords in the register between endianness formats.
Expand gas/testsuite/microblaze/gas/allinsn to include swapb and swaph
binutils/opcodes/Changelog
2012-11-08 David Holsgrove <david.holsgrove@xilinx.com>
* microblaze-opc.h (op_code_struct): Add swapb, swaph
Increase MAX_OPCODES.
* microblaze-opcm.h (microblaze_instr): Likewise
binutils/gas/testsuite/Changelog
2012-11-08 David Holsgrove <david.holsgrove@xilinx.com>
* gas/microblaze/allinsn.s: Add swapb, swaph
* gas/microblaze/allinsn.d: Likewise