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

Evan Cheng evan.cheng at apple.com
Fri Mar 24 17:32:12 PST 2006



Changes in directory llvm/lib/Target/X86:

X86InstrMMX.td updated: 1.7 -> 1.8
---
Log message:

Added CVTTPS2PI.


---
Diffs of the changes:  (+8 -0)

 X86InstrMMX.td |    8 ++++++++
 1 files changed, 8 insertions(+)


Index: llvm/lib/Target/X86/X86InstrMMX.td
diff -u llvm/lib/Target/X86/X86InstrMMX.td:1.7 llvm/lib/Target/X86/X86InstrMMX.td:1.8
--- llvm/lib/Target/X86/X86InstrMMX.td:1.7	Tue Mar 21 17:04:23 2006
+++ llvm/lib/Target/X86/X86InstrMMX.td	Fri Mar 24 19:31:59 2006
@@ -42,3 +42,11 @@
 def MOVQ64mr : I<0x7F, MRMDestMem, (ops i64mem:$dst, VR64:$src),
                  "movq {$src, $dst|$dst, $src}", []>, TB,
                Requires<[HasMMX]>;
+
+// Conversion instructions
+def CVTTPS2PIrr: I<0x2C, MRMSrcReg, (ops VR64:$dst, VR128:$src),
+                   "cvttps2pi {$src, $dst|$dst, $src}", []>, TB,
+                 Requires<[HasSSE2]>;
+def CVTTPS2PIrm: I<0x2C, MRMSrcReg, (ops VR64:$dst, f64mem:$src),
+                   "cvttps2pi {$src, $dst|$dst, $src}", []>, TB,
+                 Requires<[HasMMX]>;






More information about the llvm-commits mailing list