rtx dest = gen_reg_rtx (mode);
insn_code icode = code_for_pred_mov (mode);
rtx ops3[] = {dest, tmp3, tmp1};
- emit_nonvlmax_insn (icode, __MASK_OP_TUMA | UNARY_OP_P, ops3, GEN_INT (n));
+ emit_nonvlmax_insn (icode, (unsigned) __MASK_OP_TUMA | UNARY_OP_P,
+ ops3, GEN_INT (n));
emit_move_insn (target, dest);
}
{
insn_code icode = code_for_pred_fcvt_x_f (UNSPEC_VFCVT, vec_mode);
- if (type & USE_VUNDEF_MERGE_P)
+ if (type & (insn_type) USE_VUNDEF_MERGE_P)
{
rtx cvt_x_ops[] = {op_dest, mask, op_src};
emit_vlmax_insn (icode, type, cvt_x_ops);
{
insn_code icode = code_for_pred (FIX, vec_mode);
- if (type & USE_VUNDEF_MERGE_P)
+ if (type & (insn_type) USE_VUNDEF_MERGE_P)
{
rtx cvt_x_ops[] = {op_dest, mask, op_src};
emit_vlmax_insn (icode, type, cvt_x_ops);
enum riscv_symbol_type symbol_type)
{
base = gen_rtx_UNSPEC (Pmode, gen_rtvec (1, base),
- UNSPEC_ADDRESS_FIRST + symbol_type);
+ UNSPEC_ADDRESS_FIRST + (int) symbol_type);
if (offset != const0_rtx)
base = gen_rtx_PLUS (Pmode, base, offset);
return gen_rtx_CONST (Pmode, base);