Displaying 2 results from an estimated 2 matches for "r0_0".
Did you mean:
r0,0
2005 Jul 27
3
[LLVMdev] How to define complicated instruction in TableGen (Direct3D shader instruction)
...ops
GPR:$dest, ops WM:$wm, IM:$im,
GPR:$src0, SW:$sw0, SM:$sm0,
GPR:$src1, SW:$sw1 SM:$sm1 ), ... >
2. add llvm intrinsics:
; add_sat r0.a, r1_bias.xxyy, r3_x2.zzzz
r1_1 = llvm.bias( r1_0 )
r1_2 = llvm.shuffle( xxyy )
r3_1 = llvm.x2( r3_0 )
r3_2 = llvm.shuffle( zzzz )
r0_0 = add r1_2, r3_2
r0_1 = llvm.sature( r0_0 )
r0_2 = llvm.select( a )
but it makes the implementing the instruction selector very diffifult.
in this example, llvm.select() and llvm.sature() are encountered frist
(bootm-up), but they must be 'remembered' and the instruction cannot
be gene...
2005 Jul 29
0
[LLVMdev] How to define complicated instruction in TableGen (Direct3D shader instruction)
...src0, SW:$sw0, SM:$sm0,
> GPR:$src1, SW:$sw1 SM:$sm1 ), ... >
>
> 2. add llvm intrinsics:
>
> ; add_sat r0.a, r1_bias.xxyy, r3_x2.zzzz
> r1_1 = llvm.bias( r1_0 )
> r1_2 = llvm.shuffle( xxyy )
> r3_1 = llvm.x2( r3_0 )
> r3_2 = llvm.shuffle( zzzz )
> r0_0 = add r1_2, r3_2
> r0_1 = llvm.sature( r0_0 )
> r0_2 = llvm.select( a )
>
> but it makes the implementing the instruction selector very diffifult.
> in this example, llvm.select() and llvm.sature() are encountered frist
> (bootm-up), but they must be 'remembered' and...