diff options
author | Tom Wood <wood@gnu.org> | 1992-08-25 20:20:57 +0000 |
---|---|---|
committer | Tom Wood <wood@gnu.org> | 1992-08-25 20:20:57 +0000 |
commit | af93f7bf683f95f3d507ebee07f911f999d2fb79 (patch) | |
tree | 510cf56805016c3552b96ec0e702d5bc8438d3e5 | |
parent | c8e18a2bc7a88b90f4ebe497d02ec18e82798bef (diff) | |
download | gcc-af93f7bf683f95f3d507ebee07f911f999d2fb79.zip gcc-af93f7bf683f95f3d507ebee07f911f999d2fb79.tar.gz gcc-af93f7bf683f95f3d507ebee07f911f999d2fb79.tar.bz2 |
(define_function_unit): Change meaning to ISSUE-DELAY.
Merge FP_MUL, FP_DIV, and FP_SQRT into one function unit.
From-SVN: r1947
-rw-r--r-- | gcc/config/sparc/sparc.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md index b64f949..e897146 100644 --- a/gcc/config/sparc/sparc.md +++ b/gcc/config/sparc/sparc.md @@ -123,7 +123,7 @@ ;; Function units of the SPARC ;; (define_function_unit {name} {num-units} {n-users} {test} -;; {ready-delay} {busy-delay} [{conflict-list}]) +;; {ready-delay} {issue-delay} [{conflict-list}]) ;; The integer ALU. ;; (Noted only for documentation; units that take one cycle do not need to @@ -133,7 +133,7 @@ ;; (eq_attr "type" "unary,binary,move,address") 1 0) ;; Memory with load-delay of 1 (i.e., 2 cycle load). -(define_function_unit "memory" 1 0 (eq_attr "type" "load,fpload") 2 0) +(define_function_unit "memory" 1 1 (eq_attr "type" "load,fpload") 2 0) ;; SPARC has two floating-point units: the FP ALU, ;; and the FP MUL/DIV/SQRT unit. @@ -154,10 +154,10 @@ ;; The CY7C602 can only support 2 fp isnsn simultaneously. ;; More insns cause the chip to stall. -(define_function_unit "fp_alu" 1 2 (eq_attr "type" "fp") 5 0) -(define_function_unit "fp_mul" 1 2 (eq_attr "type" "fpmul") 7 0) -(define_function_unit "fp_div" 1 2 (eq_attr "type" "fpdiv") 37 0) -(define_function_unit "fp_sqrt" 1 2 (eq_attr "type" "fpsqrt") 63 0) +(define_function_unit "fp_alu" 1 1 (eq_attr "type" "fp") 5 0) +(define_function_unit "fp_mds" 1 1 (eq_attr "type" "fpmul") 7 0) +(define_function_unit "fp_mds" 1 1 (eq_attr "type" "fpdiv") 37 0) +(define_function_unit "fp_mds" 1 1 (eq_attr "type" "fpsqrt") 63 0) ;; Compare instructions. ;; This controls RTL generation and register allocation. |