Displaying 3 results from an estimated 3 matches for "absf".
Did you mean:
abs
2005 Jan 06
1
[LLVMdev] Math instructions
...? If you don't include math.h and don't link with the
math library you're free to define sin/cos/etc any way you like, aren't you?
> Finally, for fabs, we should just be able to recognize the setcc/select
> pair and generate that instruction.
the C math library has abs and absf, so it's easier to recognize the
function calls. Of course the previous comment also applies to this...
- for now I've just implemented all of them as llvm.xxx intrinsics, but
I'm a bit unsure how to lower these if the target does not support them
and the program does not link with...
2005 Jan 04
0
[LLVMdev] Math instructions
On Tue, 4 Jan 2005, Morten Ofstad wrote:
> I'm currently adding the floating point math instructions (fabs, fsin, fcos
> ...) to the x86 instruction set.
Cool!
> I'm a bit unsure how to make the back end actually generate these
> instructions, though. My current plan is to add llvm intrinsics for
> these instructions but I've noticed that llvm already handles C
2005 Jan 04
2
[LLVMdev] Math instructions
Hello,
I'm currently adding the floating point math instructions (fabs, fsin,
fcos ...) to the x86 instruction set. I'm a bit unsure how to make the
back end actually generate these instructions, though. My current plan
is to add llvm intrinsics for these instructions but I've noticed that
llvm already handles C math library functions to some extent. It feels a
bit strange to add