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
7ee8a9d5
Commit
7ee8a9d5
authored
32 years ago
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(same_regs): Now arrays of ints.
From-SVN: r4176
parent
568356af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
gcc/jump.c
+5
-5
No files found.
gcc/jump.c
View file @
7ee8a9d5
...
...
@@ -3861,7 +3861,7 @@ true_regnum (x)
pending equivalences. If nonzero, the expressions really aren't the
same. */
static
shor
t
*
same_regs
;
static
in
t
*
same_regs
;
static
int
num_same_regs
;
...
...
@@ -3924,12 +3924,12 @@ thread_jumps (f, max_reg, verbose)
rtx
b1op0
,
b1op1
,
b2op0
,
b2op1
;
int
changed
=
1
;
int
i
;
shor
t
*
all_reset
;
in
t
*
all_reset
;
/* Allocate register tables and quick-reset table. */
modified_regs
=
(
char
*
)
alloca
(
max_reg
*
sizeof
(
char
));
same_regs
=
(
short
*
)
alloca
(
max_reg
*
sizeof
(
shor
t
));
all_reset
=
(
short
*
)
alloca
(
max_reg
*
sizeof
(
shor
t
));
same_regs
=
(
int
*
)
alloca
(
max_reg
*
sizeof
(
in
t
));
all_reset
=
(
int
*
)
alloca
(
max_reg
*
sizeof
(
in
t
));
for
(
i
=
0
;
i
<
max_reg
;
i
++
)
all_reset
[
i
]
=
-
1
;
...
...
@@ -3948,7 +3948,7 @@ thread_jumps (f, max_reg, verbose)
bzero
(
modified_regs
,
max_reg
*
sizeof
(
char
));
modified_mem
=
0
;
bcopy
(
all_reset
,
same_regs
,
max_reg
*
sizeof
(
shor
t
));
bcopy
(
all_reset
,
same_regs
,
max_reg
*
sizeof
(
in
t
));
num_same_regs
=
0
;
label
=
JUMP_LABEL
(
b1
);
...
...
This diff is collapsed.
Click to expand it.
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