[mips][microMIPSr6] Implement CLO and CLZ instructions
authorJozef Kolek <jozef.kolek@imgtec.com>
Wed, 13 May 2015 14:18:11 +0000 (14:18 +0000)
committerJozef Kolek <jozef.kolek@imgtec.com>
Wed, 13 May 2015 14:18:11 +0000 (14:18 +0000)
commit6fec325d10cba4bb79ce299a0fff19c56c6d8d43
tree1c44faa06a597a05089885e6fdbb6b5428cca1e9
parent780a3b3be7478af5ca39da9927325cc5ea91c2e2
[mips][microMIPSr6] Implement CLO and CLZ instructions

This patch implements CLO and CLZ instructions using mapping.

Differential Revision: http://reviews.llvm.org/D8553

llvm-svn: 237257
llvm/lib/Target/Mips/MicroMips32r6InstrFormats.td
llvm/lib/Target/Mips/MicroMips32r6InstrInfo.td
llvm/lib/Target/Mips/Mips32r6InstrInfo.td
llvm/test/MC/Disassembler/Mips/micromips32r6.txt
llvm/test/MC/Mips/micromips32r6/valid.s