llvm-project/llvm/test/MC/Disassembler/PowerPC
Hal Finkel f4052340a4 [PowerPC] Replace cntlz[.] with cntlzw[.]
cntlz is the old POWER mnemonic. cntlzw is the PowerPC mnemonic.

This change fixes an issue when -no-integrated-as: The opcode cntlz is
unrecognized by gas

Alias the POWER mnemonic cntlz[.] to the PowerPC mnemonic cntlzw[.]
This is done for because the POWER cntlz mnemonic has be used by LLVM for
a very long time. We need to make sure that assembly programs
that are using the cntlz[.] do not break with this change.

Change PowerPC tests to reflect the insn change from cntlz to cntlzw.
Add assembly test to verify cntlz[.] is encoded correctly.

Patch by Tom Rix!

llvm-svn: 251489
2015-10-28 03:26:45 +00:00
..
dcbt.txt [PowerPC] Add asm/disasm support for dcbt with hint 2015-04-23 22:47:57 +00:00
lit.local.cfg
ppc64-encoding-4xx.txt [PowerPC] Enable printing instructions using aliases 2015-04-23 18:30:38 +00:00
ppc64-encoding-6xx.txt Add PPC 603's tlbld and tlbli instructions. 2014-08-04 23:49:45 +00:00
ppc64-encoding-bookII.txt [PowerPC] Use sync inst alias when printing 2015-04-23 23:05:08 +00:00
ppc64-encoding-bookIII.txt [PowerPC] Enable printing instructions using aliases 2015-04-23 18:30:38 +00:00
ppc64-encoding-e500.txt Add features for PPC 4xx and e500/e500mc instructions. 2014-08-04 15:47:38 +00:00
ppc64-encoding-ext.txt [PowerPC] Enable printing instructions using aliases 2015-04-23 18:30:38 +00:00
ppc64-encoding-fp.txt [PowerPC] Add assembler support for mcrfs and friends 2015-01-15 01:00:53 +00:00
ppc64-encoding-p8vector.txt [PPC64] Add vector pack/unpack support from ISA 2.07 2015-05-16 01:02:12 +00:00
ppc64-encoding-vmx.txt [PPC] Implement vmrgew and vmrgow instructions 2015-06-25 15:17:40 +00:00
ppc64-encoding.txt [PowerPC] Replace cntlz[.] with cntlzw[.] 2015-10-28 03:26:45 +00:00
ppc64-operands.txt [PowerPC] Enable printing instructions using aliases 2015-04-23 18:30:38 +00:00
ppc64le-encoding.txt [PowerPC] Replace cntlz[.] with cntlzw[.] 2015-10-28 03:26:45 +00:00
qpx.txt [PowerPC] Enable printing instructions using aliases 2015-04-23 18:30:38 +00:00
vsx.txt Scalar to vector conversions using direct moves 2015-08-13 17:40:44 +00:00