diff options
author | Aart Bik <ajcbik@google.com> | 2018-03-05 16:41:03 -0800 |
---|---|---|
committer | Aart Bik <ajcbik@google.com> | 2018-03-05 16:43:18 -0800 |
commit | 996fabcc8296efd346b4f56b5a4a85d63445c83b (patch) | |
tree | e69d3e1da4e65e97ad67dc5a4a079e150cc9d5f9 /compiler/optimizing/loop_optimization.cc | |
parent | 18eba5e6680c1b8025816996419cb7c66f43e6c9 (diff) |
Relax ABS tests when not running ART.
Rationale:
As a "quality of implementation", rather than pure "spec compliance",
ART's version of abs() clears the sign bit (but changes nothing else)
for all numbers, including NaN (signaling NaN may become quiet though).
We cannot expect non-ART implementations to do the same always though.
Test: 631, 645 host (ART and --jvm)
Bug: 74085456
Change-Id: I2d7db301c2820c60cfb879fc19079404194e53d1
Diffstat (limited to 'compiler/optimizing/loop_optimization.cc')
0 files changed, 0 insertions, 0 deletions