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
a0a74fda
Commit
a0a74fda
authored
Jan 24, 1994
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(ADDRESS_COST): Define to 1.
From-SVN: r6425
parent
cf9188c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
gcc/config/sparc/sparc.h
+3
-4
No files found.
gcc/config/sparc/sparc.h
View file @
a0a74fda
...
@@ -1493,11 +1493,10 @@ extern struct rtx_def *legitimize_pic_address ();
...
@@ -1493,11 +1493,10 @@ extern struct rtx_def *legitimize_pic_address ();
return 0; \
return 0; \
return 8;
return 8;
/*
SPARC offers addressing modes which are "as cheap as a register".
/*
Compute the cost of an address. For the sparc, all valid addresses are
See sparc.c (or gcc.texinfo) for details
. */
the same cost
. */
#define ADDRESS_COST(RTX) \
#define ADDRESS_COST(RTX) 1
(GET_CODE (RTX) == REG ? 1 : sparc_address_cost (RTX))
/* Compute extra cost of moving data between one register class
/* Compute extra cost of moving data between one register class
and another. */
and another. */
...
...
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