2 /* { dg-options "-O2 -mdejagnu-cpu=power4" } */
4 /* As PR106322, verify this can execute well (not abort). */
7 typedef unsigned short int uh
;
8 typedef unsigned short int uw
;
14 __attribute__ ((noipa
)) void
17 for (int i
= 0; i
< N
; i
++)
18 c
[i
] = ((uw
) b
[i
] * (uw
) a
[i
]) >> 16;
21 __attribute__ ((optimize ("-O0"))) void
24 for (int i
= 0; i
< N
; i
++)
26 a
[i
] = (uh
) (0x7ABC - 0x5 * i
);
27 b
[i
] = (uh
) (0xEAB + 0xF * i
);
28 e
[i
] = ((uw
) b
[i
] * (uw
) a
[i
]) >> 16;
32 __attribute__ ((optimize ("-O0"))) void
35 for (int i
= 0; i
< N
; i
++)