[LLVMdev] floating point exceptions in compare instructions

Chris Lattner sabre at nondot.org
Fri Oct 13 10:56:43 PDT 2006

On Fri, 13 Oct 2006, [UTF-8] Rafael Esp?ndola wrote:
> Looking at the llvm code I have the impression that ordered fp
> comparisons should use exception throwing instructions. Is it true?

Nope, you want non-trapping instructions.  If you use trapping 
instructions, C99 functions like isgreater will not work correctly with 



More information about the llvm-dev mailing list