From: Florian Krohm Date: Sat, 7 Jun 2025 12:12:56 +0000 (+0000) Subject: s390x: Fix thinko, remove a few fixs390's X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=67e6e1c4c2fa7847ab7cb14360814599520932c6;p=thirdparty%2Fvalgrind.git s390x: Fix thinko, remove a few fixs390's All of VEX's Iops are side effect free. They don't set the condition code. Therefore, when emitting a VCEQ, VPK[L]S or VCH[L] the 'set cc' field is 0. Nothing to fix here. --- diff --git a/VEX/priv/host_s390_defs.c b/VEX/priv/host_s390_defs.c index e26ea09d4..08a34a5fa 100644 --- a/VEX/priv/host_s390_defs.c +++ b/VEX/priv/host_s390_defs.c @@ -5813,7 +5813,6 @@ static UChar* s390_emit_VCEQ(UChar *p, UChar v1, UChar v2, UChar v3, UChar m4) { if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) - /* fixs390: m5 = 0 --> condition code not set */ S390_DISASM(XMNM("vceq", vch_like_disasm), VR(v1), VR(v2), VR(v3), MASK(m4), MASK(0)); return emit_VRR_VVVM(p, 0xE700000000f8ULL, v1, v2, v3, m4); @@ -5844,7 +5843,6 @@ static UChar * s390_emit_VPKS(UChar *p, UChar v1, UChar v2, UChar v3, UChar m4) { if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) - /* fixs390: m5 = 0 --> condition code not set */ S390_DISASM(XMNM("vpks", vch_like_disasm), VR(v1), VR(v2), VR(v3), MASK(m4), MASK(0)); return emit_VRR_VVVM(p, 0xE70000000097ULL, v1, v2, v3, m4); @@ -5855,7 +5853,6 @@ static UChar * s390_emit_VPKLS(UChar *p, UChar v1, UChar v2, UChar v3, UChar m4) { if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) - /* fixs390: m5 = 0 --> condition code not set */ S390_DISASM(XMNM("vpkls", vch_like_disasm), VR(v1), VR(v2), VR(v3), MASK(m4), MASK(0)); return emit_VRR_VVVM(p, 0xE70000000095ULL, v1, v2, v3, m4); @@ -5952,7 +5949,6 @@ static UChar * s390_emit_VCH(UChar *p, UChar v1, UChar v2, UChar v3, UChar m4) { if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) - /* fixs390: m5 = 0 --> condition code not set */ S390_DISASM(XMNM("vch", vch_like_disasm), VR(v1), VR(v2), VR(v3), MASK(m4), MASK(0)); return emit_VRR_VVVM(p, 0xE700000000fbULL, v1, v2, v3, m4); @@ -5962,7 +5958,6 @@ static UChar * s390_emit_VCHL(UChar *p, UChar v1, UChar v2, UChar v3, UChar m4) { if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) - /* fixs390: m5 = 0 --> condition code not set */ S390_DISASM(XMNM("vchl", vch_like_disasm), VR(v1), VR(v2), VR(v3), MASK(m4), MASK(0)); return emit_VRR_VVVM(p, 0xE700000000f9ULL, v1, v2, v3, m4);