mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
202b6045bf
Patch by Kit Barton. Add the vector count leading zeros instruction for byte, halfword, word, and doubleword sizes. This is a fairly straightforward addition after the changes made for vpopcnt: 1. Add the correct definitions for the various instructions in PPCInstrAltivec.td 2. Make the CTLZ operation legal on vector types when using P8Altivec in PPCISelLowering.cpp Test Plan Created new test case in test/CodeGen/PowerPC/vec_clz.ll to check the instructions are being generated when the CTLZ operation is used in LLVM. Check the encoding and decoding in test/MC/PowerPC/ppc_encoding_vmx.s and test/Disassembler/PowerPC/ppc_encoding_vmx.txt respectively. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228301 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
deprecated-p7.s | ||
lcomm.s | ||
lit.local.cfg | ||
ppc32-ba.s | ||
ppc64-abiversion.s | ||
ppc64-encoding-4xx.s | ||
ppc64-encoding-6xx.s | ||
ppc64-encoding-bookII.s | ||
ppc64-encoding-bookIII.s | ||
ppc64-encoding-e500.s | ||
ppc64-encoding-ext.s | ||
ppc64-encoding-fp.s | ||
ppc64-encoding-spe.s | ||
ppc64-encoding-vmx.s | ||
ppc64-encoding.s | ||
ppc64-errors.s | ||
ppc64-fixup-apply.s | ||
ppc64-fixup-explicit.s | ||
ppc64-fixups.s | ||
ppc64-initial-cfa.s | ||
ppc64-localentry-error1.s | ||
ppc64-localentry-error2.s | ||
ppc64-localentry.s | ||
ppc64-operands.s | ||
ppc64-regs.s | ||
ppc64-relocs-01.s | ||
ppc64-tls-relocs-01.s | ||
ppc-llong.s | ||
ppc-machine.s | ||
ppc-nop.s | ||
ppc-reloc.s | ||
ppc-word.s | ||
tls-gd-obj.s | ||
tls-ie-obj.s | ||
tls-ld-obj.s | ||
vsx.s |