diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2008-02-12 18:56:12 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2008-02-12 18:56:12 +0000 |
commit | e8efc4d9fd94e07a7922ef7258e66f7a11dee1a1 (patch) | |
tree | 493e9221c78140706da8789e990b51b27144d693 /gas/testsuite | |
parent | 4b6bc8ebeb91748e66c73c0eb9401e53dfd0c0ba (diff) | |
download | gdb-e8efc4d9fd94e07a7922ef7258e66f7a11dee1a1.zip gdb-e8efc4d9fd94e07a7922ef7258e66f7a11dee1a1.tar.gz gdb-e8efc4d9fd94e07a7922ef7258e66f7a11dee1a1.tar.bz2 |
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.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 10 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/i386.exp | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/x86-64-arch-2.d (renamed from gas/testsuite/gas/i386/x86-64-arch-10.d) | 3 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/x86-64-arch-2.s | 38 |
4 files changed, 50 insertions, 3 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 5e2c4b6..9ab45eb 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -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. diff --git a/gas/testsuite/gas/i386/i386.exp b/gas/testsuite/gas/i386/i386.exp index 8ccb567..9af66b8 100644 --- a/gas/testsuite/gas/i386/i386.exp +++ b/gas/testsuite/gas/i386/i386.exp @@ -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-2.d index dd4689d..235b627 100644 --- a/gas/testsuite/gas/i386/x86-64-arch-10.d +++ b/gas/testsuite/gas/i386/x86-64-arch-2.d @@ -1,7 +1,6 @@ -#source: arch-10.s #as: -march=generic64+sse4+vmx+smx+xsave+sse5+3dnowa+svme+padlock #objdump: -dw -#name: x86-64 arch 10 +#name: x86-64 arch 2 .*: file format .* 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 index 0000000..e5e799d --- /dev/null +++ b/gas/testsuite/gas/i386/x86-64-arch-2.s @@ -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 |