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
51a785a0
Commit
51a785a0
authored
Oct 17, 2003
by
Ulrich Weigand
Committed by
Ulrich Weigand
Oct 17, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ifcvt.c (noce_try_addcc): Handle ifs with 'else' case.
From-SVN: r72603
parent
2051c897
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
gcc/ChangeLog
+4
-0
gcc/ifcvt.c
+2
-4
No files found.
gcc/ChangeLog
View file @
51a785a0
2003-10-17 Ulrich Weigand <uweigand@de.ibm.com>
* ifcvt.c (noce_try_addcc): Handle ifs with 'else' case.
2003-10-17 Ulrich Weigand <uweigand@de.ibm.com>
* combine.c (simplify_set): Do not clear out undobuf.other_insn
already set elsewhere.
...
...
gcc/ifcvt.c
View file @
51a785a0
...
...
@@ -884,10 +884,8 @@ noce_try_addcc (struct noce_if_info *if_info)
int
subtract
,
normalize
;
if
(
!
no_new_pseudos
/* Should be no `else' case to worry about. */
&&
if_info
->
b
==
if_info
->
x
&&
GET_CODE
(
if_info
->
a
)
==
PLUS
&&
rtx_equal_p
(
XEXP
(
if_info
->
a
,
0
),
if_info
->
x
)
&&
rtx_equal_p
(
XEXP
(
if_info
->
a
,
0
),
if_info
->
b
)
&&
(
reversed_comparison_code
(
if_info
->
cond
,
if_info
->
jump
)
!=
UNKNOWN
))
{
...
...
@@ -942,7 +940,7 @@ noce_try_addcc (struct noce_if_info *if_info)
if
(
target
)
target
=
expand_simple_binop
(
GET_MODE
(
if_info
->
x
),
subtract
?
MINUS
:
PLUS
,
if_info
->
x
,
target
,
if_info
->
x
,
if_info
->
b
,
target
,
if_info
->
x
,
0
,
OPTAB_WIDEN
);
if
(
target
)
{
...
...
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