Displaying 2 results from an estimated 2 matches for "temp_0".
Did you mean:
temp10
2013 Oct 17
1
[LLVMdev] Converting a i32 pointer to a vector of i32 ( C array to LLVM vector)
Both the SLP vectorizer and the Loop vectorizer support vectorizing pointers. The attached code looks like a candidate for the SLP-vectorizer. Can you run the SLP-vectorizer with the flag -mllvm -debug-only=SLP and attach the log ? I think that we are missing the pattern for the roots of the tree.
Thanks,
Nadav
On Oct 16, 2013, at 5:28 PM, Tom Stellard <tom at stellard.net> wrote:
>
2005 Apr 20
1
[LLVMdev] adding new instructions to support "swizzle" and "writemask"
...ged back into one instruction.
It could lead to inefficient machine code (though correct).
(2) Add new LLVM instructions, "swizzle" and "merge".
# A swizzle instruction acts like a channel "selector",
# selecting channels from the temporary registers r1 and r2.
temp_0 = swizzle.yy r1
temp_1 = swizzle.wx r2
temp_3 = add float temp_0, temp_1
temp_4 = merge.xz float temp_3, r0
But implementing swizzle and merge instructions like this seems non-trivial.
I'd know if anyone knows if there is possible and ealier alternatives?
Thank you.