From 372db540d94bd8604a66e99abbd6c4eb065bad16 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Sat, 8 Apr 2006 00:47:44 +0000 Subject: [PATCH] ldmxcsr and stmxcsr. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27506 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86InstrSSE.td | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/Target/X86/X86InstrSSE.td b/lib/Target/X86/X86InstrSSE.td index f279c7b47f7..c2dbeb5d95b 100644 --- a/lib/Target/X86/X86InstrSSE.td +++ b/lib/Target/X86/X86InstrSSE.td @@ -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 -- 2.34.1