https://gcc.gnu.org/g:a4ce8681929c597639ce382b2a0414e27c46725c
commit r15-4287-ga4ce8681929c597639ce382b2a0414e27c46725c Author: H.J. Lu <hjl.to...@gmail.com> Date: Sat Oct 12 05:04:33 2024 +0800 gcc.target/i386/invariant-ternlog-1.c: Also scan (%edx) Since x32 uses (%edx), instead of (%rdx), also scan (%edx). * gcc.target/i386/invariant-ternlog-1.c: Also scan (%edx). Signed-off-by: H.J. Lu <hjl.to...@gmail.com> Diff: --- gcc/testsuite/gcc.target/i386/invariant-ternlog-1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/i386/invariant-ternlog-1.c b/gcc/testsuite/gcc.target/i386/invariant-ternlog-1.c index bf67ed7e43d0..77b95d3bb335 100644 --- a/gcc/testsuite/gcc.target/i386/invariant-ternlog-1.c +++ b/gcc/testsuite/gcc.target/i386/invariant-ternlog-1.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-mavx512f -O2" } */ /* { dg-final { scan-assembler-times "vmovdqa" 4 } } */ -/* { dg-final { scan-assembler-times {vpternlog[^\n\r]*\(%rdx\)} 2 { target { ! ia32 } } } } */ +/* { dg-final { scan-assembler-times {vpternlog[^\n\r]*\(%(?:r|e)dx\)} 2 { target { ! ia32 } } } } */ #include <immintrin.h>