[LLVMdev] LLVM floating point rounding modes

Steven Obua steven.obua at googlemail.com
Sat Jul 9 10:56:31 PDT 2011


I am not sure if this is the right mailing list to ask my question, if not, please refer me to the proper one.

Is there any support for rounding modes in LLVM floating point? I looked in the assembler reference manual, and it doesn't seem so. I am thinking about choosing LLVM as one of the backends for my programming language Babel-17 (www.babel-17.com). Babel-17 features interval arithmetic, which can be implemented sub-optimally without proper rounding modes, but it would be so much better and faster if rounding modes were provided. Are there any plans of introducing this in LLVM or of making any IEEE guarantees concerning floating point arithmetic?



More information about the llvm-dev mailing list