+2002-02-12 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gas/i386/i386.exp: Run x86-64-arch-2 instead of
+ x86-64-arch-10.
+
+ * gas/i386/x86-64-arch-10.d: Removed.
+
+ * gas/i386/x86-64-arch-2.d: New.
+ * gas/i386/x86-64-arch-2.s: Likewise.
+
2008-02-12 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/x86-64-xsave.d: Remove prefix.
run_dump_test "x86-64-opcode-inval-intel"
run_dump_test "rexw"
run_dump_test "x86-64-arch-1"
- run_dump_test "x86-64-arch-10"
+ run_dump_test "x86-64-arch-2"
run_dump_test "x86-64-xsave"
run_dump_test "x86-64-xsave-intel"
+++ /dev/null
-#source: arch-10.s
-#as: -march=generic64+sse4+vmx+smx+xsave+sse5+3dnowa+svme+padlock
-#objdump: -dw
-#name: x86-64 arch 10
-
-.*: file format .*
-
-Disassembly of section .text:
-
-0+ <.text>:
-[ ]*[a-f0-9]+: 0f 44 d8 cmove %eax,%ebx
-[ ]*[a-f0-9]+: 0f fc dc paddb %mm4,%mm3
-[ ]*[a-f0-9]+: f3 0f 58 dc addss %xmm4,%xmm3
-[ ]*[a-f0-9]+: f2 0f 58 dc addsd %xmm4,%xmm3
-[ ]*[a-f0-9]+: 66 0f d0 dc addsubpd %xmm4,%xmm3
-[ ]*[a-f0-9]+: 66 0f 38 01 dc phaddw %xmm4,%xmm3
-[ ]*[a-f0-9]+: 66 0f 38 41 d9 phminposuw %xmm1,%xmm3
-[ ]*[a-f0-9]+: f2 0f 38 f1 d9 crc32l %ecx,%ebx
-[ ]*[a-f0-9]+: 0f 01 c4 vmxoff
-[ ]*[a-f0-9]+: 0f 37 getsec
-[ ]*[a-f0-9]+: 0f 01 d0 xgetbv
-[ ]*[a-f0-9]+: 0f 0f dc b7 pmulhrw %mm4,%mm3
-[ ]*[a-f0-9]+: 0f 0f dc bb pswapd %mm4,%mm3
-[ ]*[a-f0-9]+: f2 0f 79 ca insertq %xmm2,%xmm1
-[ ]*[a-f0-9]+: 0f 01 da vmload
-[ ]*[a-f0-9]+: f3 0f bd d9 lzcnt %ecx,%ebx
-[ ]*[a-f0-9]+: 0f 7a 12 ca frczss %xmm2,%xmm1
-[ ]*[a-f0-9]+: 0f a7 c0 xstore-rng
-#pass
--- /dev/null
+#as: -march=generic64+sse4+vmx+smx+xsave+sse5+3dnowa+svme+padlock
+#objdump: -dw
+#name: x86-64 arch 2
+
+.*: file format .*
+
+Disassembly of section .text:
+
+0+ <.text>:
+[ ]*[a-f0-9]+: 0f 44 d8 cmove %eax,%ebx
+[ ]*[a-f0-9]+: 0f fc dc paddb %mm4,%mm3
+[ ]*[a-f0-9]+: f3 0f 58 dc addss %xmm4,%xmm3
+[ ]*[a-f0-9]+: f2 0f 58 dc addsd %xmm4,%xmm3
+[ ]*[a-f0-9]+: 66 0f d0 dc addsubpd %xmm4,%xmm3
+[ ]*[a-f0-9]+: 66 0f 38 01 dc phaddw %xmm4,%xmm3
+[ ]*[a-f0-9]+: 66 0f 38 41 d9 phminposuw %xmm1,%xmm3
+[ ]*[a-f0-9]+: f2 0f 38 f1 d9 crc32l %ecx,%ebx
+[ ]*[a-f0-9]+: 0f 01 c4 vmxoff
+[ ]*[a-f0-9]+: 0f 37 getsec
+[ ]*[a-f0-9]+: 0f 01 d0 xgetbv
+[ ]*[a-f0-9]+: 0f 0f dc b7 pmulhrw %mm4,%mm3
+[ ]*[a-f0-9]+: 0f 0f dc bb pswapd %mm4,%mm3
+[ ]*[a-f0-9]+: f2 0f 79 ca insertq %xmm2,%xmm1
+[ ]*[a-f0-9]+: 0f 01 da vmload
+[ ]*[a-f0-9]+: f3 0f bd d9 lzcnt %ecx,%ebx
+[ ]*[a-f0-9]+: 0f 7a 12 ca frczss %xmm2,%xmm1
+[ ]*[a-f0-9]+: 0f a7 c0 xstore-rng
+#pass
--- /dev/null
+# Test -march=
+ .text
+# cmov feature
+cmove %eax,%ebx
+# MMX
+paddb %mm4,%mm3
+# SSE
+addss %xmm4,%xmm3
+# SSE2
+addsd %xmm4,%xmm3
+# SSE3
+addsubpd %xmm4,%xmm3
+# SSSE3
+phaddw %xmm4,%xmm3
+# SSE4.1
+phminposuw %xmm1,%xmm3
+# SSE4.2
+crc32 %ecx,%ebx
+# VMX
+vmxoff
+# SMX
+getsec
+# Xsave
+xgetbv
+# 3DNow
+pmulhrw %mm4,%mm3
+# 3DNow Extensions
+pswapd %mm4,%mm3
+# SSE4a
+insertq %xmm2,%xmm1
+# SVME
+vmload
+# ABM
+lzcnt %ecx,%ebx
+# SSE5
+frczss %xmm2, %xmm1
+# PadLock
+xstorerng