diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2023-12-29 15:46:59 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2023-12-29 15:46:59 -0800 |
commit | 302a296de0e83d6c320cc0f0d5dd1a1d73182009 (patch) | |
tree | e3e33bdcae4f8a1f504430c350a69d397c2fbed9 | |
parent | 2eda6e3ecdd0ea93586a532d9464e430f708334a (diff) | |
download | gdb-302a296de0e83d6c320cc0f0d5dd1a1d73182009.zip gdb-302a296de0e83d6c320cc0f0d5dd1a1d73182009.tar.gz gdb-302a296de0e83d6c320cc0f0d5dd1a1d73182009.tar.bz2 |
x86: Append "#pass" to APX tests
Append "#pass" to APX tests for targets which pad text sections with NOPs.
* testsuite/gas/i386/x86-64-apx-evex-promoted-bad.d: Append
"#pass".
* testsuite/gas/i386/x86-64-apx-ndd-optimize.d: Likewise.
* testsuite/gas/i386/x86-64-apx-ndd.d: Likewise.
* testsuite/gas/i386/x86-64-apx-pushp-popp-intel.d: Likewise.
* testsuite/gas/i386/x86-64-apx-pushp-popp.d: Likewise.
5 files changed, 5 insertions, 0 deletions
diff --git a/gas/testsuite/gas/i386/x86-64-apx-evex-promoted-bad.d b/gas/testsuite/gas/i386/x86-64-apx-evex-promoted-bad.d index 3bfb5de..57bdf64 100644 --- a/gas/testsuite/gas/i386/x86-64-apx-evex-promoted-bad.d +++ b/gas/testsuite/gas/i386/x86-64-apx-evex-promoted-bad.d @@ -39,3 +39,4 @@ Disassembly of section .text: [ ]*[a-f0-9]+:[ ]+62 74 7c 18 8f c0[ ]+pop2 %rax,\(bad\) [ ]*[a-f0-9]+:[ ]+62 d4 3c 18 8f[ ]+\(bad\) [ ]*[a-f0-9]+:[ ]+c0[ ]+.* +#pass diff --git a/gas/testsuite/gas/i386/x86-64-apx-ndd-optimize.d b/gas/testsuite/gas/i386/x86-64-apx-ndd-optimize.d index 48f0f1c..773ceea 100644 --- a/gas/testsuite/gas/i386/x86-64-apx-ndd-optimize.d +++ b/gas/testsuite/gas/i386/x86-64-apx-ndd-optimize.d @@ -130,3 +130,4 @@ Disassembly of section .text: \s*[a-f0-9]+:\s*62 74 3e 18 66 c0 adox %eax,%r8d,%r8d \s*[a-f0-9]+:\s*62 d4 7e 18 66 c7 adox %r15d,%eax,%eax \s*[a-f0-9]+:\s*67 f3 0f 38 f6 04 0a adox \(%edx,%ecx,1\),%eax +#pass diff --git a/gas/testsuite/gas/i386/x86-64-apx-ndd.d b/gas/testsuite/gas/i386/x86-64-apx-ndd.d index 7341060..36d5c73 100644 --- a/gas/testsuite/gas/i386/x86-64-apx-ndd.d +++ b/gas/testsuite/gas/i386/x86-64-apx-ndd.d @@ -158,3 +158,4 @@ Disassembly of section .text: \s*[a-f0-9]+:\s*62 c4 3c 18 32 04 07 xor \(%r15,%rax,1\),%r16b,%r8b \s*[a-f0-9]+:\s*62 c4 3d 18 33 04 07 xor \(%r15,%rax,1\),%r16w,%r8w \s*[a-f0-9]+:\s*62 fc 5c 10 83 34 83 11 xorl \$0x11,\(%r19,%rax,4\),%r20d +#pass diff --git a/gas/testsuite/gas/i386/x86-64-apx-pushp-popp-intel.d b/gas/testsuite/gas/i386/x86-64-apx-pushp-popp-intel.d index 44e3e96..018a0e8 100644 --- a/gas/testsuite/gas/i386/x86-64-apx-pushp-popp-intel.d +++ b/gas/testsuite/gas/i386/x86-64-apx-pushp-popp-intel.d @@ -12,3 +12,4 @@ Disassembly of section \.text: \s*[a-f0-9]+:\s*d5 19 57[ ]+pushp r31 \s*[a-f0-9]+:\s*d5 08 58[ ]+popp rax \s*[a-f0-9]+:\s*d5 19 5f[ ]+popp r31 +#pass diff --git a/gas/testsuite/gas/i386/x86-64-apx-pushp-popp.d b/gas/testsuite/gas/i386/x86-64-apx-pushp-popp.d index b20e5ba..a81f483 100644 --- a/gas/testsuite/gas/i386/x86-64-apx-pushp-popp.d +++ b/gas/testsuite/gas/i386/x86-64-apx-pushp-popp.d @@ -12,3 +12,4 @@ Disassembly of section \.text: \s*[a-f0-9]+:\s*d5 19 57[ ]+pushp %r31 \s*[a-f0-9]+:\s*d5 08 58[ ]+popp %rax \s*[a-f0-9]+:\s*d5 19 5f[ ]+popp %r31 +#pass |