From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by sourceware.org (Postfix) with ESMTPS id 90BCD3945C09 for ; Mon, 15 Feb 2021 13:37:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 90BCD3945C09 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id AFB76ADF0; Mon, 15 Feb 2021 13:37:13 +0000 (UTC) Subject: [PATCH 1/4] x86: make common property tests common To: Binutils References: <5b09d5f3-b832-78c8-07e1-202f27a56ca3@suse.com> From: Jan Beulich Message-ID: <71135e09-ee9d-4736-77a3-6255440459fc@suse.com> Date: Mon, 15 Feb 2021 14:37:17 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <5b09d5f3-b832-78c8-07e1-202f27a56ca3@suse.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3033.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2021 13:37:16 -0000 There's no need to run the exact same test twice. Move the tests which don't differ between 32- and 64-bit to the "Common tests" section. gas/ 2021-02-XX Jan Beulich * testsuite/gas/i386/i386.exp: Move bitness-independent property tests to bitness independent section. * testsuite/gas/i386/x86-64-property-2.d, testsuite/gas/i386/x86-64-property-3.d, testsuite/gas/i386/x86-64-property-4.d, testsuite/gas/i386/x86-64-property-5.d, testsuite/gas/i386/x86-64-property-6.d, testsuite/gas/i386/x86-64-property-10.d, testsuite/gas/i386/x86-64-property-11.d, testsuite/gas/i386/x86-64-property-12.d, testsuite/gas/i386/x86-64-property-13.d: Delete. --- a/gas/testsuite/gas/i386/i386.exp +++ b/gas/testsuite/gas/i386/i386.exp @@ -655,15 +655,6 @@ if [gas_32_check] then { run_dump_test "unique" run_dump_test "property-1" - run_dump_test "property-2" - run_dump_test "property-3" - run_dump_test "property-4" - run_dump_test "property-5" - run_dump_test "property-6" - run_dump_test "property-10" - run_dump_test "property-11" - run_dump_test "property-12" - run_dump_test "property-13" if {[istarget "*-*-linux*"]} then { run_dump_test "align-branch-3" @@ -725,6 +716,16 @@ if {[is_elf_format] || [istarget "*-*-vx run_dump_test "dw2-compressed-3a" run_dump_test "dw2-compressed-3b" + run_dump_test "property-2" + run_dump_test "property-3" + run_dump_test "property-4" + run_dump_test "property-5" + run_dump_test "property-6" + run_dump_test "property-10" + run_dump_test "property-11" + run_dump_test "property-12" + run_dump_test "property-13" + if {![istarget "*-*-dragonfly*"] && ![istarget "*-*-gnu*"] && ![istarget "*-*-freebsd*"] @@ -1274,18 +1275,9 @@ if [gas_64_check] then { run_dump_test "x86-64-unique" run_dump_test "x86-64-property-1" - run_dump_test "x86-64-property-2" - run_dump_test "x86-64-property-3" - run_dump_test "x86-64-property-4" - run_dump_test "x86-64-property-5" - run_dump_test "x86-64-property-6" run_dump_test "x86-64-property-7" run_dump_test "x86-64-property-8" run_dump_test "x86-64-property-9" - run_dump_test "x86-64-property-10" - run_dump_test "x86-64-property-11" - run_dump_test "x86-64-property-12" - run_dump_test "x86-64-property-13" run_dump_test "x86-64-property-14" if {[istarget "*-*-linux*"]} then { --- a/gas/testsuite/gas/i386/x86-64-property-2.d +++ /dev/null @@ -1,10 +0,0 @@ -#name: x86-64 property 2 -#source: property-2.s -#as: -mx86-used-note=yes --generate-missing-build-notes=no -#readelf: -n - -Displaying notes found in: .note.gnu.property -[ ]+Owner[ ]+Data size[ ]+Description - GNU 0x[0-9a-f]+ NT_GNU_PROPERTY_TYPE_0 - Properties: x86 ISA used: x86-64-baseline - x86 feature used: x86 --- a/gas/testsuite/gas/i386/x86-64-property-3.d +++ /dev/null @@ -1,10 +0,0 @@ -#name: x86-64 property 3 -#source: property-3.s -#as: -mx86-used-note=yes --generate-missing-build-notes=no -#readelf: -n - -Displaying notes found in: .note.gnu.property -[ ]+Owner[ ]+Data size[ ]+Description - GNU 0x[0-9a-f]+ NT_GNU_PROPERTY_TYPE_0 - Properties: x86 ISA used: x86-64-baseline, x86-64-v2 - x86 feature used: x86, XMM --- a/gas/testsuite/gas/i386/x86-64-property-4.d +++ /dev/null @@ -1,10 +0,0 @@ -#name: x86-64 property 4 -#source: property-4.s -#as: -mx86-used-note=yes --generate-missing-build-notes=no -#readelf: -n - -Displaying notes found in: .note.gnu.property -[ ]+Owner[ ]+Data size[ ]+Description - GNU 0x[0-9a-f]+ NT_GNU_PROPERTY_TYPE_0 - Properties: x86 ISA used: x86-64-baseline, x86-64-v3 - x86 feature used: x86, XMM --- a/gas/testsuite/gas/i386/x86-64-property-5.d +++ /dev/null @@ -1,10 +0,0 @@ -#name: x86-64 property 5 -#source: property-5.s -#as: -mx86-used-note=yes --generate-missing-build-notes=no -#readelf: -n - -Displaying notes found in: .note.gnu.property -[ ]+Owner[ ]+Data size[ ]+Description - GNU 0x[0-9a-f]+ NT_GNU_PROPERTY_TYPE_0 - Properties: x86 ISA used: x86-64-baseline, x86-64-v4 - x86 feature used: x86, XMM --- a/gas/testsuite/gas/i386/x86-64-property-6.d +++ /dev/null @@ -1,10 +0,0 @@ -#name: x86-64 property 6 -#source: property-6.s -#as: -mx86-used-note=yes --generate-missing-build-notes=no -#readelf: -n - -Displaying notes found in: .note.gnu.property -[ ]+Owner[ ]+Data size[ ]+Description - GNU 0x[0-9a-f]+ NT_GNU_PROPERTY_TYPE_0 - Properties: x86 ISA used: x86-64-baseline, x86-64-v4 - x86 feature used: x86, MASK --- a/gas/testsuite/gas/i386/x86-64-property-10.d +++ /dev/null @@ -1,10 +0,0 @@ -#name: x86-64 property 10 -#source: property-10.s -#as: -mx86-used-note=yes --generate-missing-build-notes=no -#readelf: -n - -Displaying notes found in: .note.gnu.property -[ ]+Owner[ ]+Data size[ ]+Description - GNU 0x[0-9a-f]+ NT_GNU_PROPERTY_TYPE_0 - Properties: x86 ISA used: x86-64-baseline - x86 feature used: x86, XMM --- a/gas/testsuite/gas/i386/x86-64-property-11.d +++ /dev/null @@ -1,10 +0,0 @@ -#name: x86-64 property 11 -#source: property-11.s -#as: -mx86-used-note=yes --generate-missing-build-notes=no -#readelf: -n - -Displaying notes found in: .note.gnu.property -[ ]+Owner[ ]+Data size[ ]+Description - GNU 0x[0-9a-f]+ NT_GNU_PROPERTY_TYPE_0 - Properties: x86 ISA used: x86-64-baseline, x86-64-v3 - x86 feature used: x86, XMM --- a/gas/testsuite/gas/i386/x86-64-property-12.d +++ /dev/null @@ -1,10 +0,0 @@ -#name: x86-64 property 12 -#source: property-12.s -#as: -mx86-used-note=yes --generate-missing-build-notes=no -#readelf: -n - -Displaying notes found in: .note.gnu.property -[ ]+Owner[ ]+Data size[ ]+Description - GNU 0x[0-9a-f]+ NT_GNU_PROPERTY_TYPE_0 - Properties: x86 ISA used: x86-64-baseline, x86-64-v4 - x86 feature used: x86, XMM, MASK --- a/gas/testsuite/gas/i386/x86-64-property-13.d +++ /dev/null @@ -1,10 +0,0 @@ -#name: x86-64 property 13 -#source: property-13.s -#as: -mx86-used-note=yes --generate-missing-build-notes=no -#readelf: -n - -Displaying notes found in: .note.gnu.property -[ ]+Owner[ ]+Data size[ ]+Description - GNU 0x[0-9a-f]+ NT_GNU_PROPERTY_TYPE_0 - Properties: x86 ISA used: x86-64-baseline - x86 feature used: x86, XMM, YMM, ZMM, MASK