1 /* Verify that we generate movua to load unaligned 32-bit values. */
2 /* { dg-do compile { target "sh*-*-*" } } */
3 /* { dg-options "-O" } */
4 /* { dg-final { scan-assembler-times "\tmovua\\.l\t" 6 } } */
8 struct s0
{ long long d
: 32; } x0
;
14 struct s1
{ long long c
: 8; long long d
: 32; } x1
;
20 struct s2
{ long long c
: 16; long long d
: 32; } x2
;
26 struct s3
{ long long c
: 24; long long d
: 32; } x3
;
32 struct s4
{ long long c
: 32; long long d
: 32; } x4
;
38 struct u0
{ unsigned long long d
: 32; } y0
;
39 unsigned long long g0() {
44 struct u1
{ long long c
: 8; unsigned long long d
: 32; } y1
;
45 unsigned long long g1() {
50 struct u2
{ long long c
: 16; unsigned long long d
: 32; } y2
;
51 unsigned long long g2() {
56 struct u3
{ long long c
: 24; unsigned long long d
: 32; } y3
;
57 unsigned long long g3() {
62 struct u4
{ long long c
: 32; unsigned long long d
: 32; } y4
;
63 unsigned long long g4() {