+2017-06-30 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
+
+ * config/s390/s390.c (s390_expand_setmem): Adjust to the new data
+ type for branch probabilities.
+
2017-06-29 Julian Brown <julian@codesourcery.com>
Naveen H.S <Naveen.Hurugalawadi@cavium.com>
void
s390_expand_setmem (rtx dst, rtx len, rtx val)
{
- const int very_unlikely = REG_BR_PROB_BASE / 100 - 1;
-
if (GET_CODE (len) == CONST_INT && INTVAL (len) <= 0)
return;
convert_move (count, len, 1);
emit_cmp_and_jump_insns (count, const0_rtx,
EQ, NULL_RTX, mode, 1, zerobyte_end_label,
- very_unlikely);
+ profile_probability::very_unlikely ());
/* We need to make a copy of the target address since memset is
supposed to return it unmodified. We have to make it here
dstp1 = adjust_address (dst, VOIDmode, 1);
emit_cmp_and_jump_insns (count,
const1_rtx, EQ, NULL_RTX, mode, 1,
- onebyte_end_label, very_unlikely);
+ onebyte_end_label,
+ profile_probability::very_unlikely ());
}
/* There is one unconditional (mvi+mvc)/xc after the loop