Home | History | Annotate | Download | only in 474-fp-sub-neg
      1 Regression check for optimizing simplify instruction pass.
      2 
      3 A pair (sub, neg) should not be transforemd to (sub) for
      4 fp calculation because we can lose the sign of zero for
      5 the following expression:
      6   - ( A - B ) != B - A ; if B == A
      7 
      8 Addition or subtraction with fp zero should not be eliminated
      9 because:
     10   -0.0 + 0.0 = 0.0
     11   -0.0 - -0.0 = 0.0
     12