[Patch, microblaze, gas, opcodes] Add support for clz insn

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


Add opcode for count leading zeros (clz) instruction,
counts number of leading zeros in register rA starting
from msb.

Expand microblaze allinsn.{s,d} testsuite coverage to
include new instruction.


binutils/opcodes/Changelog

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

          * microblaze-opc.h: Increase MAX_OPCODES
            (op_code_struct):  add clz insn
          * microblaze-opcm.h (microblaze_instr): add clz

binutils/gas/testsuite/Changelog

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

          * gas/microblaze/allinsn.s: Add clz insn
          * gas/microblaze/allinsn.d: Likewise

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-opcodes-microblaze-opc.h-Add-support-for-clz-insn.patch
Type: text/x-patch
Size: 2957 bytes
Desc: 0003-opcodes-microblaze-opc.h-Add-support-for-clz-insn.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20121108/934b4991/attachment.bin>


More information about the Binutils mailing list