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
cd6b7bc6
Commit
cd6b7bc6
authored
Aug 31, 2008
by
Hans-Peter Nilsson
Committed by
Hans-Peter Nilsson
Aug 31, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/cris/cris.c (cris_rtx_costs): Correct call to rtx_costs.
From-SVN: r139840
parent
9e2af376
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/ChangeLog
+4
-0
gcc/config/cris/cris.c
+1
-1
No files found.
gcc/ChangeLog
View file @
cd6b7bc6
2008
-
08
-
31
Hans
-
Peter
Nilsson
<
hp
@axis
.
com
>
*
config
/
cris
/
cris
.
c
(
cris_rtx_costs
)
:
Correct
call
to
rtx_costs
.
2008
-
08
-
31
Aaron
W
.
LaFramboise
<
aaronavay62
@aaronwl
.
com
>
*
gthr
-
win32
.
h
(
__gthread_setspecific
)
:
Use
CONST_CAST2
.
...
...
gcc/config/cris/cris.c
View file @
cd6b7bc6
...
...
@@ -1834,7 +1834,7 @@ cris_rtx_costs (rtx x, int code, int outer_code, int *total,
&&
!
CONST_INT_P
(
XEXP
(
x
,
0
))
&&
!
CRIS_CONST_OK_FOR_LETTER_P
(
INTVAL
(
XEXP
(
x
,
1
)),
'I'
))
{
*
total
=
(
rtx_cost
(
XEXP
(
x
,
0
),
outer_code
)
+
2
*
total
=
(
rtx_cost
(
XEXP
(
x
,
0
),
outer_code
,
speed
)
+
2
+
2
*
GET_MODE_NUNITS
(
GET_MODE
(
XEXP
(
x
,
0
))));
return
true
;
}
...
...
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