projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[X86][MMX] Added shuffle decodes for MMX/3DNow! shuffles.
[oota-llvm.git]
/
lib
/
Target
/
X86
/
Utils
/
X86ShuffleDecode.h
diff --git
a/lib/Target/X86/Utils/X86ShuffleDecode.h
b/lib/Target/X86/Utils/X86ShuffleDecode.h
index 47a335d814107fea272197ed609d5448bf2ab1c6..81f8c5dc9ab0e0ab39ef27bb55faf49e69ab6b53 100644
(file)
--- a/
lib/Target/X86/Utils/X86ShuffleDecode.h
+++ b/
lib/Target/X86/Utils/X86ShuffleDecode.h
@@
-54,6
+54,9
@@
void DecodePSHUFHWMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask);
void DecodePSHUFLWMask(MVT, 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.
/// DecodeSHUFPMask - This decodes the shuffle masks for shufp*. VT indicates
/// the type of the vector allowing it to handle different datatypes and vector
/// widths.