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
a1b46e46
Commit
a1b46e46
authored
Oct 27, 2012
by
Joern Rennecke
Committed by
Joern Rennecke
Oct 27, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lra-assigns.c (find_hard_regno_for): Fix use of WORDS_BIG_ENDIAN.
From-SVN: r192879
parent
4c7b9b1c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
gcc/ChangeLog
+4
-0
gcc/lra-assigns.c
+6
-9
No files found.
gcc/ChangeLog
View file @
a1b46e46
2012-10-27 Joern Rennecke <joern.rennecke@embecosm.com>
* lra-assigns.c (find_hard_regno_for): Fix use of WORDS_BIG_ENDIAN.
2012-10-27 Georg-Johann Lay <avr@gjlay.de>
2012-10-27 Georg-Johann Lay <avr@gjlay.de>
PR target/55034
PR target/55034
gcc/lra-assigns.c
View file @
a1b46e46
...
@@ -571,15 +571,12 @@ find_hard_regno_for (int regno, int *cost, int try_only_hard_regno)
...
@@ -571,15 +571,12 @@ find_hard_regno_for (int regno, int *cost, int try_only_hard_regno)
&&
HARD_REGNO_MODE_OK
(
hard_regno
,
PSEUDO_REGNO_MODE
(
regno
))
&&
HARD_REGNO_MODE_OK
(
hard_regno
,
PSEUDO_REGNO_MODE
(
regno
))
&&
!
TEST_HARD_REG_BIT
(
impossible_start_hard_regs
,
hard_regno
)
&&
!
TEST_HARD_REG_BIT
(
impossible_start_hard_regs
,
hard_regno
)
&&
(
nregs_diff
==
0
&&
(
nregs_diff
==
0
#ifdef WORDS_BIG_ENDIAN
||
(
WORDS_BIG_ENDIAN
||
(
hard_regno
-
nregs_diff
>=
0
?
(
hard_regno
-
nregs_diff
>=
0
&&
TEST_HARD_REG_BIT
(
reg_class_contents
[
rclass
],
&&
TEST_HARD_REG_BIT
(
reg_class_contents
[
rclass
],
hard_regno
-
nregs_diff
))
hard_regno
-
nregs_diff
))
#else
:
TEST_HARD_REG_BIT
(
reg_class_contents
[
rclass
],
||
TEST_HARD_REG_BIT
(
reg_class_contents
[
rclass
],
hard_regno
+
nregs_diff
))))
hard_regno
+
nregs_diff
)
#endif
))
{
{
if
(
hard_regno_costs_check
[
hard_regno
]
if
(
hard_regno_costs_check
[
hard_regno
]
!=
curr_hard_regno_costs_check
)
!=
curr_hard_regno_costs_check
)
...
...
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