search for: vfloat

Displaying 1 result from an estimated 1 matches for "vfloat".

Did you mean: float
2010 Mar 25
0
[LLVMdev] Resizing vector values
Hello all, I'm working on a prototype LLVM pass that would take a function operating on 'magic' vectors and produce a function operating on concrete vectors. For example, given vadd function operating on magic 17-element vectors: typedef float vfloat __attribute__((ext_vector_type(17))); vfloat vadd(vfloat a, vfloat b) { return a+b; } it should produce vadd operating on 4-element vectors: typedef float float4 __attribute__((ext_vector_type(4))); float4 vadd(float4 a, float4 b) { return a+b; } In other words, I only want to change the type fr...