[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrMMX.td

Bill Wendling isanbard at gmail.com
Mon Mar 5 15:10:07 PST 2007



Changes in directory llvm/lib/Target/X86:

X86InstrMMX.td updated: 1.13 -> 1.14
---
Log message:

Add the emms intrinsic for MMX support.


---
Diffs of the changes:  (+4 -1)

 X86InstrMMX.td |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)


Index: llvm/lib/Target/X86/X86InstrMMX.td
diff -u llvm/lib/Target/X86/X86InstrMMX.td:1.13 llvm/lib/Target/X86/X86InstrMMX.td:1.14
--- llvm/lib/Target/X86/X86InstrMMX.td:1.13	Tue Jul 18 19:27:29 2006
+++ llvm/lib/Target/X86/X86InstrMMX.td	Mon Mar  5 17:09:45 2007
@@ -33,6 +33,10 @@
 def : Pat<(v4i16 (undef)), (IMPLICIT_DEF_VR64)>,  Requires<[HasMMX]>;
 def : Pat<(v2i32 (undef)), (IMPLICIT_DEF_VR64)>,  Requires<[HasMMX]>;
 
+// EMMS
+def EMMS : I<0x77, RawFrm, (ops), "emms", [(int_x86_mmx_emms)]>, TB,
+           Requires<[HasMMX]>;
+
 // Move Instructions
 def MOVD64rr : I<0x6E, MRMSrcReg, (ops VR64:$dst, GR32:$src),
                  "movd {$src, $dst|$dst, $src}", []>, TB,
@@ -94,4 +98,3 @@
 def MASKMOVQ : I<0xF7, MRMDestMem, (ops VR64:$src, VR64:$mask),
                  "maskmovq {$mask, $src|$src, $mask}", []>, TB,
                Requires<[HasMMX]>;
-






More information about the llvm-commits mailing list