From: Jeff Law Date: Tue, 27 Dec 2022 23:57:09 +0000 (-0700) Subject: Commit right version of last patch (missing modes) X-Git-Tag: basepoints/gcc-14~2299 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=103f963e5cf6e7fe80395efc5fcede351420e25d;p=thirdparty%2Fgcc.git Commit right version of last patch (missing modes) gcc/ * config/riscv/riscv.md: Add missing modes to last patch.t --- diff --git a/gcc/config/riscv/riscv.md b/gcc/config/riscv/riscv.md index 020833b92069..a10cee2a0dc7 100644 --- a/gcc/config/riscv/riscv.md +++ b/gcc/config/riscv/riscv.md @@ -1677,7 +1677,8 @@ (define_insn_and_split "*mvconst_internal" [(set (match_operand:GPR 0 "register_operand" "=r") (match_operand:GPR 1 "splittable_const_int_operand" "i"))] - "!(p2m1_shift_operand (operands[1]) || high_mask_shift_operand (operands[1]))" + "!(p2m1_shift_operand (operands[1], mode) + || high_mask_shift_operand (operands[1], mode))" "#" "&& 1" [(const_int 0)]