public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-134] riscv: Fix <bitmanip_insn> fallout.
@ 2023-04-21  9:03 Robin Dapp
  0 siblings, 0 replies; only message in thread
From: Robin Dapp @ 2023-04-21  9:03 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:98d66b204932e343bbf940990914b949e8fccbd5

commit r14-134-g98d66b204932e343bbf940990914b949e8fccbd5
Author: Robin Dapp <rdapp@ventanamicro.com>
Date:   Fri Apr 21 09:38:06 2023 +0200

    riscv: Fix <bitmanip_insn> fallout.
    
    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.

Diff:
---
 gcc/config/riscv/generic.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/riscv/generic.md b/gcc/config/riscv/generic.md
index db4fabbbd92..2c3376628c3 100644
--- a/gcc/config/riscv/generic.md
+++ b/gcc/config/riscv/generic.md
@@ -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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-21  9:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-21  9:03 [gcc r14-134] riscv: Fix <bitmanip_insn> fallout Robin Dapp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).