]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Power PC Add test suite support for ISA 3.0, part 1, fixes
authorCarl Love <cel@us.ibm.com>
Wed, 30 Mar 2016 20:07:03 +0000 (20:07 +0000)
committerCarl Love <cel@us.ibm.com>
Wed, 30 Mar 2016 20:07:03 +0000 (20:07 +0000)
This commit fixes a couple of compiler warnings found by the nightly
regression tests.  This is a fix to VEX commit 3214.

valgrind bugzilla 359767

git-svn-id: svn://svn.valgrind.org/vex/trunk@3215

VEX/priv/guest_ppc_toIR.c

index 04b30738ad05d9729eebbc03997dc40d72403916..bb8c37ab418f259892024bfab6e95f449e8ed98a 100644 (file)
@@ -16492,9 +16492,9 @@ dis_vx_load ( UInt theInstr )
                                          load( Ity_I16, irx_addr ) ),
                                    mkU8( 16 * (3 - i) ) ) );
 
-         assign( tmp_low[i+1],
-                 binop( Iop_Or64,
-                        mkexpr( h_word[i] ), mkexpr( tmp_low[i] ) ) );
+      assign( tmp_low[i+1],
+              binop( Iop_Or64,
+                     mkexpr( h_word[i] ), mkexpr( tmp_low[i] ) ) );
       }
 
       for ( i = 0; i < 4; i++ ) {
@@ -20865,7 +20865,6 @@ DisResult disInstr_PPC_WRK (
    Bool      allow_VX = False;  // Equates to "supports Power ISA 2.06
    Bool      allow_DFP = False;
    Bool      allow_isa_2_07 = False;
-   Bool      allow_isa_3_0  = False;
    UInt      hwcaps = archinfo->hwcaps;
    Long      delta;
 
@@ -20878,7 +20877,6 @@ DisResult disInstr_PPC_WRK (
       allow_VX = (0 != (hwcaps & VEX_HWCAPS_PPC64_VX));
       allow_DFP = (0 != (hwcaps & VEX_HWCAPS_PPC64_DFP));
       allow_isa_2_07 = (0 != (hwcaps & VEX_HWCAPS_PPC64_ISA2_07));
-      allow_isa_3_0  = (0 != (hwcaps & VEX_HWCAPS_PPC64_ISA3_0));
    } else {
       allow_F  = (0 != (hwcaps & VEX_HWCAPS_PPC32_F));
       allow_V  = (0 != (hwcaps & VEX_HWCAPS_PPC32_V));
@@ -20887,7 +20885,6 @@ DisResult disInstr_PPC_WRK (
       allow_VX = (0 != (hwcaps & VEX_HWCAPS_PPC32_VX));
       allow_DFP = (0 != (hwcaps & VEX_HWCAPS_PPC32_DFP));
       allow_isa_2_07 = (0 != (hwcaps & VEX_HWCAPS_PPC32_ISA2_07));
-      allow_isa_3_0  = (0 != (hwcaps & VEX_HWCAPS_PPC32_ISA3_0));
    }
 
    /* The running delta */