]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
LoongArch: testsuite: Adapt widen-mul-rtx-cost-signed.c for r16-4949
authorGuo Jie <guojie@loongson.cn>
Tue, 4 Nov 2025 12:40:47 +0000 (20:40 +0800)
committerLulu Cheng <chenglulu@loongson.cn>
Wed, 5 Nov 2025 02:53:30 +0000 (10:53 +0800)
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.

gcc/testsuite/gcc.target/loongarch/widen-mul-rtx-cost-signed.c

index 1e1e75f2a993d61deec72ddb576f1ae7184f3c0d..61d21a88681ad7e9aef0cd1fe5af7fcb183ad02c 100644 (file)
@@ -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} } } */