summaryrefslogtreecommitdiffstats
path: root/llvm/docs/BitCodeFormat.rst
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-08-08 04:31:34 +0000
committerHal Finkel <hfinkel@anl.gov>2013-08-08 04:31:34 +0000
commit2b7b2f373b7275330da97feaacaeb76342470072 (patch)
tree9c24c68008c58d013860a261a7b87ea44e358a49 /llvm/docs/BitCodeFormat.rst
parent5331e3a4818eae5b9945330e194bb0960ae26450 (diff)
downloadbcm5719-llvm-2b7b2f373b7275330da97feaacaeb76342470072.tar.gz
bcm5719-llvm-2b7b2f373b7275330da97feaacaeb76342470072.zip
PPC: Map frin to round() not nearbyint() and rint()
Making use of the recently-added ISD::FROUND, which allows for custom lowering of round(), the PPC backend will now map frin to round(). Previously, we had been using frin to lower nearbyint() (and rint() via some custom lowering to handle the extra fenv flags requirements), but only in fast-math mode because frin does not tie-to-even. Several users had complained about this behavior, and this new mapping of frin to round is certainly more appropriate (and does not require fast-math mode). In effect, this reverts r178362 (and part of r178337, replacing the nearbyint mapping with the round mapping). llvm-svn: 187960
Diffstat (limited to 'llvm/docs/BitCodeFormat.rst')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud