Displaying 2 results from an estimated 2 matches for "_ray".
Did you mean:
_cray
2015 May 04
4
[LLVMdev] Load value and broadcast in LLVM
Is it possible to load a value into a vector register and broadcast it in
LLVM?
For example, for the following address %x
%x = getelementptr inbounds %struct._Ray* %ray, i32 0, i32 0, i32 0
instead of loading the value at %x into a scalar register %0:
%0 = load double* %x, align 4, !tbaa !0
I want to load it into a <2 x double> vector register %1 and make both of
the two elements in %1 be the value at %x.
I guess one way to do this is to make getele...
2015 May 04
2
[LLVMdev] Load value and broadcast in LLVM
...; *To:* LLVM Dev
> *Subject:* [LLVMdev] Load value and broadcast in LLVM
>
>
>
> Is it possible to load a value into a vector register and broadcast it in
> LLVM?
>
>
>
> For example, for the following address %x
>
>
>
> %x = getelementptr inbounds %struct._Ray* %ray, i32 0, i32 0, i32 0
>
>
>
> instead of loading the value at %x into a scalar register %0:
>
> %0 = load double* %x, align 4, !tbaa !0
>
>
>
> I want to load it into a <2 x double> vector register %1 and make both of
> the two elements in %1 be the value...