AArch64: make inexact signalling on round Darwin-specific
authorTim Northover <tnorthover@apple.com>
Thu, 16 Jul 2015 21:30:21 +0000 (21:30 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 16 Jul 2015 21:30:21 +0000 (21:30 +0000)
commitca0ffc356193e319d07d1f5db49db4cc61f45b59
tree47feaa00a3ed8ec7f41414d296e8f26aee60127a
parent9e694e590cdbd751e026833a042e871b66f192cf
AArch64: make inexact signalling on round Darwin-specific

C11 leaves the choice on whether round-to-integer operations set the inexact
flag implementation-defined. Darwin does expect it to be set, but this seems to
be against the intent of the IEEE document and slower to implement anyway. So
it should be opt-in.

llvm-svn: 242446
llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
llvm/test/CodeGen/AArch64/arm64-rounding.ll
llvm/test/CodeGen/AArch64/f16-instructions.ll