2002-02-12 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 12 Feb 2008 18:56:12 +0000 (18:56 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 12 Feb 2008 18:56:12 +0000 (18:56 +0000)
* 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.

gas/testsuite/ChangeLog
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/x86-64-arch-10.d [deleted file]
gas/testsuite/gas/i386/x86-64-arch-2.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-arch-2.s [new file with mode: 0644]

index 5e2c4b61cb18acb960b6c31595dfa2a27eba10c0..9ab45eb99dddff04d0a6ba4f17d6f5f12bcbc782 100644 (file)
@@ -1,3 +1,13 @@
+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.
index 8ccb567e3f52c15bf7f8f10458442d22ffc7b97c..9af66b8ae219f15c04373f9e25029e782e9cb3e3 100644 (file)
@@ -227,7 +227,7 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check]] t
     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"
 
diff --git a/gas/testsuite/gas/i386/x86-64-arch-10.d b/gas/testsuite/gas/i386/x86-64-arch-10.d
deleted file mode 100644 (file)
index dd4689d..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#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
diff --git a/gas/testsuite/gas/i386/x86-64-arch-2.d b/gas/testsuite/gas/i386/x86-64-arch-2.d
new file mode 100644 (file)
index 0000000..235b627
--- /dev/null
@@ -0,0 +1,28 @@
+#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
diff --git a/gas/testsuite/gas/i386/x86-64-arch-2.s b/gas/testsuite/gas/i386/x86-64-arch-2.s
new file mode 100644 (file)
index 0000000..e5e799d
--- /dev/null
@@ -0,0 +1,38 @@
+# 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