aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2021-02-16 11:30:49 +0100
committerJan Beulich <jbeulich@suse.com>2021-02-16 11:30:49 +0100
commitcbe686965606262a9e4a3ca0e148d7812b368e7b (patch)
tree714b467b2affc88090810ffe791b3745c2e16aac /gas
parentb818b220e40a0b5aa281e50272f6f6af2f759c86 (diff)
downloadgdb-cbe686965606262a9e4a3ca0e148d7812b368e7b.zip
gdb-cbe686965606262a9e4a3ca0e148d7812b368e7b.tar.gz
gdb-cbe686965606262a9e4a3ca0e148d7812b368e7b.tar.bz2
x86: make common property tests common
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.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog14
-rw-r--r--gas/testsuite/gas/i386/i386.exp28
-rw-r--r--gas/testsuite/gas/i386/x86-64-property-10.d10
-rw-r--r--gas/testsuite/gas/i386/x86-64-property-11.d10
-rw-r--r--gas/testsuite/gas/i386/x86-64-property-12.d10
-rw-r--r--gas/testsuite/gas/i386/x86-64-property-13.d10
-rw-r--r--gas/testsuite/gas/i386/x86-64-property-2.d10
-rw-r--r--gas/testsuite/gas/i386/x86-64-property-3.d10
-rw-r--r--gas/testsuite/gas/i386/x86-64-property-4.d10
-rw-r--r--gas/testsuite/gas/i386/x86-64-property-5.d10
-rw-r--r--gas/testsuite/gas/i386/x86-64-property-6.d10
11 files changed, 24 insertions, 108 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 20bf452..12ce28b 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,19 @@
2021-02-16 Jan Beulich <jbeulich@suse.com>
+ * 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.
+
+2021-02-16 Jan Beulich <jbeulich@suse.com>
+
* testsuite/gas/i386/enqcmd-16bit.s: Include enqcmd.s, not
movdir.s.
* testsuite/gas/i386/enqcmd-16bit.d: Adjust expectations.
diff --git a/gas/testsuite/gas/i386/i386.exp b/gas/testsuite/gas/i386/i386.exp
index b4a75e4..5a481a4 100644
--- 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 "*-*-vxworks*"]} then {
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 {
diff --git a/gas/testsuite/gas/i386/x86-64-property-10.d b/gas/testsuite/gas/i386/x86-64-property-10.d
deleted file mode 100644
index 1e7748f..0000000
--- 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
diff --git a/gas/testsuite/gas/i386/x86-64-property-11.d b/gas/testsuite/gas/i386/x86-64-property-11.d
deleted file mode 100644
index d93e01b..0000000
--- 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
diff --git a/gas/testsuite/gas/i386/x86-64-property-12.d b/gas/testsuite/gas/i386/x86-64-property-12.d
deleted file mode 100644
index 1683204..0000000
--- 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
diff --git a/gas/testsuite/gas/i386/x86-64-property-13.d b/gas/testsuite/gas/i386/x86-64-property-13.d
deleted file mode 100644
index 5ed609a..0000000
--- 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
diff --git a/gas/testsuite/gas/i386/x86-64-property-2.d b/gas/testsuite/gas/i386/x86-64-property-2.d
deleted file mode 100644
index d54dff9..0000000
--- 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
diff --git a/gas/testsuite/gas/i386/x86-64-property-3.d b/gas/testsuite/gas/i386/x86-64-property-3.d
deleted file mode 100644
index d248505..0000000
--- 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
diff --git a/gas/testsuite/gas/i386/x86-64-property-4.d b/gas/testsuite/gas/i386/x86-64-property-4.d
deleted file mode 100644
index be1d485..0000000
--- 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
diff --git a/gas/testsuite/gas/i386/x86-64-property-5.d b/gas/testsuite/gas/i386/x86-64-property-5.d
deleted file mode 100644
index a1385c2..0000000
--- 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
diff --git a/gas/testsuite/gas/i386/x86-64-property-6.d b/gas/testsuite/gas/i386/x86-64-property-6.d
deleted file mode 100644
index 5cdb873..0000000
--- 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