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)
commitc5cc2e1a5a6872f9d5fa26f7dd1f139687f6e2b1
tree20641b5b44a2531451e875dedfe5a5ea03c701a2
parenteee548ab0ce7a87dd5b909d5e81397fc23b7d068
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242446 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
test/CodeGen/AArch64/arm64-rounding.ll
test/CodeGen/AArch64/f16-instructions.ll