]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Update Types for RISC-V Instructions
authorEdwin Lu <ewlu@rivosinc.com>
Mon, 11 Sep 2023 16:57:37 +0000 (09:57 -0700)
committerEdwin Lu <ewlu@rivosinc.com>
Mon, 11 Sep 2023 16:57:37 +0000 (09:57 -0700)
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>
gcc/config/riscv/riscv.md

index 01cf623c0482c2bc401e3bce54dd3d73e21a03ac..6d6a2b3748c0c543b51f9c8f553cfb19606ebca8 100644 (file)
   "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")])
 
 
   "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"
   "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