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
bf1c6940
Commit
bf1c6940
authored
Apr 27, 1992
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r841
parent
a87104d9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
16 deletions
+14
-16
gcc/flow.c
+2
-1
gcc/print-tree.c
+1
-0
gcc/unroll.c
+11
-15
No files found.
gcc/flow.c
View file @
bf1c6940
...
...
@@ -519,7 +519,8 @@ find_basic_blocks (f, nonlocal_label_list)
if
(
GET_CODE
(
insn
)
==
JUMP_INSN
&&
GET_CODE
(
PATTERN
(
insn
))
==
SET
&&
SET_DEST
(
PATTERN
(
insn
))
==
pc_rtx
&&
GET_CODE
(
SET_SRC
(
PATTERN
(
insn
)))
==
REG
)
&&
(
GET_CODE
(
SET_SRC
(
PATTERN
(
insn
)))
==
REG
||
GET_CODE
(
SET_SRC
(
PATTERN
(
insn
)))
==
MEM
))
{
rtx
x
;
for
(
x
=
label_value_list
;
x
;
x
=
XEXP
(
x
,
1
))
...
...
gcc/print-tree.c
View file @
bf1c6940
...
...
@@ -467,6 +467,7 @@ print_node (file, prefix, node, indent)
case
BIND_EXPR
:
print_node
(
file
,
"vars"
,
TREE_OPERAND
(
node
,
0
),
indent
+
4
);
print_node
(
file
,
"body"
,
TREE_OPERAND
(
node
,
1
),
indent
+
4
);
print_node
(
file
,
"block"
,
TREE_OPERAND
(
node
,
2
),
indent
+
4
);
return
;
}
...
...
gcc/unroll.c
View file @
bf1c6940
...
...
@@ -2435,25 +2435,21 @@ find_splittable_givs (bl, unroll_type, loop_start, loop_end, increment,
if
(
v
->
new_reg
)
{
/* If the giv is an address destination, it could be something other
than a simple register, these have to be treated differently. */
if
(
v
->
giv_type
==
DEST_REG
)
splittable_regs
[
REGNO
(
v
->
new_reg
)]
=
value
;
/* If an addr giv was combined with another addr giv, then we
can only split this giv if the addr giv it was combined with
was reduced. This is because the value of v->new_reg is
meaningless in this case. (There is no problem if it was
combined with a dest_reg giv which wasn't reduced, v->new_reg
is still meaningful in this case.) */
else
if
(
v
->
same
&&
v
->
same
->
giv_type
==
DEST_ADDR
&&
!
v
->
same
->
new_reg
)
/* If a giv was combined with another giv, then we can only split
this giv if the giv it was combined with was reduced. This
is because the value of v->new_reg is meaningless in this
case. */
if
(
v
->
same
&&
!
v
->
same
->
new_reg
)
{
if
(
loop_dump_stream
)
fprintf
(
loop_dump_stream
,
"DEST_ADDR giv not split, because combined with unreduced DEST_ADDR giv.
\n
"
);
"giv combined with unreduced giv not split.
\n
"
);
continue
;
}
/* If the giv is an address destination, it could be something other
than a simple register, these have to be treated differently. */
else
if
(
v
->
giv_type
==
DEST_REG
)
splittable_regs
[
REGNO
(
v
->
new_reg
)]
=
value
;
else
{
/* Splitting address givs is useful since it will often allow us
...
...
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