OSDN Git Service

[X86][AVX-512] Don't raise inexact in ceil, floor, round, trunc.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Mon, 26 Jun 2017 16:00:24 +0000 (16:00 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Mon, 26 Jun 2017 16:00:24 +0000 (16:00 +0000)
commit699f4c431de74c28e66ace05d9e83223993c7a13
tree936d2d282c47ddf6668064fe548ebad4ce35b29a
parent8d3ca7cfeb8e2a9eafc5b98a437f54f0464bd171
[X86][AVX-512] Don't raise inexact in ceil, floor, round, trunc.

The non-AVX-512 behavior was changed in r248266 to match N1778
(C bindings for IEEE-754 (2008)), which defined the four functions
to not raise the inexact exception ("rint" is still defined as raising
it).

Update the AVX-512 lowering of these functions to match that: it should
not be different.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306299 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrAVX512.td
test/CodeGen/X86/avx512-round.ll