commit | a148fbcb5f441a089ea33067473fae5a8d5f778e | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Wed Aug 22 18:50:01 2012 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Wed Aug 22 18:50:01 2012 +0000 |
tree | 0f19993061e29288c8e9c95b95027094814d04d9 | |
parent | 5c1dcc59754c539cddc967b938d7b3a688d0c430 [diff] |
Make ceil/floor/nearbyint/rint/round const even with -fmath-errno. The conditions described by POSIX can never happen with IEEE-754 floats. When the function is const we can emit a single sse4.1 instruction for it, without losing anything :) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162379 91177308-0d34-0410-b5e6-96231b3b80d8