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
da5a44b3
Commit
da5a44b3
authored
Oct 05, 1998
by
Bernd Schmidt
Committed by
Jeff Law
Oct 05, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* loop.c (combine_givs_p): Fix test for identical givs.
From-SVN: r22845
parent
5d7d0cae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
gcc/ChangeLog
+4
-0
gcc/loop.c
+5
-5
No files found.
gcc/ChangeLog
View file @
da5a44b3
Mon
Oct
5
21
:
18
:
45
1998
Bernd
Schmidt
<
crux
@Pool
.
Informatik
.
RWTH
-
Aachen
.
DE
>
*
loop
.
c
(
combine_givs_p
)
:
Fix
test
for
identical
givs
.
Mon
Oct
5
10
:
11
:
28
1998
Nick
Clifton
<
nickc
@cygnus
.
com
>
Mon
Oct
5
10
:
11
:
28
1998
Nick
Clifton
<
nickc
@cygnus
.
com
>
*
dwarf2out
.
c
(
gen_subprogram_die
)
:
If
errorcount
nonzero
,
don
'
t
*
dwarf2out
.
c
(
gen_subprogram_die
)
:
If
errorcount
nonzero
,
don
'
t
...
...
gcc/loop.c
View file @
da5a44b3
...
@@ -6299,10 +6299,10 @@ express_from (g1, g2)
...
@@ -6299,10 +6299,10 @@ express_from (g1, g2)
return
gen_rtx_PLUS
(
g2
->
mode
,
mult
,
add
);
return
gen_rtx_PLUS
(
g2
->
mode
,
mult
,
add
);
}
}
/* Return
1 if giv G2 can be combined with G1. This means that G2 can use
/* Return
an rtx, if any, that expresses giv G2 as a function of the register
(either directly or via an address expression) a register used to represent
represented by G1. This indicates that G2 should be combined with G1 and
G1. Set g2->new_reg to a represtation of G1 (normally just
that G2 can use (either directly or via an address expression) a register
g1->dest_reg)
. */
used to represent G1
. */
static
rtx
static
rtx
combine_givs_p
(
g1
,
g2
)
combine_givs_p
(
g1
,
g2
)
...
@@ -6313,7 +6313,7 @@ combine_givs_p (g1, g2)
...
@@ -6313,7 +6313,7 @@ combine_givs_p (g1, g2)
/* If these givs are identical, they can be combined. We use the results
/* If these givs are identical, they can be combined. We use the results
of express_from because the addends are not in a canonical form, so
of express_from because the addends are not in a canonical form, so
rtx_equal_p is a weaker test. */
rtx_equal_p is a weaker test. */
if
(
tem
==
const0_rtx
)
if
(
tem
==
g1
->
dest_reg
)
{
{
return
g1
->
dest_reg
;
return
g1
->
dest_reg
;
}
}
...
...
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