OSDN Git Service

(define_function_unit): Change meaning to ISSUE-DELAY.
authorwood <wood@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Aug 1992 20:19:49 +0000 (20:19 +0000)
committerwood <wood@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Aug 1992 20:19:49 +0000 (20:19 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1946 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/a29k/a29k.md
gcc/config/i960/i960.md
gcc/config/mips/mips.md
gcc/config/pa/pa.md

index abfba4d..8f73924 100644 (file)
   [(eq_attr "in_delay_slot" "yes") (nil) (nil)])
 
 ;; Define the function unit usages.  We first define memory as a unit.
-(define_function_unit "memory" 1 2 (eq_attr "type" "load") 6 11)
-(define_function_unit "memory" 1 2 (eq_attr "type" "store") 1 0)
+(define_function_unit "memory" 1 0 (eq_attr "type" "load") 6 5
+  [(eq_attr "type" "load")])
+(define_function_unit "memory" 1 0 (eq_attr "type" "load") 6 6
+  [(eq_attr "type" "store")])
+(define_function_unit "memory" 1 0 (eq_attr "type" "store") 1 0)
 
 ;; Now define the function units for the floating-point support.  Most
 ;; units are pipelined and can accept an input every cycle.
 ;; floating-point rounder.  It isn't clear how to represent this.
 
 (define_function_unit "multiplier" 1 0 (eq_attr "type" "fmul") 3 0)
-(define_function_unit "multiplier" 1 0 (eq_attr "type" "dmul") 6 8)
-(define_function_unit "multiplier" 1 0 (eq_attr "type" "fam") 6 8)
-(define_function_unit "multiplier" 1 0 (eq_attr "type" "dam") 9 8)
+(define_function_unit "multiplier" 1 0 (eq_attr "type" "dmul") 6 4)
+(define_function_unit "multiplier" 1 0 (eq_attr "type" "fam") 6 0)
+(define_function_unit "multiplier" 1 0 (eq_attr "type" "dam") 9 4)
 
 (define_function_unit "adder" 1 0 (eq_attr "type" "fadd,fam,dam") 3 0)
 
-(define_function_unit "divider" 1 1 (eq_attr "type" "fdiv") 11 20)
-(define_function_unit "divider" 1 1 (eq_attr "type" "ddiv") 18 34)
+(define_function_unit "divider" 1 0 (eq_attr "type" "fdiv") 11 10)
+(define_function_unit "divider" 1 0 (eq_attr "type" "ddiv") 18 17)
 \f
 ;; ADD
 (define_insn "addsi3"
index fbb3a4e..d1c2417 100644 (file)
@@ -48,7 +48,7 @@
    (set_attr "type" "multi")])
 
 ;; (define_function_unit {name} {num-units} {n-users} {test}
-;;                       {ready-delay} {busy-delay} [{conflict-list}])
+;;                       {ready-delay} {issue-delay} [{conflict-list}])
 
 ;; The integer ALU
 (define_function_unit "alu" 2 0 (eq_attr "type" "arith,compare,move,address") 1 0)
index a92c9d5..9bb8ae7 100644 (file)
 ;; .........................
 
 ; (define_function_unit NAME MULTIPLICITY SIMULTANEITY
-;                      TEST READY-DELAY BUSY-DELAY [CONFLICT-LIST])
+;                      TEST READY-DELAY ISSUE-DELAY [CONFLICT-LIST])
 
 ;; Make the default case (PROCESSOR_DEFAULT) handle the worst case
 
 
 (define_function_unit "imuldiv"  1 1
   (and (eq_attr "type" "imul") (eq_attr "cpu" "!r3000,r4000"))
-  17 34)
+  17 0)
 
 (define_function_unit "imuldiv"  1 1
   (and (eq_attr "type" "imul") (eq_attr "cpu" "r3000"))
-  12 24)
+  12 0)
 
 (define_function_unit "imuldiv" 1 1
   (and (eq_attr "type" "imul") (eq_attr "cpu" "r4000"))
-  10 20)
+  10 0)
 
 (define_function_unit "imuldiv"  1 1
   (and (eq_attr "type" "idiv") (eq_attr "cpu" "!r3000,r4000"))
-  38 76)
+  38 0)
 
 (define_function_unit "imuldiv"  1 1
   (and (eq_attr "type" "idiv") (eq_attr "cpu" "r3000"))
-  35 70)
+  35 0)
 
 (define_function_unit "imuldiv" 1 1
   (and (eq_attr "type" "idiv") (eq_attr "cpu" "r4000"))
-  69 138)
+  69 0)
 
 (define_function_unit "adder" 1 1
   (and (eq_attr "type" "fadd") (eq_attr "cpu" "!r3000,r6000"))
-  4 8)
+  4 0)
 
 (define_function_unit "adder" 1 1
   (and (eq_attr "type" "fadd") (eq_attr "cpu" "r3000"))
-  2 4)
+  2 0)
 
 (define_function_unit "adder" 1 1
   (and (eq_attr "type" "fadd") (eq_attr "cpu" "r6000"))
-  3 6)
+  3 0)
 
 (define_function_unit "adder" 1 1
   (and (eq_attr "type" "fabs,fneg") (eq_attr "cpu" "!r3000"))
-  2 4)
+  2 0)
 
 (define_function_unit "adder" 1 1
   (and (eq_attr "type" "fabs,fneg") (eq_attr "cpu" "r3000"))
-  1 2)
+  1 0)
 
 (define_function_unit "mult" 1 1
   (and (eq_attr "type" "fmul") (and (eq_attr "mode" "SF") (eq_attr "cpu" "!r3000,r6000")))
-  7 14)
+  7 0)
 
 (define_function_unit "mult" 1 1
   (and (eq_attr "type" "fmul") (and (eq_attr "mode" "SF") (eq_attr "cpu" "r3000")))
-  4 8)
+  4 0)
 
 (define_function_unit "mult" 1 1
   (and (eq_attr "type" "fmul") (and (eq_attr "mode" "SF") (eq_attr "cpu" "r6000")))
-  5 10)
+  5 0)
 
 (define_function_unit "mult" 1 1
   (and (eq_attr "type" "fmul") (and (eq_attr "mode" "DF") (eq_attr "cpu" "!r3000,r6000")))
-  8 16)
+  8 0)
 
 (define_function_unit "mult" 1 1
   (and (eq_attr "type" "fmul") (and (eq_attr "mode" "DF") (eq_attr "cpu" "r3000")))
-  5 10)
+  5 0)
 
 (define_function_unit "mult" 1 1
   (and (eq_attr "type" "fmul") (and (eq_attr "mode" "DF") (eq_attr "cpu" "r6000")))
-  6 12)
+  6 0)
 
 (define_function_unit "divide" 1 1
   (and (eq_attr "type" "fdiv") (and (eq_attr "mode" "SF") (eq_attr "cpu" "!r3000,r6000")))
-  23 46)
+  23 0)
 
 (define_function_unit "divide" 1 1
   (and (eq_attr "type" "fdiv") (and (eq_attr "mode" "SF") (eq_attr "cpu" "r3000")))
-  12 24)
+  12 0)
 
 (define_function_unit "divide" 1 1
   (and (eq_attr "type" "fdiv") (and (eq_attr "mode" "SF") (eq_attr "cpu" "r6000")))
-  15 30)
+  15 0)
 
 (define_function_unit "divide" 1 1
   (and (eq_attr "type" "fdiv") (and (eq_attr "mode" "DF") (eq_attr "cpu" "!r3000,r6000")))
-  36 72)
+  36 0)
 
 (define_function_unit "divide" 1 1
   (and (eq_attr "type" "fdiv") (and (eq_attr "mode" "DF") (eq_attr "cpu" "r3000")))
-  19 34)
+  19 0)
 
 (define_function_unit "divide" 1 1
   (and (eq_attr "type" "fdiv") (and (eq_attr "mode" "DF") (eq_attr "cpu" "r6000")))
-  16 32)
+  16 0)
 
-(define_function_unit "divide" 1 1 (and (eq_attr "type" "fsqrt") (eq_attr "mode" "SF"))  54 108)
-(define_function_unit "divide" 1 1 (and (eq_attr "type" "fsqrt") (eq_attr "mode" "DF")) 112 224)
+(define_function_unit "divide" 1 1 (and (eq_attr "type" "fsqrt") (eq_attr "mode" "SF"))  54 0)
+(define_function_unit "divide" 1 1 (and (eq_attr "type" "fsqrt") (eq_attr "mode" "DF")) 112 0)
 
 \f
 ;; The following functional units do not use the cpu type, and use
 ;; much less memory in genattrtab.c.
 
-;; (define_function_unit "memory"   1 0 (eq_attr "type" "load")                                3   0)
-;; (define_function_unit "memory"   1 0 (eq_attr "type" "store")                               1   0)
+;; (define_function_unit "memory"   1 0 (eq_attr "type" "load")                                3 0)
+;; (define_function_unit "memory"   1 0 (eq_attr "type" "store")                               1 0)
 ;;       
-;; (define_function_unit "fp_comp"  1 0 (eq_attr "type" "fcmp")                                2   0)
+;; (define_function_unit "fp_comp"  1 0 (eq_attr "type" "fcmp")                                2 0)
 ;;       
-;; (define_function_unit "transfer" 1 0 (eq_attr "type" "xfer")                                2   0)
-;; (define_function_unit "transfer" 1 0 (eq_attr "type" "hilo")                                3   0)
+;; (define_function_unit "transfer" 1 0 (eq_attr "type" "xfer")                                2 0)
+;; (define_function_unit "transfer" 1 0 (eq_attr "type" "hilo")                                3 0)
 ;;   
-;; (define_function_unit "imuldiv"  1 1 (eq_attr "type" "imul")                               17  34)
-;; (define_function_unit "imuldiv"  1 1 (eq_attr "type" "idiv")                               38  76)
+;; (define_function_unit "imuldiv"  1 1 (eq_attr "type" "imul")                               17 0)
+;; (define_function_unit "imuldiv"  1 1 (eq_attr "type" "idiv")                               38 0)
 ;;   
-;; (define_function_unit "adder"    1 1 (eq_attr "type" "fadd")                                4   8)
-;; (define_function_unit "adder"    1 1 (eq_attr "type" "fabs,fneg")                           2   4)
+;; (define_function_unit "adder"    1 1 (eq_attr "type" "fadd")                                4 0)
+;; (define_function_unit "adder"    1 1 (eq_attr "type" "fabs,fneg")                           2 0)
 ;;   
-;; (define_function_unit "mult"     1 1 (and (eq_attr "type" "fmul") (eq_attr "mode" "SF"))    7  14)
-;; (define_function_unit "mult"     1 1 (and (eq_attr "type" "fmul") (eq_attr "mode" "DF"))    8  16)
+;; (define_function_unit "mult"     1 1 (and (eq_attr "type" "fmul") (eq_attr "mode" "SF"))    7 0)
+;; (define_function_unit "mult"     1 1 (and (eq_attr "type" "fmul") (eq_attr "mode" "DF"))    8 0)
 ;;   
-;; (define_function_unit "divide"   1 1 (and (eq_attr "type" "fdiv") (eq_attr "mode" "SF"))   23  46)
-;; (define_function_unit "divide"   1 1 (and (eq_attr "type" "fdiv") (eq_attr "mode" "DF"))   36  72)
+;; (define_function_unit "divide"   1 1 (and (eq_attr "type" "fdiv") (eq_attr "mode" "SF"))   23 0)
+;; (define_function_unit "divide"   1 1 (and (eq_attr "type" "fdiv") (eq_attr "mode" "DF"))   36 0)
 ;; 
-;; (define_function_unit "sqrt"     1 1 (and (eq_attr "type" "fsqrt") (eq_attr "mode" "SF"))  54 108)
-;; (define_function_unit "sqrt"     1 1 (and (eq_attr "type" "fsqrt") (eq_attr "mode" "DF")) 112 224)
+;; (define_function_unit "sqrt"     1 1 (and (eq_attr "type" "fsqrt") (eq_attr "mode" "SF"))  54 0)
+;; (define_function_unit "sqrt"     1 1 (and (eq_attr "type" "fsqrt") (eq_attr "mode" "DF")) 112 0)
 
 \f
 ;;
index 65ffba3..bfa7c66 100644 (file)
@@ -94,7 +94,7 @@
 ;; constraints shouldn't hurt.
 
 ;; (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