]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove a unneeded / unnecessary prefix check.
authorCarl Love <cel@us.ibm.com>
Fri, 3 Sep 2021 16:36:31 +0000 (16:36 +0000)
committerCarl Love <cel@us.ibm.com>
Tue, 7 Sep 2021 18:31:50 +0000 (13:31 -0500)
The pstxvp instruction is valid for R=1, i.e. use pc relative addressing.
The test should have been remmoved before committing the ISA 3.1 support.

https://bugs.kde.org/show_bug.cgi?id=441512

NEWS
VEX/priv/guest_ppc_toIR.c

diff --git a/NEWS b/NEWS
index 66a4b8d8bc5938c0cfbe07736b992f4f90a97665..5643be5e47610508fce1b9c2da54aa35eb117762 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -52,6 +52,7 @@ are not entered into bugzilla tend to get forgotten about or ignored.
 439590  glibc-2.34 breaks suppressions against obj:*/lib*/libc-2.*so*
 440670  unhandled ppc64le-linux syscall: 252 (statfs64) and 253 (fstatfs64)
 432387  s390x: z15 instructions support
+441512  Remove a unneeded / unnecessary prefix check.
 
 To see details of a given bug, visit
   https://bugs.kde.org/show_bug.cgi?id=XXXXXX
index f223fe94568f23b6b388adc2e972afba221cb8b9..57ac7bcf481783c35eee195aa115d2b2c06d5ffa 100644 (file)
@@ -14563,12 +14563,6 @@ static Bool dis_fp_pair_prefix ( UInt prefix, UInt theInstr )
       pDIP( is_prefix, "stxvp %u,%llu(%u)\n", XTp, immediate_val, rA_addr );
       DIPp( is_prefix, ",%u", R );
 
-      if ( R == 1 ) {
-         vex_printf("Illegal instruction R = 1; pstxvp %u,%llu(%u)\n",
-                    XTp, immediate_val, rA_addr );
-         return False;
-      }
-
       assign( EA_8, binop( Iop_Add64, mkU64( 8 ), mkexpr( EA ) ) );
       assign( EA_16, binop( Iop_Add64, mkU64( 16 ), mkexpr( EA ) ) );
       assign( EA_24, binop( Iop_Add64, mkU64( 24 ), mkexpr( EA ) ) );