summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-01-09 06:38:55 +0000
committerCraig Topper <craig.topper@gmail.com>2012-01-09 06:38:55 +0000
commitc1f5622ad3fc3e0fce1ee8266bb7b4a3fb12b570 (patch)
tree94d3fbd23267732ae83e133037b142ded057089d /llvm/lib
parenta081644f8a45272499d34b5b7cbdef1a453a9eb1 (diff)
downloadbcm5719-llvm-c1f5622ad3fc3e0fce1ee8266bb7b4a3fb12b570.tar.gz
bcm5719-llvm-c1f5622ad3fc3e0fce1ee8266bb7b4a3fb12b570.zip
Mark MOVNTI as being supported in SSE2 OR AVX mode. This instruction has no AVX equivalent so we should use the SSE version.
llvm-svn: 147766
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86InstrSSE.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86InstrSSE.td b/llvm/lib/Target/X86/X86InstrSSE.td
index fcca32593c3..668de242827 100644
--- a/llvm/lib/Target/X86/X86InstrSSE.td
+++ b/llvm/lib/Target/X86/X86InstrSSE.td
@@ -3304,11 +3304,11 @@ def : Pat<(alignednontemporalstore (v2i64 VR128:$src), addr:$dst),
def MOVNTImr : I<0xC3, MRMDestMem, (outs), (ins i32mem:$dst, GR32:$src),
"movnti{l}\t{$src, $dst|$dst, $src}",
[(nontemporalstore (i32 GR32:$src), addr:$dst)]>,
- TB, Requires<[HasSSE2]>;
+ TB, Requires<[HasXMMInt]>;
def MOVNTI_64mr : RI<0xC3, MRMDestMem, (outs), (ins i64mem:$dst, GR64:$src),
"movnti{q}\t{$src, $dst|$dst, $src}",
[(nontemporalstore (i64 GR64:$src), addr:$dst)]>,
- TB, Requires<[HasSSE2]>;
+ TB, Requires<[HasXMMInt]>;
}
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud