From: Michiel Derhaeg <[email protected]>
The old latency is more of a worst-case. Better to optimize for the
likely case.
Also update branding as the ARC brand+ip has been acquired by MIPS.
gcc/ChangeLog:
* config/riscv/arcv-rmx100.md (arcv_rmx100_load_insn):
Update latency.
(arcv_rmx100_fpload_insn): Merge with *_load_insn.
Signed-off-by: Michiel Derhaeg <[email protected]>
---
gcc/config/riscv/arcv-rmx100.md | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/gcc/config/riscv/arcv-rmx100.md b/gcc/config/riscv/arcv-rmx100.md
index e573a456db1..fb34d1202e4 100644
--- a/gcc/config/riscv/arcv-rmx100.md
+++ b/gcc/config/riscv/arcv-rmx100.md
@@ -1,4 +1,4 @@
-;; DFA scheduling description of the Synopsys RMX-100 cpu
+;; DFA scheduling description of the ARC-V RMX-100 cpu
;; for GNU C compiler
;; Copyright (C) 2026 Free Software Foundation, Inc.
@@ -51,9 +51,9 @@
(eq_attr "type" "imul"))
"arcv_rmx100_MPY")
-(define_insn_reservation "arcv_rmx100_load_insn" 3
+(define_insn_reservation "arcv_rmx100_load_insn" 1
(and (eq_attr "tune" "arcv_rmx100")
- (eq_attr "type" "load"))
+ (eq_attr "type" "load,fpload"))
"arcv_rmx100_DMP")
(define_insn_reservation "arcv_rmx100_store_insn" 1
@@ -63,11 +63,6 @@
;; FPU scheduling. This is based on the "fast" unit for now.
-(define_insn_reservation "arcv_rmx100_fpload_insn" 3
- (and (eq_attr "tune" "arcv_rmx100")
- (eq_attr "type" "fpload"))
- "arcv_rmx100_DMP")
-
(define_insn_reservation "arcv_rmx100_farith_insn" 2
(and (eq_attr "tune" "arcv_rmx100")
(eq_attr "type" "fadd,fcmp"))
--
2.55.0