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