;; Processor type -- this attribute must exactly match the processor_type
;; enumeration in rs6000.h.
-(define_attr "cpu" "rios,rios2,ppc601,ppc603,ppc604,ppc620"
+(define_attr "cpu" "rios1,rios2,ppc601,ppc603,ppc604,ppc620"
(const (symbol_ref "rs6000_cpu_attr")))
; (define_function_unit NAME MULTIPLICITY SIMULTANEITY
(define_function_unit "iu" 1 0
(and (eq_attr "type" "load")
- (eq_attr "cpu" "rios,rios2"))
+ (eq_attr "cpu" "rios1,rios2"))
2 0)
(define_function_unit "iu" 1 0
(and (eq_attr "type" "fpload")
- (eq_attr "cpu" "rios,rios2"))
+ (eq_attr "cpu" "rios1,rios2"))
3 0)
(define_function_unit "iu" 1 0
(and (eq_attr "type" "imul")
- (eq_attr "cpu" "rios,rios2"))
+ (eq_attr "cpu" "rios1,rios2"))
3 0)
(define_function_unit "iu" 1 0
(define_function_unit "iu" 1 0
(and (eq_attr "type" "idiv")
- (eq_attr "cpu" "rios,rios2"))
+ (eq_attr "cpu" "rios1,rios2"))
19 0)
(define_function_unit "iu" 1 0
(define_function_unit "bpu" 1 0
(and (eq_attr "type" "fpcompare")
- (eq_attr "cpu" "rios,rios2"))
+ (eq_attr "cpu" "rios1,rios2"))
8 0)
(define_function_unit "bpu" 1 0
(define_function_unit "bpu" 1 0
(and (eq_attr "type" "mtlr")
- (eq_attr "cpu" "rios,rios2"))
+ (eq_attr "cpu" "rios1,rios2"))
5 0)
(define_function_unit "bpu" 1 0
(define_function_unit "fpu" 1 0
(and (eq_attr "type" "fp")
- (eq_attr "cpu" "rios"))
+ (eq_attr "cpu" "rios1"))
2 0)
(define_function_unit "fpu" 1 0
(define_function_unit "fpu" 1 0
(and (eq_attr "type" "dmul")
- (eq_attr "cpu" "rios"))
+ (eq_attr "cpu" "rios1"))
2 0)
(define_function_unit "fpu" 1 0
(define_function_unit "fpu" 1 0
(and (eq_attr "type" "sdiv")
- (eq_attr "cpu" "rios"))
+ (eq_attr "cpu" "rios1"))
19 0)
(define_function_unit "fpu" 1 0
(define_function_unit "fpu" 1 0
(and (eq_attr "type" "ddiv")
- (eq_attr "cpu" "rios"))
+ (eq_attr "cpu" "rios1"))
19 0)
(define_function_unit "fpu" 1 0
(define_function_unit "fpu2" 2 0
(and (eq_attr "type" "fp")
- (eq_attr "cpu" "rios2"))
+ (eq_attr "cpu" "rios12"))
2 0)
(define_function_unit "fpu2" 2 0