add the vperm instruction
authorChris Lattner <sabre@nondot.org>
Mon, 20 Mar 2006 01:00:56 +0000 (01:00 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 20 Mar 2006 01:00:56 +0000 (01:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26883 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCInstrInfo.td

index cfaeb8a98960823cdb6545806aeccd06bbec1409..a7899c8038efc089fc274a664fc64564f74afcc8 100644 (file)
@@ -955,6 +955,10 @@ def VNMSUBFP: VAForm_1<47, (ops VRRC:$vD, VRRC:$vA, VRRC:$vB, VRRC:$vC),
                                                   VRRC:$vB)))]>,
                        Requires<[FPContractions]>;
 
+def VPERM   : VAForm_1<43, (ops VRRC:$vD, VRRC:$vA, VRRC:$vB, VRRC:$vC),
+                       "vperm $vD, $vA, $vC, $vB", VecFP, []>;
+
+
 // VX-Form instructions.  AltiVec arithmetic ops.
 def VADDFP : VXForm_1<10, (ops VRRC:$vD, VRRC:$vA, VRRC:$vB),
                       "vaddfp $vD, $vA, $vB", VecFP,