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
ae8b3cd8
Commit
ae8b3cd8
authored
Oct 22, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(pa_adjust_cost): Use pa_cpu, not pa_cpu_attr.
From-SVN: r10505
parent
4db7b4ce
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
gcc/config/pa/pa.c
+6
-6
No files found.
gcc/config/pa/pa.c
View file @
ae8b3cd8
...
...
@@ -2621,7 +2621,7 @@ pa_adjust_cost (insn, link, dep_insn, cost)
case
TYPE_FPLOAD
:
/* This cost 3 cycles, not 2 as the md says for the
700 and 7100. Note scaling of cost for 7100. */
return
cost
+
(
pa_cpu
_attr
==
PROCESSOR_700
)
?
1
:
2
;
return
cost
+
(
pa_cpu
==
PROCESSOR_700
)
?
1
:
2
;
case
TYPE_FPALU
:
case
TYPE_FPMULSGL
:
...
...
@@ -2632,7 +2632,7 @@ pa_adjust_cost (insn, link, dep_insn, cost)
case
TYPE_FPSQRTDBL
:
/* In these important cases, we save one cycle compared to
when flop instruction feed each other. */
return
cost
-
(
pa_cpu
_attr
==
PROCESSOR_700
)
?
1
:
2
;
return
cost
-
(
pa_cpu
==
PROCESSOR_700
)
?
1
:
2
;
default
:
return
cost
;
...
...
@@ -2680,7 +2680,7 @@ pa_adjust_cost (insn, link, dep_insn, cost)
preceding arithmetic operation has finished if
the target of the fpload is any of the sources
(or destination) of the arithmetic operation. */
return
cost
-
(
pa_cpu
_attr
==
PROCESSOR_700
)
?
1
:
2
;
return
cost
-
(
pa_cpu
==
PROCESSOR_700
)
?
1
:
2
;
default
:
return
0
;
...
...
@@ -2715,7 +2715,7 @@ pa_adjust_cost (insn, link, dep_insn, cost)
preceding divide or sqrt operation has finished if
the target of the ALU flop is any of the sources
(or destination) of the divide or sqrt operation. */
return
cost
-
(
pa_cpu
_attr
==
PROCESSOR_700
)
?
2
:
4
;
return
cost
-
(
pa_cpu
==
PROCESSOR_700
)
?
2
:
4
;
default
:
return
0
;
...
...
@@ -2761,7 +2761,7 @@ pa_adjust_cost (insn, link, dep_insn, cost)
preceding arithmetic operation has finished if
the target of the fpload is the destination of the
arithmetic operation. */
return
cost
-
(
pa_cpu
_attr
==
PROCESSOR_700
)
?
1
:
2
;
return
cost
-
(
pa_cpu
==
PROCESSOR_700
)
?
1
:
2
;
default
:
return
0
;
...
...
@@ -2796,7 +2796,7 @@ pa_adjust_cost (insn, link, dep_insn, cost)
preceding divide or sqrt operation has finished if
the target of the ALU flop is also the target of
of the divide or sqrt operation. */
return
cost
-
(
pa_cpu
_attr
==
PROCESSOR_700
)
?
2
:
4
;
return
cost
-
(
pa_cpu
==
PROCESSOR_700
)
?
2
:
4
;
default
:
return
0
;
...
...
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