OSDN Git Service

Merge branch 'binutils' into tmp
[pf3gnuchains/pf3gnuchains4x.git] / gas / testsuite / gas / i386 / rdrnd.s
diff --git a/gas/testsuite/gas/i386/rdrnd.s b/gas/testsuite/gas/i386/rdrnd.s
new file mode 100644 (file)
index 0000000..7fc0fdf
--- /dev/null
@@ -0,0 +1,10 @@
+# Check RdRnd new instructions.
+
+       .text
+foo:
+       rdrand %bx
+       rdrand %ebx
+
+       .intel_syntax noprefix
+       rdrand bx
+       rdrand ebx