[PATCH v1] PowerPC: Fix dmxxshake128pad test case for big-endian targets
Alan Modra
amodra@gmail.com
Thu Mar 5 01:07:26 GMT 2026
On Wed, Mar 04, 2026 at 01:46:26PM -0500, Abhay Kandpal wrote:
> 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
Please commit. This is obvious.
> ---
> This patch is reg tested.
>
> 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
> --
> 2.47.3
--
Alan Modra
More information about the Binutils
mailing list