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
dbf4f1a2
Commit
dbf4f1a2
authored
Oct 15, 2002
by
Roger Sayle
Committed by
Roger Sayle
Oct 15, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* combine.c (simplify_set): Treat MODE_CC registers like cc0.
From-SVN: r58148
parent
8c536ae9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
gcc/ChangeLog
+4
-0
gcc/combine.c
+3
-5
No files found.
gcc/ChangeLog
View file @
dbf4f1a2
2002
-
10
-
14
Roger
Sayle
<
roger
@eyesopen
.
com
>
*
combine
.
c
(
simplify_set
)
:
Treat
MODE_CC
registers
like
cc0
.
2002
-
10
-
14
Roger
Sayle
<
roger
@eyesopen
.
com
>
Zack
Weinberg
<
zack
@codesourcery
.
com
>
*
config
/
i386
/
i386
.
c
(
k6_cost
)
:
Correct
typo
.
...
...
gcc/combine.c
View file @
dbf4f1a2
...
...
@@ -5021,11 +5021,9 @@ simplify_set (x)
/* If we are setting CC0 or if the source is a COMPARE, look for the use of
the comparison result and try to simplify it unless we already have used
undobuf.other_insn. */
if
((
GET_CODE
(
src
)
==
COMPARE
#ifdef HAVE_cc0
||
dest
==
cc0_rtx
#endif
)
if
((
GET_MODE_CLASS
(
mode
)
==
MODE_CC
||
GET_CODE
(
src
)
==
COMPARE
||
CC0_P
(
dest
))
&&
(
cc_use
=
find_single_use
(
dest
,
subst_insn
,
&
other_insn
))
!=
0
&&
(
undobuf
.
other_insn
==
0
||
other_insn
==
undobuf
.
other_insn
)
&&
GET_RTX_CLASS
(
GET_CODE
(
*
cc_use
))
==
'<'
...
...
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