[expmed] Properly account for the cost and latency of shift+add ops when synthesizing...
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / mult-synth_6.c
blobe941b72351eb1524373c25e216d5366c34c50c49
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mcpu=cortex-a57 -save-temps" } */
4 int
5 foo (int x)
7 return x * 20;
10 /* { dg-final { scan-assembler-not "\tw1" } } */
11 /* { dg-final { cleanup-saved-temps } } */