Remove Iop_MullS64 irreducible check from valgrind-3.15.0-z14-misc.patch.
See https://sourceforge.net/p/valgrind/mailman/message/36734358/
This commit is contained in:
parent
475aa6089f
commit
2f861f7e3e
@ -601,31 +601,6 @@ index 8aa2ba67f..162550fd7 100644
|
|||||||
else
|
else
|
||||||
return s390_emit_MLGR(buf, r1, R0);
|
return s390_emit_MLGR(buf, r1, R0);
|
||||||
|
|
||||||
diff --git a/VEX/priv/host_s390_isel.c b/VEX/priv/host_s390_isel.c
|
|
||||||
index 9141b7bff..30e5c7620 100644
|
|
||||||
--- a/VEX/priv/host_s390_isel.c
|
|
||||||
+++ b/VEX/priv/host_s390_isel.c
|
|
||||||
@@ -1018,6 +1018,8 @@ s390_isel_int128_expr_wrk(HReg *dst_hi, HReg *dst_lo, ISelEnv *env,
|
|
||||||
goto do_multiply64;
|
|
||||||
|
|
||||||
case Iop_MullS64:
|
|
||||||
+ if (!(env->hwcaps & VEX_HWCAPS_S390X_MI2))
|
|
||||||
+ goto irreducible;
|
|
||||||
is_signed_multiply = True;
|
|
||||||
goto do_multiply64;
|
|
||||||
|
|
||||||
@@ -1125,7 +1127,10 @@ s390_isel_int128_expr_wrk(HReg *dst_hi, HReg *dst_lo, ISelEnv *env,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
- vpanic("s390_isel_int128_expr");
|
|
||||||
+ /* We get here if no pattern matched. */
|
|
||||||
+ irreducible:
|
|
||||||
+ ppIRExpr(expr);
|
|
||||||
+ vpanic("s390_isel_int128_expr: cannot reduce tree");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
diff --git a/VEX/priv/main_main.c b/VEX/priv/main_main.c
|
diff --git a/VEX/priv/main_main.c b/VEX/priv/main_main.c
|
||||||
index 97c0bacd6..3cfe8c1cb 100644
|
index 97c0bacd6..3cfe8c1cb 100644
|
||||||
--- a/VEX/priv/main_main.c
|
--- a/VEX/priv/main_main.c
|
||||||
|
Loading…
Reference in New Issue
Block a user