]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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 020833b92069d76b262ce71908e60e997699d0da..a10cee2a0dc78109a997c40df1d56a8e4d0cde58 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)]