1 /* { dg-options "-O2 --save-temps" } */
4 extern void abort (void);
9 /* { dg-final { scan-assembler "extr\tw\[0-9\]+, w\[0-9\]+, w\[0-9\]+, 27\n" } } */
10 return (a
<< 5) | ((unsigned int) b
>> 27);
14 test_di (long long a
, long long b
)
16 /* { dg-final { scan-assembler "extr\tx\[0-9\]+, x\[0-9\]+, x\[0-9\]+, 45\n" } } */
17 return (a
<< 19) | ((unsigned long long) b
>> 45);
25 v
= test_si (0x00000004, 0x30000000);
28 w
= test_di (0x0001040040040004ll
, 0x0070050066666666ll
);
29 if (w
!= 0x2002002000200380ll
)