4 #define vector __attribute__((vector_size(8)))
8 vector_fun (vector
int a
, vector
int b
)
11 a
= (vector
int) __ev_create_s32 (2, 2);
12 b
= (vector
int) __ev_create_s32 (3, 3);
26 /* This line may look unnecessary but we do need it, because we want to
27 have a line to do a next over (so that gdb refetches the registers)
28 and we don't want the code to change any vector registers.
29 The splat operations below modify the VRs,
30 so we don't want to execute them yet. */
32 x
= (vector
int) __ev_create_s32 (-2, -2);
33 y
= (vector
int) __ev_create_s32 (1, 1);
35 z
= vector_fun (x
, y
);