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
01aa1d43
Commit
01aa1d43
authored
Jan 28, 2005
by
Kazu Hirata
Committed by
Kazu Hirata
Jan 28, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cse.c (fold_rtx) <PC>: Don't optimize.
From-SVN: r94378
parent
bd16270b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
11 deletions
+5
-11
gcc/ChangeLog
+4
-0
gcc/cse.c
+1
-11
No files found.
gcc/ChangeLog
View file @
01aa1d43
2005-01-28 Kazu Hirata <kazu@cs.umass.edu>
* cse.c (fold_rtx) <PC>: Don't optimize.
2005-01-28 Jeff Law <law@redhat.com>
* fold-const.c (fold, case CEIL_MOD_EXPR): Optimize 0 % X.
...
...
gcc/cse.c
View file @
01aa1d43
...
...
@@ -3265,6 +3265,7 @@ fold_rtx (rtx x, rtx insn)
case
SYMBOL_REF
:
case
LABEL_REF
:
case
REG
:
case
PC
:
/* No use simplifying an EXPR_LIST
since they are used only for lists of args
in a function call's REG_EQUAL note. */
...
...
@@ -3276,17 +3277,6 @@ fold_rtx (rtx x, rtx insn)
return
prev_insn_cc0
;
#endif
case
PC
:
/* If the next insn is a CODE_LABEL followed by a jump table,
PC's value is a LABEL_REF pointing to that label. That
lets us fold switch statements on the VAX. */
{
rtx
next
;
if
(
insn
&&
tablejump_p
(
insn
,
&
next
,
NULL
))
return
gen_rtx_LABEL_REF
(
Pmode
,
next
);
}
break
;
case
SUBREG
:
/* See if we previously assigned a constant value to this SUBREG. */
if
((
new
=
lookup_as_function
(
x
,
CONST_INT
))
!=
0
...
...
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