aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-10-05 19:04:06 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-10-05 19:04:06 +0000
commit47dd174cba6c3e3cba9f18e8688d14176b66cc86 (patch)
tree946040060aa9d9ed7fa526267544ac5589c8e0fd /gas
parent768a5a741d04aa33e90ae03c941e230b9016bfec (diff)
downloadfsf-binutils-gdb-47dd174cba6c3e3cba9f18e8688d14176b66cc86.zip
fsf-binutils-gdb-47dd174cba6c3e3cba9f18e8688d14176b66cc86.tar.gz
fsf-binutils-gdb-47dd174cba6c3e3cba9f18e8688d14176b66cc86.tar.bz2
gas/testsuite/
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. opcodes/ 2007-10-05 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (dis386_twobyte): Add getsec. * i386-gen.c (cpu_flags): Add CpuSMX. * i386-opc.h (CpuSMX): New. (CpuSSSE3): Updated. (i386_cpu_flags): Add cpusmx. * i386-opc.tbl: Add getsec. * i386-init.h: Regenerated. * i386-tbl.h: Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gas/i386/i386.exp1
-rw-r--r--gas/testsuite/gas/i386/smx.d10
-rw-r--r--gas/testsuite/gas/i386/smx.s5
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