From e8efc4d9fd94e07a7922ef7258e66f7a11dee1a1 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 12 Feb 2008 18:56:12 +0000 Subject: [PATCH] 2002-02-12 H.J. Lu * 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 | 10 +++++ gas/testsuite/gas/i386/i386.exp | 2 +- .../{x86-64-arch-10.d => x86-64-arch-2.d} | 3 +- gas/testsuite/gas/i386/x86-64-arch-2.s | 38 +++++++++++++++++++ 4 files changed, 50 insertions(+), 3 deletions(-) rename gas/testsuite/gas/i386/{x86-64-arch-10.d => x86-64-arch-2.d} (96%) create mode 100644 gas/testsuite/gas/i386/x86-64-arch-2.s diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 5e2c4b61cb1..9ab45eb99dd 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2002-02-12 H.J. Lu + + * 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 * 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 8ccb567e3f5..9af66b8ae21 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 similarity index 96% rename from gas/testsuite/gas/i386/x86-64-arch-10.d rename to gas/testsuite/gas/i386/x86-64-arch-2.d index dd4689d06a5..235b627ed47 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 00000000000..e5e799d5842 --- /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 -- 2.30.2