diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-09-26 21:26:30 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-09-26 21:26:30 +0000 |
commit | c739489c1989a9610485fbde9dcd6c99b91494c0 (patch) | |
tree | e892f8add48c97e6c3c958bcc1900b9dcdb7c4b4 /lib/Target/X86/X86InstrSSE.td | |
parent | 0526778ab73922f18257c670c23a5f93a2ced32e (diff) |
unpckhps requires sse1, punpckhdq requires sse2.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56697 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrSSE.td')
-rw-r--r-- | lib/Target/X86/X86InstrSSE.td | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/X86/X86InstrSSE.td b/lib/Target/X86/X86InstrSSE.td index f9de8e7475..af7694a1ee 100644 --- a/lib/Target/X86/X86InstrSSE.td +++ b/lib/Target/X86/X86InstrSSE.td @@ -2945,7 +2945,7 @@ def : Pat<(v2i64 (vector_shuffle VR128:$src1, (undef), let AddedComplexity = 10 in { def : Pat<(v4f32 (vector_shuffle VR128:$src, (undef), UNPCKL_v_undef_shuffle_mask)), - (UNPCKLPSrr VR128:$src, VR128:$src)>, Requires<[HasSSE2]>; + (UNPCKLPSrr VR128:$src, VR128:$src)>, Requires<[HasSSE1]>; def : Pat<(v16i8 (vector_shuffle VR128:$src, (undef), UNPCKL_v_undef_shuffle_mask)), (PUNPCKLBWrr VR128:$src, VR128:$src)>, Requires<[HasSSE2]>; @@ -2954,14 +2954,14 @@ def : Pat<(v8i16 (vector_shuffle VR128:$src, (undef), (PUNPCKLWDrr VR128:$src, VR128:$src)>, Requires<[HasSSE2]>; def : Pat<(v4i32 (vector_shuffle VR128:$src, (undef), UNPCKL_v_undef_shuffle_mask)), - (PUNPCKLDQrr VR128:$src, VR128:$src)>, Requires<[HasSSE1]>; + (PUNPCKLDQrr VR128:$src, VR128:$src)>, Requires<[HasSSE2]>; } // vector_shuffle v1, <undef>, <2, 2, 3, 3, ...> let AddedComplexity = 10 in { def : Pat<(v4f32 (vector_shuffle VR128:$src, (undef), UNPCKH_v_undef_shuffle_mask)), - (UNPCKHPSrr VR128:$src, VR128:$src)>, Requires<[HasSSE2]>; + (UNPCKHPSrr VR128:$src, VR128:$src)>, Requires<[HasSSE1]>; def : Pat<(v16i8 (vector_shuffle VR128:$src, (undef), UNPCKH_v_undef_shuffle_mask)), (PUNPCKHBWrr VR128:$src, VR128:$src)>, Requires<[HasSSE2]>; @@ -2970,7 +2970,7 @@ def : Pat<(v8i16 (vector_shuffle VR128:$src, (undef), (PUNPCKHWDrr VR128:$src, VR128:$src)>, Requires<[HasSSE2]>; def : Pat<(v4i32 (vector_shuffle VR128:$src, (undef), UNPCKH_v_undef_shuffle_mask)), - (PUNPCKHDQrr VR128:$src, VR128:$src)>, Requires<[HasSSE1]>; + (PUNPCKHDQrr VR128:$src, VR128:$src)>, Requires<[HasSSE2]>; } let AddedComplexity = 15 in { |