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