]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/i386/x86-64-xsave-intel.d
Imported binutils-2.20
[msp430-binutils.git] / gas / testsuite / gas / i386 / x86-64-xsave-intel.d
diff --git a/gas/testsuite/gas/i386/x86-64-xsave-intel.d b/gas/testsuite/gas/i386/x86-64-xsave-intel.d
new file mode 100644 (file)
index 0000000..4659a2e
--- /dev/null
@@ -0,0 +1,17 @@
+#source: x86-64-xsave.s
+#as: -J
+#objdump: -dw -Mintel
+#name: x86-64 xsave (Intel mode)
+
+.*: +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