search for: fp_abs

Displaying 5 results from an estimated 5 matches for "fp_abs".

2005 Mar 16
0
[LLVMdev] FP Intrinsics
...g some difficulties understanding what > needs to be done. Cool. Here are a couple of requests: 1. I don't think we need an "llvm.abs" intrinsic at the llvm level. This can be modeled as a pair of setcc/select instructions. 2. My objection to llvm.abs does not apply to the FP_ABS node you added: it is fine. Additionally, the target-independent selection dag machinery should be the one that notices the relevant setcc/select pairs at the llvm level to fabricate the FP_ABS node. 3. On X86 at least, sin and cos are not defined over the full numeric range. Thes...
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
2005 Mar 17
1
[LLVMdev] FP Intrinsics
...we need an "llvm.abs" intrinsic at the llvm level. This > can be modeled as a pair of setcc/select instructions. OK, I'm not exactly sure where and how to do this matching of setcc/select - can you give me some pointers? > 2. My objection to llvm.abs does not apply to the FP_ABS > node you added: it is fine. Additionally, the target-independent > selection dag machinery should be the one that notices the relevant > setcc/select pairs at the llvm level to fabricate the FP_ABS node. OK > 3. On X86 at least, sin and cos are not defined over the full nu...
2005 Apr 28
3
[LLVMdev] Floating point instructions patch
Hello, I have been gone for a while, finishing work on my Master's thesis... Now that I'm back I updated LLVM to the most recent version and found that my FP_ABS SelectionDAGNode type and code generation was now conflicting with the new FABS node type. I brought the rest of my local modifications in line with the FABS implementation, so here is my patch that includes sqrt, sin and cos also. The only thing missing is expansion to lib calls for these node t...
2005 Apr 28
0
[LLVMdev] Floating point instructions patch
On Thu, 28 Apr 2005, Morten Ofstad wrote: > I have been gone for a while, finishing work on my Master's thesis... Hi Morten, congrats! :) > Now that I'm back I updated LLVM to the most recent version and found > that my FP_ABS SelectionDAGNode type and code generation was now > conflicting with the new FABS node type. I brought the rest of my local > modifications in line with the FABS implementation, so here is my patch > that includes sqrt, sin and cos also. The only thing missing is > expansion to lib...