From: Guo Jie Date: Tue, 4 Nov 2025 12:40:47 +0000 (+0800) Subject: LoongArch: testsuite: Adapt widen-mul-rtx-cost-signed.c for r16-4949 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bb3bc9e4ba20f0f44c653ef5ae3f0b035b21324;p=thirdparty%2Fgcc.git LoongArch: testsuite: Adapt widen-mul-rtx-cost-signed.c for r16-4949 Commit r16-4949 optimize mulw.d.w + srli.d to mulh.w, so remove the check rule for mulw.d.w. gcc/testsuite/ChangeLog: * gcc.target/loongarch/widen-mul-rtx-cost-signed.c: Update. --- diff --git a/gcc/testsuite/gcc.target/loongarch/widen-mul-rtx-cost-signed.c b/gcc/testsuite/gcc.target/loongarch/widen-mul-rtx-cost-signed.c index 1e1e75f2a99..61d21a88681 100644 --- a/gcc/testsuite/gcc.target/loongarch/widen-mul-rtx-cost-signed.c +++ b/gcc/testsuite/gcc.target/loongarch/widen-mul-rtx-cost-signed.c @@ -9,5 +9,4 @@ test (int a) return a / 3; } -/* { dg-final { scan-assembler {\tmulw.d.w\t} } } */ /* { dg-final { scan-assembler-not {\tdiv.w\t} } } */