Lines Matching defs:float4
3 //typedef __attribute__(( ext_vector_type(4) )) float float4;
4 typedef float float4 __attribute__((vector_size(16)));
6 float4 foo = (float4){ 1.0, 2.0, 3.0, 4.0 };
8 float4 foo2 = (float4){ 1.0, 2.0, 3.0, 4.0 , 5.0 }; // expected-warning{{excess elements in vector initializer}}
10 float4 array[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0};
11 int array_sizecheck[(sizeof(array) / sizeof(float4)) == 3 ? 1 : -1];
13 float4 array2[2] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0,
16 float4 array3[2] = { {1.0, 2.0, 3.0}, 5.0, 6.0, 7.0, 8.0,
34 int test2[sizeof(float3) == sizeof(float4) ? 1 : -1];