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" } */
4
5 extern void abort (void);
6
7 register long long x asm ("r1");
8
9 long long f (void)
10 {
11 return x << 5;
12 }
13
14 int main ()
15 {
16 x = 0x0100000001;
17 if (f () != 0x2000000020)
18 abort ();
19 return 0;
20 }