[gcc r17-3490] widen_mult_high_chain.c: Scan both mulq and mulx
"H.J. Lu via Gcc-cvs" <[email protected]>
| Newsgroups | gmane.comp.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://gcc.gnu.org/g:729f9243623fb020b3e119f5e5911e99f75375ec commit r17-3490-g729f9243623fb020b3e119f5e5911e99f75375ec Author: H.J. Lu <[email protected]> Date: Fri Aug 21 04:33:55 2026 +0800 widen_mult_high_chain.c: Scan both mulq and mulx When BMI2 is enabled by default, both mulq and mulx can be generated. Update widen_mult_high_chain.c to scan both mulq and mulx. PR testsuite/126923 * gcc.target/i386/widen_mult_high_chain.c: Scan both mulq and mulx. Signed-off-by: H.J. Lu <[email protected]> Diff: --- gcc/testsuite/gcc.target/i386/widen_mult_high_chain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/i386/widen_mult_high_chain.c b/gcc/testsuite/gcc.target/i386/widen_mult_high_chain.c index 7cfa42c9b3a5..35bd98cb4c91 100644 --- a/gcc/testsuite/gcc.target/i386/widen_mult_high_chain.c +++ b/gcc/testsuite/gcc.target/i386/widen_mult_high_chain.c @@ -29,4 +29,4 @@ mulh_carry_128 (__uint128_t x, __uint128_t y) /* { dg-final { scan-assembler-not "__multi3" } } */ /* { dg-final { scan-assembler-not "__mulOI3" } } */ -/* { dg-final { scan-assembler-times "\tmulq" 4 } } */ +/* { dg-final { scan-assembler-times "\tmul(q|x)" 4 } } */