With -fpu=neon DI mode shifts are expanded after reload. DI mode registers can
[official-gcc.git] / gcc / testsuite / gcc.target / arm / pr78041.c
blob340ab5cb433b28ca7d47e236fee93581e7c195c4
1 /* { dg-require-effective-target arm_thumb2_ok } */
2 /* { dg-require-effective-target arm_neon_ok } */
3 /* { dg-options "-fno-inline -mthumb -O1 -mfpu=neon -w" } */
5 extern void abort (void);
7 register long long x asm ("r1");
9 long long f (void)
11 return x << 5;
14 int main ()
16 x = 0x0100000001;
17 if (f () != 0x2000000020)
18 abort ();
19 return 0;