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
28bad1cb
Commit
28bad1cb
authored
Jan 10, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(simplify_relational_operation): Don't do anything with CC0 in
addition to MODE_CC values. From-SVN: r6376
parent
e9baa644
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
gcc/cse.c
+7
-3
No files found.
gcc/cse.c
View file @
28bad1cb
...
...
@@ -4296,9 +4296,13 @@ simplify_relational_operation (code, mode, op0, op1)
if
(
GET_CODE
(
op0
)
==
COMPARE
&&
op1
==
const0_rtx
)
op1
=
XEXP
(
op0
,
1
),
op0
=
XEXP
(
op0
,
0
);
/* What to do with MODE_CC isn't clear yet.
Let's make sure nothing erroneous is done. */
if
(
GET_MODE_CLASS
(
GET_MODE
(
op0
))
==
MODE_CC
)
/* We can't simplify MODE_CC values since we don't know what the
actual comparison is. */
if
(
GET_MODE_CLASS
(
GET_MODE
(
op0
))
==
MODE_CC
#ifdef HAVE_cc0
||
op0
==
cc0_rtx
#endif
)
return
0
;
/* For integer comparisons of A and B maybe we can simplify A - B and can
...
...
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