PR c++/67273
[official-gcc.git] / gcc / testsuite / gcc.target / arm / small-multiply-m0-1.c
blob49132e3e83d42874385523a3d0f05522a5974113
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_thumb1_ok } */
3 /* { dg-skip-if "Test is specific to cortex-m0.small-multiply" { arm*-*-* } { "*" } { "-mcpu=cortex-m0.small-multiply" } } */
4 /* { dg-options "-mcpu=cortex-m0.small-multiply -mthumb -O2" } */
6 int
7 test (int a)
9 return a * 0x123456;
12 /* { dg-final { scan-assembler-not "\[\\t \]+mul" } } */