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
bb394606
Commit
bb394606
authored
Jun 09, 2004
by
Richard Henderson
Committed by
Richard Henderson
Jun 09, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* expmed.c (emit_store_flag): Cope with FLOAT_STORE_FLAG_VALUE.
From-SVN: r82854
parent
d8044160
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
5 deletions
+26
-5
gcc/ChangeLog
+4
-0
gcc/expmed.c
+22
-5
No files found.
gcc/ChangeLog
View file @
bb394606
2004-06-09 Richard Henderson <rth@redhat.com>
* expmed.c (emit_store_flag): Cope with FLOAT_STORE_FLAG_VALUE.
2004-06-09 Geoffrey Keating <geoffk@apple.com>
* Makefile.in (CPPLIB_H): Put files in order of inclusion.
...
...
gcc/expmed.c
View file @
bb394606
...
...
@@ -4559,11 +4559,28 @@ emit_store_flag (rtx target, enum rtx_code code, rtx op0, rtx op1,
comparison
=
compare_from_rtx
(
op0
,
op1
,
code
,
unsignedp
,
mode
,
NULL_RTX
);
if
(
GET_CODE
(
comparison
)
==
CONST_INT
)
return
(
comparison
==
const0_rtx
?
const0_rtx
:
normalizep
==
1
?
const1_rtx
:
normalizep
==
-
1
?
constm1_rtx
:
const_true_rtx
);
if
(
CONSTANT_P
(
comparison
))
{
if
(
GET_CODE
(
comparison
)
==
CONST_INT
)
{
if
(
comparison
==
const0_rtx
)
return
const0_rtx
;
}
#ifdef FLOAT_STORE_FLAG_VALUE
else
if
(
GET_CODE
(
comparison
)
==
CONST_DOUBLE
)
{
if
(
comparison
==
CONST0_RTX
(
GET_MODE
(
comparison
)))
return
const0_rtx
;
}
#endif
else
abort
();
if
(
normalizep
==
1
)
return
const1_rtx
;
if
(
normalizep
==
-
1
)
return
constm1_rtx
;
return
const_true_rtx
;
}
/* The code of COMPARISON may not match CODE if compare_from_rtx
decided to swap its operands and reverse the original code.
...
...
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