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
f95e79cc
Commit
f95e79cc
authored
Dec 31, 2001
by
Richard Henderson
Committed by
Richard Henderson
Dec 31, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/ia64/ia64.c (mark_reg_gr_used_mask): Mind HARD_REGNO_NREGS.
From-SVN: r48437
parent
a4219437
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
+9
-1
gcc/ChangeLog
+4
-0
gcc/config/ia64/ia64.c
+5
-1
No files found.
gcc/ChangeLog
View file @
f95e79cc
2001
-
12
-
31
Richard
Henderson
<
rth
@redhat
.
com
>
2001
-
12
-
31
Richard
Henderson
<
rth
@redhat
.
com
>
*
config
/
ia64
/
ia64
.
c
(
mark_reg_gr_used_mask
)
:
Mind
HARD_REGNO_NREGS
.
2001
-
12
-
31
Richard
Henderson
<
rth
@redhat
.
com
>
*
regrename
.
c
(
build_def_use
)
:
Don
'
t
rename
asm
operands
that
*
regrename
.
c
(
build_def_use
)
:
Don
'
t
rename
asm
operands
that
were
originally
hard
registers
.
were
originally
hard
registers
.
(
copyprop_hardreg_forward_1
)
:
Likewise
.
(
copyprop_hardreg_forward_1
)
:
Likewise
.
...
...
gcc/config/ia64/ia64.c
View file @
f95e79cc
...
@@ -1377,7 +1377,11 @@ mark_reg_gr_used_mask (reg, data)
...
@@ -1377,7 +1377,11 @@ mark_reg_gr_used_mask (reg, data)
{
{
unsigned
int
regno
=
REGNO
(
reg
);
unsigned
int
regno
=
REGNO
(
reg
);
if
(
regno
<
32
)
if
(
regno
<
32
)
current_frame_info
.
gr_used_mask
|=
1
<<
regno
;
{
unsigned
int
i
,
n
=
HARD_REGNO_NREGS
(
regno
,
GET_MODE
(
reg
));
for
(
i
=
0
;
i
<
n
;
++
i
)
current_frame_info
.
gr_used_mask
|=
1
<<
(
regno
+
i
);
}
}
}
/* Returns the number of bytes offset between the frame pointer and the stack
/* Returns the number of bytes offset between the frame pointer and the stack
...
...
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