llvm-6502/test/MC/PowerPC
Bill Schmidt 24f0469865 [PPC64] Add vector pack/unpack support from ISA 2.07
This patch adds support for the following new instructions in the
Power ISA 2.07:

  vpksdss
  vpksdus
  vpkudus
  vpkudum
  vupkhsw
  vupklsw

These instructions are available through the vec_packs, vec_packsu,
vec_unpackh, and vec_unpackl built-in interfaces.  These are
lane-sensitive instructions, so the built-ins have different
implementations for big- and little-endian, and the instructions must
be marked as killing the vector swap optimization for now.

The first three instructions perform saturating pack operations.  The
fourth performs a modulo pack operation, which means it can be
represented with a vector shuffle, and conversely the appropriate
vector shuffles may cause this instruction to be generated.  The other
instructions are only generated via built-in support for now.

Appropriate tests have been added.

There is a companion patch to clang for the rest of this support.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237499 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-16 01:02:12 +00:00
..
dcbt.s [PowerPC] Add asm/disasm support for dcbt with hint 2015-04-23 22:47:57 +00:00
deprecated-p7.s
htm.s
lcomm.s
lit.local.cfg
ppc32-ba.s
ppc64-abiversion.s
ppc64-encoding-4xx.s [PowerPC] Enable printing instructions using aliases 2015-04-23 18:30:38 +00:00
ppc64-encoding-6xx.s [PowerPC] Enable printing instructions using aliases 2015-04-23 18:30:38 +00:00
ppc64-encoding-bookII.s [PowerPC] Use sync inst alias when printing 2015-04-23 23:05:08 +00:00
ppc64-encoding-bookIII.s [PowerPC] Enable printing instructions using aliases 2015-04-23 18:30:38 +00:00
ppc64-encoding-e500.s
ppc64-encoding-ext.s [PowerPC] Enable printing instructions using aliases 2015-04-23 18:30:38 +00:00
ppc64-encoding-fp.s [PowerPC] Enable printing instructions using aliases 2015-04-23 18:30:38 +00:00
ppc64-encoding-p8vector.s [PPC64] Add vector pack/unpack support from ISA 2.07 2015-05-16 01:02:12 +00:00
ppc64-encoding-spe.s
ppc64-encoding-vmx.s
ppc64-encoding.s [PowerPC] Enable printing instructions using aliases 2015-04-23 18:30:38 +00:00
ppc64-errors.s
ppc64-fixup-apply.s
ppc64-fixup-explicit.s
ppc64-fixups.s
ppc64-initial-cfa.s Use CIE version 1 for .eh_frame. 2015-04-27 22:04:24 +00:00
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
qpx.s [PowerPC] Support register name prefixes for vector registers 2015-04-23 23:16:22 +00:00
tls-gd-obj.s
tls-ie-obj.s
tls-ld-obj.s
vsx.s Add VSX Scalar loads and stores to the PPC back end 2015-05-07 18:24:05 +00:00