]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Formatting only change.
authorFlorian Krohm <florian@eich-krohm.de>
Sun, 25 Nov 2012 01:22:27 +0000 (01:22 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Sun, 25 Nov 2012 01:22:27 +0000 (01:22 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@2567

VEX/priv/guest_s390_helpers.c

index d4f31da5d61be85252b44eeb3efc4b759d9ce7af..8169916ec7ce239422770e6378bf8715b89b916c 100644 (file)
@@ -1534,11 +1534,12 @@ guest_s390x_spechelper(const HChar *function_name, IRExpr **args,
             return unop(Iop_1Uto32, binop(Iop_CmpLT64S, mkU64(0), cc_dep1));
          }
          if (cond == 8 + 2 || cond == 8 + 2 + 1) {
-            /* special case =0 || >0 to handle some gcc magic that only checks
-             * the first bit. Fixes 308427
+            /* Special case cc_dep >= 0. Only check the MSB to avoid bogus
+               memcheck complaints due to gcc magic. Fixes 308427
              */
-            return unop(Iop_64to32, binop(Iop_Xor64, binop(Iop_Shr64,cc_dep1,mkU8(63)),
-                      mkU64(1)));
+            return unop(Iop_64to32, binop(Iop_Xor64,
+                                          binop(Iop_Shr64, cc_dep1, mkU8(63)),
+                                          mkU64(1)));
          }
          if (cond == 8 + 4 + 2 || cond == 8 + 4 + 2 + 1) {
             return mkU32(1);