1 /* { dg-do compile } */
2 /* { dg-additional-options "-mavx2" { target avx2 } } */
5 unsigned tex_stage
[8][33];
10 void f(struct fvec4
*dst
, struct nine_context
*context
)
13 for (s
= 0; s
< 8; ++s
)
15 float *rgba
= &dst
[s
].x
[0];
16 unsigned color
= context
->tex_stage
[s
][0];
17 rgba
[0] = (float)((color
>> 16) & 0xFF) / 0xFF;
18 rgba
[1] = (float)((color
>> 8) & 0xFF) / 0xFF;