summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2014-04-04 14:52:54 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2014-04-04 14:52:54 +0000
commitdc404fff1299b317741836479d59f8971dd38ccf (patch)
tree264122593442051c846f6bd0035eed3c5b42f8fb /lib/Target/PowerPC
parent659e09e3729b903ee299300e4d29a482ce986bab (diff)
downloadllvm-dc404fff1299b317741836479d59f8971dd38ccf.tar.gz
llvm-dc404fff1299b317741836479d59f8971dd38ccf.tar.bz2
llvm-dc404fff1299b317741836479d59f8971dd38ccf.tar.xz
[mips] abs.[ds], and neg.[ds] should be allowed regardless of -enable-no-nans-fp-math
Summary: They behave in accordance with the Has2008 and ABS2008 configuration bits of the processor which are used to select between the 1985 and 2008 versions of IEEE 754. In 1985 mode, these instructions are arithmetic (i.e. they raise invalid operation exceptions when given NaN), in 2008 mode they are non-arithmetic (i.e. they are copies). nmadd.[ds], and nmsub.[ds] are still subject to -enable-no-nans-fp-math because the ISA spec does not explicitly state that they obey Has2008 and ABS2008. Reviewers: matheusalmeida Reviewed By: matheusalmeida Differential Revision: http://llvm-reviews.chandlerc.com/D3274 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205628 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC')
0 files changed, 0 insertions, 0 deletions