]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
riscv: Fix <bitmanip_insn> fallout.
authorRobin Dapp <rdapp@ventanamicro.com>
Fri, 21 Apr 2023 07:38:06 +0000 (09:38 +0200)
committerRobin Dapp <rdapp@ventanamicro.com>
Fri, 21 Apr 2023 08:48:07 +0000 (10:48 +0200)
PR109582: Since r14-116 generic.md uses standard names instead of the
types defined in the <bitmanip_insn> iterator (that match instruction
names).  Change this.

gcc/ChangeLog:

PR target/109582
* config/riscv/generic.md: Change standard names to insn names.

gcc/config/riscv/generic.md

index db4fabbbd924f64363fb13e3214a448d7b7f700b..2c3376628c33072f42d7ac80e1c3a0acd0e04c2d 100644 (file)
@@ -27,7 +27,7 @@
 
 (define_insn_reservation "generic_alu" 1
   (and (eq_attr "tune" "generic")
-       (eq_attr "type" "unknown,const,arith,shift,slt,multi,auipc,nop,logical,move,bitmanip,smin,smax,umin,umax,clz,ctz,cpop"))
+       (eq_attr "type" "unknown,const,arith,shift,slt,multi,auipc,nop,logical,move,bitmanip,min,max,minu,maxu,clz,ctz,cpop"))
   "alu")
 
 (define_insn_reservation "generic_load" 3