]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
s390x decode_bfp_rounding_mode: complete list of rounding modes.
authorFlorian Krohm <flo2030@eich-krohm.de>
Sat, 15 Nov 2025 11:35:07 +0000 (11:35 +0000)
committerFlorian Krohm <flo2030@eich-krohm.de>
Sat, 15 Nov 2025 11:38:13 +0000 (11:38 +0000)
VEX/priv/guest_s390_helpers.c

index d5e683ab21596d22f8e8a52b73f0175100524d1f..431967e076e9ab18f6850786aeb9b015bc8a8642 100644 (file)
@@ -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");
 }