Displaying 2 results from an estimated 2 matches for "vmcommandabs".
2005 Mar 11
0
[LLVMdev] FP Intrinsics
...getelementptr ([4 x float]* cast (<4
x float>* %_ARGB56 to [4 x float]*), int 0, int 3)
%Value = call float %ReadVoxel( void* %_hVB59 ) ; <float> [#uses=1]
%arg2 = load float* %T64 ; <float> [#uses=1]
%VMCommandSubtract = sub float %Value, %arg2 ; <float> [#uses=1]
%VMCommandAbs = call float %llvm.abs( float %VMCommandSubtract ) ;
<float> [#uses=2]
%isNonZero = setgt float %VMCommandAbs, 0.000000e+000 ; <bool> [#uses=1]
br bool %isNonZero, label %NonZero, label %Zero
NonZero: ; preds = %EntryBlock
call void %Shader1DLookupLinear( <4 x float>* %_AR...
2005 Mar 11
5
[LLVMdev] FP Intrinsics
Hello,
I am trying to make the FP intrinsics (abs, sin, cos, sqrt) I've added
work with the X86ISelPattern, but I'm having some difficulties
understanding what needs to be done. I assume I have to add new
nodetypes for the FP instructions to SelectionDAGNodes.h, and make nodes
for these in SelectionDAGLowering::visitCall when I find the intrinsic...
The part I don't quite