search for: fp_sin

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

2005 Mar 17
1
[LLVMdev] FP Intrinsics
...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 flag. For the pattern ISel, this simply amounts to registering the FP_SIN and FP_COS as nodes which need to be expanded (to calls) if not fast-math is set... What do you think about this approach? > 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, and...
2005 Mar 16
0
[LLVMdev] FP Intrinsics
On Fri, 11 Mar 2005, Morten Ofstad wrote: > 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. 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
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