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
69887ad9
Commit
69887ad9
authored
Apr 08, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove previous Berg change.
From-SVN: r6998
parent
e0bfcea5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
5 deletions
+20
-5
gcc/caller-save.c
+5
-1
gcc/global.c
+5
-2
gcc/local-alloc.c
+5
-1
gcc/reorg.c
+5
-1
No files found.
gcc/caller-save.c
View file @
69887ad9
...
...
@@ -406,7 +406,11 @@ save_call_clobbered_regs (insn_mode)
saved because we restore all of them before the end of the basic
block. */
COPY_HARD_REG_SET
(
hard_regs_live
,
*
regs_live
);
#ifdef HARD_REG_SET
hard_regs_live
=
*
regs_live
;
#else
COPY_HARD_REG_SET
(
hard_regs_live
,
regs_live
);
#endif
CLEAR_HARD_REG_SET
(
hard_regs_saved
);
CLEAR_HARD_REG_SET
(
hard_regs_need_restore
);
...
...
gcc/global.c
View file @
69887ad9
...
...
@@ -625,8 +625,11 @@ global_conflicts ()
register
regset
old
=
basic_block_live_at_start
[
b
];
int
ax
=
0
;
COPY_HARD_REG_SET
(
hard_regs_live
,
old
[
0
]);
#ifdef HARD_REG_SET
hard_regs_live
=
old
[
0
];
#else
COPY_HARD_REG_SET
(
hard_regs_live
,
old
);
#endif
for
(
offset
=
0
,
i
=
0
;
offset
<
regset_size
;
offset
++
)
if
(
old
[
offset
]
==
0
)
i
+=
REGSET_ELT_BITS
;
...
...
gcc/local-alloc.c
View file @
69887ad9
...
...
@@ -1131,7 +1131,11 @@ block_alloc (b)
/* Initialize table of hardware registers currently live. */
COPY_HARD_REG_SET
(
regs_live
,
*
basic_block_live_at_start
[
b
]);
#ifdef HARD_REG_SET
regs_live
=
*
basic_block_live_at_start
[
b
];
#else
COPY_HARD_REG_SET
(
regs_live
,
basic_block_live_at_start
[
b
]);
#endif
/* This loop scans the instructions of the basic block
and assigns quantities to registers.
...
...
gcc/reorg.c
View file @
69887ad9
...
...
@@ -2399,7 +2399,11 @@ mark_target_live_regs (target, res)
marked live, plus live pseudo regs that have been renumbered to
hard regs. */
COPY_HARD_REG_SET
(
current_live_regs
,
*
regs_live
);
#ifdef HARD_REG_SET
current_live_regs
=
*
regs_live
;
#else
COPY_HARD_REG_SET
(
current_live_regs
,
regs_live
);
#endif
for
(
offset
=
0
,
i
=
0
;
offset
<
regset_size
;
offset
++
)
{
...
...
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