search for: sin_approx

Displaying 3 results from an estimated 3 matches for "sin_approx".

2005 Mar 16
0
[LLVMdev] FP Intrinsics
...te the FP_ABS node. 3. On X86 at least, sin and cos are not defined over the full numeric range. These instructions are useful for applications like yours, and situations where a flag like "-ffast-math" has been provided. Because of this, please name the intrinsics and nodes sin_approx and cos_approx. I don't think that sqrt on the X86 has this limitation, so its intrinsic can be named just "llvm.sqrt". 4. Don't forget a doc patch to docs/LangRef.html :-) > I assume I have to add new nodetypes for the FP > instructions to SelectionDAGNodes.h, an...
2005 Mar 17
1
[LLVMdev] FP Intrinsics
...K > 3. On X86 at least, sin and cos are not defined over the full numeric > range. These instructions are useful for applications like yours, and > situations where a flag like "-ffast-math" has been provided. Because > of this, please name the intrinsics and nodes sin_approx and > cos_approx. I don't think that sqrt on the X86 has this limitation, > so its intrinsic can be named just "llvm.sqrt". I think it makes more sense to have the intrinsics as is, but do the code generation in the X86 target different depending on some command line fl...
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