[X86][MMX] Added shuffle decodes for MMX/3DNow! shuffles.
[oota-llvm.git] / lib / Target / X86 / Utils / X86ShuffleDecode.h
index 47a335d814107fea272197ed609d5448bf2ab1c6..81f8c5dc9ab0e0ab39ef27bb55faf49e69ab6b53 100644 (file)
@@ -54,6 +54,9 @@ void DecodePSHUFHWMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask);
 
 void DecodePSHUFLWMask(MVT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask);
 
+/// \brief Decodes a PSWAPD 3DNow! instruction.
+void DecodePSWAPMask(MVT VT, SmallVectorImpl<int> &ShuffleMask);
+
 /// DecodeSHUFPMask - This decodes the shuffle masks for shufp*. VT indicates
 /// the type of the vector allowing it to handle different datatypes and vector
 /// widths.