public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/riscv/heads/gcc-13-with-riscv-opts)] RISC-V: Update Types for RISC-V Instructions
@ 2023-09-18 18:24 Jeff Law
  0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2023-09-18 18:24 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:1bba87996278a70c700da6dc72534f52d5a087fa

commit 1bba87996278a70c700da6dc72534f52d5a087fa
Author: Edwin Lu <ewlu@rivosinc.com>
Date:   Mon Sep 11 09:57:37 2023 -0700

    RISC-V: Update Types for RISC-V Instructions
    
    Adds types to riscv instructions that were added or were
    missed by the original patch
    https://gcc.gnu.org/pipermail/gcc-patches/2023-August/628996.html
    
    gcc/ChangeLog:
    
            * config/riscv/riscv.md: Update types
    
    Signed-off-by: Edwin Lu <ewlu@rivosinc.com>
    (cherry picked from commit 25c30049f5896ef6312cf45a1c058ee3e3079e6a)

Diff:
---
 gcc/config/riscv/riscv.md | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gcc/config/riscv/riscv.md b/gcc/config/riscv/riscv.md
index 01cf623c048..6d6a2b3748c 100644
--- a/gcc/config/riscv/riscv.md
+++ b/gcc/config/riscv/riscv.md
@@ -2228,6 +2228,7 @@
   "TARGET_HARD_FLOAT && !TARGET_64BIT && TARGET_ZFA"
   "fmv.x.w\t%0,%1"
   [(set_attr "move_type" "fmove")
+   (set_attr "type" "fmove")
    (set_attr "mode" "DF")])
 
 
@@ -2240,6 +2241,7 @@
   "TARGET_HARD_FLOAT && !TARGET_64BIT && TARGET_ZFA"
   "fmvh.x.d\t%0,%1"
   [(set_attr "move_type" "fmove")
+   (set_attr "type" "fmove")
    (set_attr "mode" "DF")])
 
 (define_insn "movdfsisi3_rv32"
@@ -2252,6 +2254,7 @@
   "TARGET_HARD_FLOAT && !TARGET_64BIT && TARGET_ZFA"
   "fmvp.d.x\t%0,%2,%1"
   [(set_attr "move_type" "fmove")
+   (set_attr "type" "fmove")
    (set_attr "mode" "DF")])
 
 (define_split

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

only message in thread, other threads:[~2023-09-18 18:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-18 18:24 [gcc(refs/vendors/riscv/heads/gcc-13-with-riscv-opts)] RISC-V: Update Types for RISC-V Instructions Jeff Law

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).