From: Florian Krohm Date: Sat, 15 Nov 2025 11:35:07 +0000 (+0000) Subject: s390x decode_bfp_rounding_mode: complete list of rounding modes. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=907ddc7cc2d4083de84428f7fa3b57285f2c2c58;p=thirdparty%2Fvalgrind.git s390x decode_bfp_rounding_mode: complete list of rounding modes. --- diff --git a/VEX/priv/guest_s390_helpers.c b/VEX/priv/guest_s390_helpers.c index d5e683ab2..431967e07 100644 --- a/VEX/priv/guest_s390_helpers.c +++ b/VEX/priv/guest_s390_helpers.c @@ -784,6 +784,10 @@ decode_bfp_rounding_mode(UInt irrm) case Irrm_ZERO: return S390_BFP_ROUND_ZERO; case Irrm_NEAREST_TIE_AWAY_0: return S390_BFP_ROUND_NEAREST_AWAY; case Irrm_PREPARE_SHORTER: return S390_BFP_ROUND_PREPARE_SHORT; + case Irrm_AWAY_FROM_ZERO: + case Irrm_NEAREST_TIE_TOWARD_0: + /* These cannot occur as they are DFP specific */ + break; } vpanic("decode_bfp_rounding_mode"); }