Hello all, Dev. in SIMD since a decade ( I did ASM, intrinsics and DSL), I am now looking solution using IR of LLVM, ISPC is the perfect solution. However I am very confuse by the key world uniform/varying and their mapping in ASM. From the original paper "ispc : A SPMD Compiler for ...."
>From the paper I read: " of a variable like float x represents a variable with a separate storage location", I understand the compiler will allocate a single xmm register (so without SIMD). Then for uniform " which correspond to a single value in memory and thus, a value that is the same across all elements", so I understand for SIMD ispc will create a register (xmm,ym,...) with a single value inside e.g. using broadcast in SIMD. Finally, for "varying" keyword, I will say it allocate a SIMD register. I am correct or not. Best, Tim -- You received this message because you are subscribed to the Google Groups "Intel SPMD Program Compiler Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
