]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/i386/x86-64-xsave.d
Imported binutils-2.20
[msp430-binutils.git] / gas / testsuite / gas / i386 / x86-64-xsave.d
diff --git a/gas/testsuite/gas/i386/x86-64-xsave.d b/gas/testsuite/gas/i386/x86-64-xsave.d
new file mode 100644 (file)
index 0000000..cf07cda
--- /dev/null
@@ -0,0 +1,15 @@
+#objdump: -dw
+#name: x86-64 xsave
+
+.*: +file format .*
+
+Disassembly of section .text:
+
+0+ <_start>:
+[      ]*[a-f0-9]+:    41 0f ae 29             xrstor \(%r9\)
+[      ]*[a-f0-9]+:    41 0f ae 21             xsave  \(%r9\)
+[      ]*[a-f0-9]+:    0f 01 d0                xgetbv 
+[      ]*[a-f0-9]+:    0f 01 d1                xsetbv 
+[      ]*[a-f0-9]+:    0f ae 29                xrstor \(%rcx\)
+[      ]*[a-f0-9]+:    0f ae 21                xsave  \(%rcx\)
+#pass