Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
da0ae67f
Commit
da0ae67f
authored
Dec 22, 1995
by
Michael Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Readd 403 support; Move compares well ahead of branch for PowerPC
From-SVN: r10832
parent
628448b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
gcc/config/rs6000/rs6000.md
+13
-3
No files found.
gcc/config/rs6000/rs6000.md
View file @
da0ae67f
...
...
@@ -65,7 +65,7 @@
(define_function_unit "iu" 1 0
(and (eq_attr "type" "load")
(eq_attr "cpu" "rios1,ppc601"))
(eq_attr "cpu" "rios1,ppc601
,ppc403
"))
2 1)
(define_function_unit "iu" 1 0
...
...
@@ -87,6 +87,11 @@
(define_function_unit "iu" 1 0
(and (eq_attr "type" "imul")
(eq_attr "cpu" "ppc403"))
4 4)
(define_function_unit "iu" 1 0
(and (eq_attr "type" "imul")
(eq_attr "cpu" "ppc601,ppc602,ppc603"))
5 5)
...
...
@@ -102,6 +107,11 @@
(define_function_unit "iu" 1 0
(and (eq_attr "type" "idiv")
(eq_attr "cpu" "ppc403"))
33 33)
(define_function_unit "iu" 1 0
(and (eq_attr "type" "idiv")
(eq_attr "cpu" "ppc602,ppc603"))
37 36)
...
...
@@ -175,7 +185,7 @@
(define_function_unit "bpu" 1 0
(and (eq_attr "type" "compare")
(eq_attr "cpu" "rios1,rios2,ppc
601
"))
(eq_attr "cpu" "rios1,rios2,ppc
403,ppc601,ppc603,ppc604,ppc620
"))
4 1)
; different machines have different compare timings
...
...
@@ -224,7 +234,7 @@
(define_function_unit "bpu" 1 0
(and (eq_attr "type" "mtjmpr")
(eq_attr "cpu" "ppc601,ppc602,ppc603,ppc604,ppc620"))
(eq_attr "cpu" "ppc
403,ppc
601,ppc602,ppc603,ppc604,ppc620"))
4 0)
; all jumps/branches are executing on the bpu, in 1 cycle, for all machines.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment