[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrSSE.td
Evan Cheng
evan.cheng at apple.com
Wed Mar 22 18:36:49 PST 2006
Changes in directory llvm/lib/Target/X86:
X86InstrSSE.td updated: 1.19 -> 1.20
---
Log message:
Add v4i32 <-> v4f32 bitconvert patterns.
---
Diffs of the changes: (+4 -0)
X86InstrSSE.td | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/lib/Target/X86/X86InstrSSE.td
diff -u llvm/lib/Target/X86/X86InstrSSE.td:1.19 llvm/lib/Target/X86/X86InstrSSE.td:1.20
--- llvm/lib/Target/X86/X86InstrSSE.td:1.19 Wed Mar 22 19:57:24 2006
+++ llvm/lib/Target/X86/X86InstrSSE.td Wed Mar 22 20:36:37 2006
@@ -871,3 +871,7 @@
def : Pat<(vector_shuffle (v4i32 VR128:$src), (undef), PSHUFD_shuffle_mask:$sm),
(v4i32 (PSHUFDrr VR128:$src, PSHUFD_shuffle_mask:$sm))>,
Requires<[HasSSE2]>;
+
+// bit_convert
+def : Pat<(v4i32 (bitconvert (v4f32 VR128:$src))), (v4i32 VR128:$src)>;
+def : Pat<(v4f32 (bitconvert (v4i32 VR128:$src))), (v4f32 VR128:$src)>;
More information about the llvm-commits
mailing list