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
1b0d0e84
Commit
1b0d0e84
authored
Apr 18, 2003
by
Kazu Hirata
Committed by
Kazu Hirata
Apr 18, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* reload1.c: Revert my previous patch on 2002-04-17.
From-SVN: r65790
parent
906042f5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
34 deletions
+4
-34
gcc/ChangeLog
+4
-0
gcc/reload1.c
+0
-34
No files found.
gcc/ChangeLog
View file @
1b0d0e84
2003-04-18 Kazu Hirata <kazu@cs.umass.edu>
* reload1.c: Revert my previous patch on 2002-04-17.
2003-04-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* doc/contrib.texi (Contributors): Prefer "bug fix" over "bugfix".
...
...
gcc/reload1.c
View file @
1b0d0e84
...
...
@@ -9094,9 +9094,6 @@ static int move2add_last_label_luid;
&& TRULY_NOOP_TRUNCATION (GET_MODE_BITSIZE (OUTMODE), \
GET_MODE_BITSIZE (INMODE))))
/* The source of the last set to cc0 we've seen. */
static
rtx
move2add_last_cc0
;
static
void
reload_cse_move2add
(
first
)
rtx
first
;
...
...
@@ -9109,7 +9106,6 @@ reload_cse_move2add (first)
move2add_last_label_luid
=
0
;
move2add_luid
=
2
;
move2add_last_cc0
=
NULL_RTX
;
for
(
insn
=
first
;
insn
;
insn
=
NEXT_INSN
(
insn
),
move2add_luid
++
)
{
rtx
pat
,
note
;
...
...
@@ -9292,29 +9288,6 @@ reload_cse_move2add (first)
}
}
note_stores
(
PATTERN
(
insn
),
move2add_note_store
,
NULL
);
/* If INSN is a conditional branch, we try to extract an
implicit set out of it. */
if
(
any_condjump_p
(
insn
)
&&
onlyjump_p
(
insn
))
{
rtx
cnd
=
get_condition
(
insn
,
NULL
);
#ifdef HAVE_cc0
if
(
cnd
!=
NULL_RTX
&&
move2add_last_cc0
!=
NULL_RTX
)
cnd
=
simplify_replace_rtx
(
cnd
,
cc0_rtx
,
move2add_last_cc0
);
#endif
if
(
cnd
!=
NULL_RTX
&&
GET_CODE
(
cnd
)
==
NE
&&
GET_CODE
(
XEXP
(
cnd
,
0
))
==
REG
&&
SCALAR_INT_MODE_P
(
GET_MODE
(
XEXP
(
cnd
,
0
)))
&&
GET_CODE
(
XEXP
(
cnd
,
1
))
==
CONST_INT
)
{
rtx
implicit_set
=
gen_rtx_SET
(
VOIDmode
,
SET_DEST
(
cnd
),
SET_SRC
(
cnd
));
move2add_note_store
(
SET_DEST
(
implicit_set
),
implicit_set
,
0
);
}
}
/* If this is a CALL_INSN, all call used registers are stored with
unknown values. */
if
(
GET_CODE
(
insn
)
==
CALL_INSN
)
...
...
@@ -9361,13 +9334,6 @@ move2add_note_store (dst, set, data)
reg_set_luid
[
REGNO
(
XEXP
(
dst
,
0
))]
=
0
;
return
;
}
/* Note a store into cc0 so that we can later find an implicit
set. */
if
(
CC0_P
(
dst
))
{
move2add_last_cc0
=
SET_SRC
(
set
);
return
;
}
if
(
GET_CODE
(
dst
)
!=
REG
)
return
;
...
...
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