From: Alan Modra Date: Fri, 28 Jul 2023 03:33:46 +0000 (+0930) Subject: Fix recent x86 pe/coff testsuite regressions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d989e8dc6baa5cdca8d4153fe24df2759b8ea93a;p=binutils-gdb.git Fix recent x86 pe/coff testsuite regressions * testsuite/gas/i386/sha512-intel.d: Accept section nop padding. * testsuite/gas/i386/sha512.d: Likewise. * testsuite/gas/i386/sm3-intel.d: Likewise. * testsuite/gas/i386/sm3.d: Likewise. * testsuite/gas/i386/x86-64-pbndkb-intel.d: Likewise. * testsuite/gas/i386/x86-64-pbndkb.d: Likewise. * testsuite/gas/i386/x86-64-sha512-intel.d: Likewise. * testsuite/gas/i386/x86-64-sha512.d: Likewise. * testsuite/gas/i386/x86-64-sm3-intel.d: Likewise. * testsuite/gas/i386/x86-64-sm3.d: Likewise. --- diff --git a/gas/testsuite/gas/i386/sha512-intel.d b/gas/testsuite/gas/i386/sha512-intel.d index 5ff3166d4f5..0871cd402a5 100644 --- a/gas/testsuite/gas/i386/sha512-intel.d +++ b/gas/testsuite/gas/i386/sha512-intel.d @@ -13,3 +13,4 @@ Disassembly of section \.text: \s*[a-f0-9]+:\s*c4 e2 7f cc f5\s+vsha512msg1 ymm6,xmm5 \s*[a-f0-9]+:\s*c4 e2 7f cd f5\s+vsha512msg2 ymm6,ymm5 \s*[a-f0-9]+:\s*c4 e2 57 cb f4\s+vsha512rnds2 ymm6,ymm5,xmm4 +#pass diff --git a/gas/testsuite/gas/i386/sha512.d b/gas/testsuite/gas/i386/sha512.d index f3a21b860d0..18976970064 100644 --- a/gas/testsuite/gas/i386/sha512.d +++ b/gas/testsuite/gas/i386/sha512.d @@ -13,3 +13,4 @@ Disassembly of section \.text: \s*[a-f0-9]+:\s*c4 e2 7f cc f5\s+vsha512msg1 %xmm5,%ymm6 \s*[a-f0-9]+:\s*c4 e2 7f cd f5\s+vsha512msg2 %ymm5,%ymm6 \s*[a-f0-9]+:\s*c4 e2 57 cb f4\s+vsha512rnds2 %xmm4,%ymm5,%ymm6 +#pass diff --git a/gas/testsuite/gas/i386/sm3-intel.d b/gas/testsuite/gas/i386/sm3-intel.d index 4366161a866..a749d1612ea 100644 --- a/gas/testsuite/gas/i386/sm3-intel.d +++ b/gas/testsuite/gas/i386/sm3-intel.d @@ -25,3 +25,4 @@ Disassembly of section \.text: \s*[a-f0-9]+:\s*c4 e3 51 de f4 7b\s+vsm3rnds2 xmm6,xmm5,xmm4,0x7b \s*[a-f0-9]+:\s*c4 e3 51 de b4 f4 00 00 00 10 7b\s+vsm3rnds2 xmm6,xmm5,XMMWORD PTR \[esp\+esi\*8\+0x10000000\],0x7b \s*[a-f0-9]+:\s*c4 e3 51 de 31 7b\s+vsm3rnds2 xmm6,xmm5,XMMWORD PTR \[ecx\],0x7b +#pass diff --git a/gas/testsuite/gas/i386/sm3.d b/gas/testsuite/gas/i386/sm3.d index 42c2a46bfbf..81727968e05 100644 --- a/gas/testsuite/gas/i386/sm3.d +++ b/gas/testsuite/gas/i386/sm3.d @@ -25,3 +25,4 @@ Disassembly of section \.text: \s*[a-f0-9]+:\s*c4 e3 51 de f4 7b\s+vsm3rnds2 \$0x7b,%xmm4,%xmm5,%xmm6 \s*[a-f0-9]+:\s*c4 e3 51 de b4 f4 00 00 00 10 7b\s+vsm3rnds2 \$0x7b,0x10000000\(%esp,%esi,8\),%xmm5,%xmm6 \s*[a-f0-9]+:\s*c4 e3 51 de 31 7b\s+vsm3rnds2 \$0x7b,\(%ecx\),%xmm5,%xmm6 +#pass diff --git a/gas/testsuite/gas/i386/x86-64-pbndkb-intel.d b/gas/testsuite/gas/i386/x86-64-pbndkb-intel.d index edc75020432..a0135e421ab 100644 --- a/gas/testsuite/gas/i386/x86-64-pbndkb-intel.d +++ b/gas/testsuite/gas/i386/x86-64-pbndkb-intel.d @@ -9,3 +9,4 @@ Disassembly of section \.text: 0+ <_start>: \s*[a-f0-9]+:\s*0f 01 c7\s+pbndkb \s*[a-f0-9]+:\s*0f 01 c7\s+pbndkb +#pass diff --git a/gas/testsuite/gas/i386/x86-64-pbndkb.d b/gas/testsuite/gas/i386/x86-64-pbndkb.d index 94dfe7c0172..b4bb9b75e84 100644 --- a/gas/testsuite/gas/i386/x86-64-pbndkb.d +++ b/gas/testsuite/gas/i386/x86-64-pbndkb.d @@ -9,3 +9,4 @@ Disassembly of section \.text: 0+ <_start>: \s*[a-f0-9]+:\s*0f 01 c7\s+pbndkb \s*[a-f0-9]+:\s*0f 01 c7\s+pbndkb +#pass diff --git a/gas/testsuite/gas/i386/x86-64-sha512-intel.d b/gas/testsuite/gas/i386/x86-64-sha512-intel.d index f77d9f11e02..c8a36b515d2 100644 --- a/gas/testsuite/gas/i386/x86-64-sha512-intel.d +++ b/gas/testsuite/gas/i386/x86-64-sha512-intel.d @@ -13,3 +13,4 @@ Disassembly of section \.text: \s*[a-f0-9]+:\s*c4 c2 7f cc f7\s+vsha512msg1 ymm6,xmm15 \s*[a-f0-9]+:\s*c4 62 7f cd fd\s+vsha512msg2 ymm15,ymm5 \s*[a-f0-9]+:\s*c4 62 57 cb f4\s+vsha512rnds2 ymm14,ymm5,xmm4 +#pass diff --git a/gas/testsuite/gas/i386/x86-64-sha512.d b/gas/testsuite/gas/i386/x86-64-sha512.d index 3d1d8e0408b..3332561523b 100644 --- a/gas/testsuite/gas/i386/x86-64-sha512.d +++ b/gas/testsuite/gas/i386/x86-64-sha512.d @@ -13,3 +13,4 @@ Disassembly of section \.text: \s*[a-f0-9]+:\s*c4 c2 7f cc f7\s+vsha512msg1 %xmm15,%ymm6 \s*[a-f0-9]+:\s*c4 62 7f cd fd\s+vsha512msg2 %ymm5,%ymm15 \s*[a-f0-9]+:\s*c4 62 57 cb f4\s+vsha512rnds2 %xmm4,%ymm5,%ymm14 +#pass diff --git a/gas/testsuite/gas/i386/x86-64-sm3-intel.d b/gas/testsuite/gas/i386/x86-64-sm3-intel.d index 20a633d6054..9bb4b77a71e 100644 --- a/gas/testsuite/gas/i386/x86-64-sm3-intel.d +++ b/gas/testsuite/gas/i386/x86-64-sm3-intel.d @@ -25,3 +25,4 @@ Disassembly of section \.text: \s*[a-f0-9]+:\s*c4 c3 51 de f6 7b\s+vsm3rnds2 xmm6,xmm5,xmm14,0x7b \s*[a-f0-9]+:\s*c4 a3 01 de b4 f5 00 00 00 10 7b\s+vsm3rnds2 xmm6,xmm15,XMMWORD PTR \[rbp\+r14\*8\+0x10000000\],0x7b \s*[a-f0-9]+:\s*c4 c3 01 de 31 7b\s+vsm3rnds2 xmm6,xmm15,XMMWORD PTR \[r9\],0x7b +#pass diff --git a/gas/testsuite/gas/i386/x86-64-sm3.d b/gas/testsuite/gas/i386/x86-64-sm3.d index f1611722cf0..06c207066cf 100644 --- a/gas/testsuite/gas/i386/x86-64-sm3.d +++ b/gas/testsuite/gas/i386/x86-64-sm3.d @@ -25,3 +25,4 @@ Disassembly of section \.text: \s*[a-f0-9]+:\s*c4 c3 51 de f6 7b\s+vsm3rnds2 \$0x7b,%xmm14,%xmm5,%xmm6 \s*[a-f0-9]+:\s*c4 a3 01 de b4 f5 00 00 00 10 7b\s+vsm3rnds2 \$0x7b,0x10000000\(%rbp,%r14,8\),%xmm15,%xmm6 \s*[a-f0-9]+:\s*c4 c3 01 de 31 7b\s+vsm3rnds2 \$0x7b,\(%r9\),%xmm15,%xmm6 +#pass