]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/i386/xsave.s
Imported binutils-2.20
[msp430-binutils.git] / gas / testsuite / gas / i386 / xsave.s
diff --git a/gas/testsuite/gas/i386/xsave.s b/gas/testsuite/gas/i386/xsave.s
new file mode 100644 (file)
index 0000000..5ed3ca5
--- /dev/null
@@ -0,0 +1,11 @@
+# Check xsave/xrstor
+       .text
+_start:
+       xrstor          (%ebx)
+       xsave           (%ebx)
+       xgetbv
+       xsetbv
+
+       .intel_syntax noprefix
+       xrstor          [ecx]
+       xsave           [ecx]