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
b34878a3
Commit
b34878a3
authored
Jan 07, 2001
by
Jan Hubicka
Committed by
Jan Hubicka
Jan 07, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* jump.c (comparison_dominates_p): Support unordered compares.
From-SVN: r38776
parent
1f36a2dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
3 deletions
+23
-3
gcc/ChangeLog
+4
-0
gcc/jump.c
+19
-3
No files found.
gcc/ChangeLog
View file @
b34878a3
Sun Jan 7 14:44:19 MET 2001 Jan Hubicka <jh@suse.cz>
* jump.c (comparison_dominates_p): Support unordered compares.
Sun Jan 7 14:39:07 MET 2001 Jan Hubicka <jh@suse.cz>
Sun Jan 7 14:39:07 MET 2001 Jan Hubicka <jh@suse.cz>
* simplify-rtx.c (simplify_relational_operation): Always simplify
* simplify-rtx.c (simplify_relational_operation): Always simplify
...
...
gcc/jump.c
View file @
b34878a3
...
@@ -2004,19 +2004,34 @@ comparison_dominates_p (code1, code2)
...
@@ -2004,19 +2004,34 @@ comparison_dominates_p (code1, code2)
switch
(
code1
)
switch
(
code1
)
{
{
case
UNEQ
:
if
(
code2
==
UNLE
||
code2
==
UNGE
)
return
1
;
break
;
case
EQ
:
case
EQ
:
if
(
code2
==
LE
||
code2
==
LEU
||
code2
==
GE
||
code2
==
GEU
if
(
code2
==
LE
||
code2
==
LEU
||
code2
==
GE
||
code2
==
GEU
||
code2
==
ORDERED
)
||
code2
==
ORDERED
)
return
1
;
return
1
;
break
;
break
;
case
UNLT
:
if
(
code2
==
UNLE
||
code2
==
NE
)
return
1
;
break
;
case
LT
:
case
LT
:
if
(
code2
==
LE
||
code2
==
NE
||
code2
==
ORDERED
)
if
(
code2
==
LE
||
code2
==
NE
||
code2
==
ORDERED
||
code2
==
LTGT
)
return
1
;
break
;
case
UNGT
:
if
(
code2
==
UNGE
||
code2
==
NE
)
return
1
;
return
1
;
break
;
break
;
case
GT
:
case
GT
:
if
(
code2
==
GE
||
code2
==
NE
||
code2
==
ORDERED
)
if
(
code2
==
GE
||
code2
==
NE
||
code2
==
ORDERED
||
code2
==
LTGT
)
return
1
;
return
1
;
break
;
break
;
...
@@ -2042,7 +2057,8 @@ comparison_dominates_p (code1, code2)
...
@@ -2042,7 +2057,8 @@ comparison_dominates_p (code1, code2)
break
;
break
;
case
UNORDERED
:
case
UNORDERED
:
if
(
code2
==
NE
)
if
(
code2
==
NE
||
code2
==
UNEQ
||
code2
==
UNLE
||
code2
==
UNLT
||
code2
==
UNGE
||
code2
==
UNGT
)
return
1
;
return
1
;
break
;
break
;
...
...
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