diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/i386.exp | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/smx.d | 10 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/smx.s | 5 |
4 files changed, 23 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index dbf13ee..bb872ae 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2007-10-05 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/i386.exp: Run smx. + + * gas/i386/smx.d: New. + * gas/i386/smx.s: Likewise. + 2007-10-04 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/simd.s: Add tests for unpckhpd and unpckhps. diff --git a/gas/testsuite/gas/i386/i386.exp b/gas/testsuite/gas/i386/i386.exp index 584d315..68dddcd 100644 --- a/gas/testsuite/gas/i386/i386.exp +++ b/gas/testsuite/gas/i386/i386.exp @@ -48,6 +48,7 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_32_check]] run_dump_test "sib" run_dump_test "sib-intel" run_dump_test "vmx" + run_dump_test "smx" run_dump_test "suffix" run_dump_test "immed32" run_dump_test "equ" diff --git a/gas/testsuite/gas/i386/smx.d b/gas/testsuite/gas/i386/smx.d new file mode 100644 index 0000000..c0546f9 --- /dev/null +++ b/gas/testsuite/gas/i386/smx.d @@ -0,0 +1,10 @@ +#objdump: -dw +#name: i386 SMX + +.*: +file format .* + +Disassembly of section .text: + +0+000 <foo>: +[ ]*[a-f0-9]+: 0f 37 getsec +#pass diff --git a/gas/testsuite/gas/i386/smx.s b/gas/testsuite/gas/i386/smx.s new file mode 100644 index 0000000..40697c7 --- /dev/null +++ b/gas/testsuite/gas/i386/smx.s @@ -0,0 +1,5 @@ +# SMX Instructions + + .text +foo: + getsec |