aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdwin Lu <ewlu@rivosinc.com>2023-09-11 09:57:37 -0700
committerEdwin Lu <ewlu@rivosinc.com>2023-09-11 09:57:37 -0700
commit25c30049f5896ef6312cf45a1c058ee3e3079e6a (patch)
tree512ca4f4ef693526461218feb5580b422dcaf7c2
parent4074aede45e3d8fbdb8fe28e1f084e869d3546f5 (diff)
downloadgcc-25c30049f5896ef6312cf45a1c058ee3e3079e6a.zip
gcc-25c30049f5896ef6312cf45a1c058ee3e3079e6a.tar.gz
gcc-25c30049f5896ef6312cf45a1c058ee3e3079e6a.tar.bz2
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>
-rw-r--r--gcc/config/riscv/riscv.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/riscv/riscv.md b/gcc/config/riscv/riscv.md
index 01cf623..6d6a2b3 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