Debian Codegraph @

gcc/testsuite/gcc.target/loongarch/smuldi3_highpart.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-mabi=lp64d -O2 -fdump-rtl-expand-all" } */
3
4 typedef int TI __attribute ((mode(TI)));
5 typedef int DI __attribute__((mode(DI)));
6
7 DI
8 test (DI x, DI y)
9 {
10 return ((TI)x * y) >> 64;
11 }
12
13 /* { dg-final { scan-rtl-dump "highparttmp" "expand" } } */