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
ee49a9c7
Commit
ee49a9c7
authored
May 22, 1996
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(nonzero_bits): Don't assume arg pointer has same
alignment as stack pointer. From-SVN: r12079
parent
bab34d98
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
gcc/combine.c
+6
-1
No files found.
gcc/combine.c
View file @
ee49a9c7
...
@@ -6974,8 +6974,13 @@ nonzero_bits (x, mode)
...
@@ -6974,8 +6974,13 @@ nonzero_bits (x, mode)
stack to be momentarily aligned only to that amount, so we pick
stack to be momentarily aligned only to that amount, so we pick
the least alignment. */
the least alignment. */
/* We can't check for arg_pointer_rtx here, because it is not
guaranteed to have as much alignment as the stack pointer.
In particular, in the Irix6 n64 ABI, the stack has 128 bit
alignment but the argument pointer has only 64 bit alignment. */
if
(
x
==
stack_pointer_rtx
||
x
==
frame_pointer_rtx
if
(
x
==
stack_pointer_rtx
||
x
==
frame_pointer_rtx
||
x
==
arg_pointer_rtx
||
x
==
hard_frame_pointer_rtx
||
x
==
hard_frame_pointer_rtx
||
(
REGNO
(
x
)
>=
FIRST_VIRTUAL_REGISTER
||
(
REGNO
(
x
)
>=
FIRST_VIRTUAL_REGISTER
&&
REGNO
(
x
)
<=
LAST_VIRTUAL_REGISTER
))
&&
REGNO
(
x
)
<=
LAST_VIRTUAL_REGISTER
))
{
{
...
...
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