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
73451ae7
Commit
73451ae7
authored
13 years ago
by
Georg-Johann Lay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/avr/avr.c (avr_rtx_costs): Set cost of SYMBOL_REF to 0.
From-SVN: r176516
parent
c2919dc8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/ChangeLog
+5
-1
gcc/config/avr/avr.c
+1
-1
No files found.
gcc/ChangeLog
View file @
73451ae7
2011-07-20 Georg-Johann Lay <avr@gjlay.de>
* config/avr/avr.c (avr_rtx_costs): Set cost of SYMBOL_REF to 0.
2011-07-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.c (s390_class_max_nregs): Fix return type.
...
...
@@ -907,7 +911,7 @@
* doc/tm.texi.in (TARGET_ASM_MERGEABLE_RODATA_PREFIX): Add hook.
* doc/tm.texi: Regenerate.
* target.def (mergeable_rodata_prefix: New defhookpod.
* target.def (mergeable_rodata_prefix
)
: New defhookpod.
* varasm.c (mergeable_string_section, mergeable_constant_section):
Use it. Allocate name with alloca.
...
...
This diff is collapsed.
Click to expand it.
gcc/config/avr/avr.c
View file @
73451ae7
...
...
@@ -5332,6 +5332,7 @@ avr_rtx_costs (rtx x, int codearg, int outer_code ATTRIBUTE_UNUSED, int *total,
{
case
CONST_INT
:
case
CONST_DOUBLE
:
case
SYMBOL_REF
:
/* Immediate constants are as cheap as registers. */
*
total
=
0
;
return
true
;
...
...
@@ -5339,7 +5340,6 @@ avr_rtx_costs (rtx x, int codearg, int outer_code ATTRIBUTE_UNUSED, int *total,
case
MEM
:
case
CONST
:
case
LABEL_REF
:
case
SYMBOL_REF
:
*
total
=
COSTS_N_INSNS
(
GET_MODE_SIZE
(
mode
));
return
true
;
...
...
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