Debian Codegraph @

gcc/testsuite/gcc.target/i386/smuldi3_highpart.c

raw
1 /* { dg-do compile { target int128 } } */
2 /* { dg-options "-O2" } */
3 typedef int __attribute ((mode(TI))) ti_t;
4
5 long long foo(long long x)
6 {
7 return ((ti_t)x * 19065) >> 72;
8 }
9
10 /* { dg-final { scan-assembler "movl\[ \\t]+\\\$19065, %eax" } } */
11 /* { dg-final { scan-assembler-times "movq" 1 } } */