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
328402a9
Commit
328402a9
authored
11 years ago
by
Richard Earnshaw
Committed by
Richard Earnshaw
11 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* aarch64.c (aarch64_rtx_costs): Fix cost calculation for MADD.
From-SVN: r206363
parent
0a15a50e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
gcc/ChangeLog
+4
-0
gcc/config/aarch64/aarch64.c
+3
-0
No files found.
gcc/ChangeLog
View file @
328402a9
2014-01-06 Richard Earnshaw <rearnsha@arm.com>
* aarch64.c (aarch64_rtx_costs): Fix cost calculation for MADD.
2014-01-06 Martin Jambor <mjambor@suse.cz>
PR ipa/59008
...
...
This diff is collapsed.
Click to expand it.
gcc/config/aarch64/aarch64.c
View file @
328402a9
...
...
@@ -4643,12 +4643,15 @@ aarch64_rtx_costs (rtx x, int code, int outer ATTRIBUTE_UNUSED,
extra_cost
->
mult
[
GET_MODE
(
x
)
==
DImode
].
extend_add
;
return
true
;
}
*
cost
+=
(
rtx_cost
(
XEXP
(
op0
,
0
),
MULT
,
0
,
speed
)
+
rtx_cost
(
XEXP
(
op0
,
1
),
MULT
,
1
,
speed
)
+
rtx_cost
(
op1
,
PLUS
,
1
,
speed
));
if
(
speed
)
*
cost
+=
extra_cost
->
mult
[
GET_MODE
(
x
)
==
DImode
].
add
;
return
true
;
}
*
cost
+=
(
rtx_cost
(
new_op0
,
PLUS
,
0
,
speed
)
...
...
This diff is collapsed.
Click to expand it.
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