ldmxcsr and stmxcsr.
authorEvan Cheng <evan.cheng@apple.com>
Sat, 8 Apr 2006 00:47:44 +0000 (00:47 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 8 Apr 2006 00:47:44 +0000 (00:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27506 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrSSE.td

index f279c7b47f7e76b830c7f907fedb4ca5fe83b378..c2dbeb5d95b96dc5121f13b1db65589035508d88 100644 (file)
@@ -1538,9 +1538,13 @@ def MASKMOVQ : I<0xF7, MRMDestMem, (ops i64mem:$dst, VR64:$src),
 def SFENCE : I<0xAE, MRM7m, (ops),
                "sfence", []>, TB, Requires<[HasSSE1]>;
 
-// Load MXCSR register
+// MXCSR register
 def LDMXCSR : I<0xAE, MRM2m, (ops i32mem:$src),
-                "ldmxcsr {$src|$src}", []>, TB, Requires<[HasSSE1]>;
+                "ldmxcsr $src",
+                [(int_x86_sse_ldmxcsr addr:$src)]>, TB, Requires<[HasSSE1]>;
+def STMXCSR : I<0xAE, MRM3m, (ops i32mem:$dst),
+                "stmxcsr $dst",
+                [(int_x86_sse_stmxcsr addr:$dst)]>, TB, Requires<[HasSSE1]>;
 
 //===----------------------------------------------------------------------===//
 // Alias Instructions