| 1 |
/* { dg-do run } */ |
| 2 |
/* { dg-additional-options -std=gnu99 } */ |
| 3 |
|
| 4 |
#define USE_VALUE 0 |
| 5 |
|
| 6 |
#include "test-gprs.h" |
| 7 |
|
| 8 |
void test12 (void) |
| 9 |
{ |
| 10 |
#ifndef __AVR_TINY__ |
| 11 |
rtest (32, 2, 0x02020103); |
| 12 |
rtest (32, 2, 0xff00ff00); |
| 13 |
rtest (32, 2, 0xfd02fb08); |
| 14 |
rtest (32, 2, 0xfefbfdf7); |
| 15 |
rtest (32, 16, 0xb1b2b3b4); |
| 16 |
rtest (32, 2, 0xc1c2c3c4); |
| 17 |
rtest (32, 2, 0x1c2c3c4c); |
| 18 |
rtest (32, 2, 0x1ff); |
| 19 |
rtest (32, 2, 0); |
| 20 |
rtest (32, 2, 0x01020408); |
| 21 |
rtest (32, 2, 0xffeeddbb); |
| 22 |
rtest (32, 6, 0x11223344); |
| 23 |
rtest (32, 6, 0x22334411); |
| 24 |
rtest (32, 10, 0x11122233); |
| 25 |
rtest (32, 14, 0x0a0b0c0d); |
| 26 |
rtest (32, 2, 0xa0b0c0d0); |
| 27 |
rtest (32, 2, 0xffffffff); |
| 28 |
rtest (32, 2, 0xfdffffbf); |
| 29 |
rtest (32, 2, 0x12345678); |
| 30 |
#endif |
| 31 |
} |
| 32 |
|
| 33 |
int main (void) |
| 34 |
{ |
| 35 |
test12 (); |
| 36 |
|
| 37 |
return 0; |
| 38 |
} |