[LLVMdev] Signed NaNs in APFloat arithmetic

Tim Northover t.p.northover at gmail.com
Fri Aug 8 11:47:20 PDT 2014


> I would support a proposal to move fabs and fneg either to intrinsics or
> instructions, and remove the current practice of using fsub.

Me too (I'd probably favour fneg as an instruction, but perhaps not
fabs; though that may be my C++ background showing).

Just because we *can* use bitwise ops, doesn't mean it's a good idea
(we could eliminate all bitwise ops in terms of nand if we were
feeling evil enough).

Cheers.

Tim.



More information about the llvm-dev mailing list