[binutils-gdb] PowerPC: Fix dmxxshake128pad test case for big-endian targets

Abhay Kandpal via Binutils-cvs <[email protected]>
Newsgroups gmane.comp.gnu.binutils.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=602c91f4d1b01b76f559450d216846d0c1c599fb

commit 602c91f4d1b01b76f559450d216846d0c1c599fb
Author: Abhay Kandpal <[email protected]>
Date:   Wed Mar 4 23:07:53 2026 -0500

    PowerPC: Fix dmxxshake128pad test case for big-endian targets
    
    The encoding pattern for dmxxshake128pad in future.d was incorrect for
    big-endian targets, causing the gas testsuite to fail with a regexp_diff
    mismatch.  The expected byte order did not match the objdump output on
    big-endian systems.
    
    Update the expected encoding to match the correct byte order.
    
    gas/
            * gas/testsuite/gas/ppc/future.d: Fix Encoding

Diff:
---
 gas/testsuite/gas/ppc/future.d | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gas/testsuite/gas/ppc/future.d b/gas/testsuite/gas/ppc/future.d
index 428d489c307..d00039fba03 100644
--- a/gas/testsuite/gas/ppc/future.d
+++ b/gas/testsuite/gas/ppc/future.d
@@ -178,5 +178,5 @@ Disassembly of section \.text:
 .*:	(94 1e 80 f3|f3 80 1e 94) 	dmxxsha3512pad dm7,vs3,0
 .*:	(96 46 1e f3|f3 1e 46 96) 	dmxxshapad dm6,vs40,3,1,2
 .*:	(96 4e 8e f3|f3 8e 4e 96) 	dmxxshake256pad dm7,vs41,1
-.*:	(96 56 0b f3|f3 56 0b 96) 	dmxxshake128pad dm6,vs42,0
+.*:	(96 56 0b f3|f3 0b 56 96) 	dmxxshake128pad dm6,vs42,0
 #pass
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.