fixed CRLF
authorChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Mon, 26 Feb 2007 17:03:40 +0000 (17:03 +0000)
committerChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Mon, 26 Feb 2007 17:03:40 +0000 (17:03 +0000)
changed ugly code of mode_honor_signed_zeros

[r8668]

ir/ir/irmode.c

index 6dfb284..77a6a87 100644 (file)
@@ -911,9 +911,9 @@ int mode_honor_signed_zeros(const ir_mode *mode) {
        /* for floating point, we know that IEEE 754 has +0 and -0,
         * but always handles it identical.
         */
-       if (mode->sort == irms_float_number)
-               return mode->arithmetic == irma_ieee754 ? 0 : 1;
-       return 0;
+       return
+               mode->sort == irms_float_number &&
+               mode->arithmetic != irma_ieee754;
 }
 
 /*