[binutils-gdb/binutils-2_42-branch] Update x86/APX: VROUND{P, S}{S, D} can generally be encoded

H.J. Lu hjl@sourceware.org
Fri Jan 19 14:45:52 GMT 2024


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=075f13476a6f6ede37c45722033472a1e2cbb1ae

commit 075f13476a6f6ede37c45722033472a1e2cbb1ae
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Jan 19 06:42:20 2024 -0800

    Update x86/APX: VROUND{P,S}{S,D} can generally be encoded
    
    Append "#pass" to APX tests for targets which pad text sections with NOPs.
    
            * testsuite/gas/i386/x86-64-apx-evex-promoted-intel.d: Append
            "#pass".
            * testsuite/gas/i386/x86-64-apx-evex-promoted.d: Likewise.
    
    (cherry picked from commit f530d5f1bab6eb5adc65f422ef811fb278a21a4b)

Diff:
---
 gas/testsuite/gas/i386/x86-64-apx-evex-promoted-intel.d | 1 +
 gas/testsuite/gas/i386/x86-64-apx-evex-promoted.d       | 1 +
 2 files changed, 2 insertions(+)

diff --git a/gas/testsuite/gas/i386/x86-64-apx-evex-promoted-intel.d b/gas/testsuite/gas/i386/x86-64-apx-evex-promoted-intel.d
index 354c85c01fa..3ccd1f6d556 100644
--- a/gas/testsuite/gas/i386/x86-64-apx-evex-promoted-intel.d
+++ b/gas/testsuite/gas/i386/x86-64-apx-evex-promoted-intel.d
@@ -320,3 +320,4 @@ Disassembly of section \.text:
 [	 ]*[a-f0-9]+:[	 ]*62 4c fc 08 66 bc 87 23 01 00 00[	 ]+wrssq[	 ]+\[r31\+rax\*4\+0x123\],r31
 [	 ]*[a-f0-9]+:[	 ]*62 4c 7d 08 65 8c 87 23 01 00 00[	 ]+wrussd[	 ]+\[r31\+rax\*4\+0x123\],r25d
 [	 ]*[a-f0-9]+:[	 ]*62 4c fd 08 65 bc 87 23 01 00 00[	 ]+wrussq[	 ]+\[r31\+rax\*4\+0x123\],r31
+#pass
diff --git a/gas/testsuite/gas/i386/x86-64-apx-evex-promoted.d b/gas/testsuite/gas/i386/x86-64-apx-evex-promoted.d
index a86fa60dc6b..fc2107b022b 100644
--- a/gas/testsuite/gas/i386/x86-64-apx-evex-promoted.d
+++ b/gas/testsuite/gas/i386/x86-64-apx-evex-promoted.d
@@ -320,3 +320,4 @@ Disassembly of section \.text:
 [	 ]*[a-f0-9]+:[	 ]*62 4c fc 08 66 bc 87 23 01 00 00[	 ]+wrssq[	 ]+%r31,0x123\(%r31,%rax,4\)
 [	 ]*[a-f0-9]+:[	 ]*62 4c 7d 08 65 8c 87 23 01 00 00[	 ]+wrussd[	 ]+%r25d,0x123\(%r31,%rax,4\)
 [	 ]*[a-f0-9]+:[	 ]*62 4c fd 08 65 bc 87 23 01 00 00[	 ]+wrussq[	 ]+%r31,0x123\(%r31,%rax,4\)
+#pass


More information about the Binutils-cvs mailing list