summaryrefslogtreecommitdiffstats
path: root/test/474-fp-sub-neg
Commit message (Collapse)AuthorAgeFilesLines
* ART: Fix the simplifier for add/subSerguei Katkov2015-08-063-0/+14
| | | | | | | | | | | | | Instruction simplifier for add/sub should not proceed with floats because that might cause the incorrect behavior with signed zero. Bug: 23001681 Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com> (cherry picked from commit 115b53f609e74672fa93eea1845bb17340d5112a) Change-Id: I9928724c4158b3961e32e376b9203fe01ba2e442
* Incorrect transformation of (sub,neg) to (sub) for fpSerguei Katkov2015-04-203-0/+52
A pair (sub,neg) should not be transformed to (sub) for floating point operations, otherwise we can lose the sign of zero for instructions like this: - (A - B) != B - A if B == A Change-Id: I4d612612d4dc0a067fac5721ad206f74168bcd36 Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>