Commit right version of last patch (missing modes)
authorJeff Law <jlaw@ventanamicro.com>
Tue, 27 Dec 2022 23:57:09 +0000 (16:57 -0700)
committerJeff Law <jlaw@ventanamicro.com>
Tue, 27 Dec 2022 23:57:09 +0000 (16:57 -0700)
gcc/

* config/riscv/riscv.md: Add missing modes to last patch.t

gcc/config/riscv/riscv.md

index 020833b..a10cee2 100644 (file)
 (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>mode)
+     || high_mask_shift_operand (operands[1], <MODE>mode))"
   "#"
   "&& 1"
   [(const_int 0)]