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
f9ef1f02
Commit
f9ef1f02
authored
Feb 11, 2000
by
Michael Hayes
Committed by
Michael Hayes
Feb 11, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
From-SVN: r31910
parent
eff784fe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
gcc/ChangeLog
+5
-1
gcc/config/c4x/c4x.c
+2
-0
No files found.
gcc/ChangeLog
View file @
f9ef1f02
2000
-
02
-
11
Michael
Hayes
<
m
.
hayes
@elec
.
canterbury
.
ac
.
nz
>
*
config
/
c4x
/
c4x
.
c
(
fp_zero_operand
)
:
Check
for
CONST_DOUBLE
.
2000
-
02
-
11
Michael
Hayes
<
m
.
hayes
@elec
.
canterbury
.
ac
.
nz
>
*
config
/
c4x
/
c4x
.
h
(
ASM_GLOBALIZE_LABEL
)
:
Use
c4x_global_label
.
(
ASM_OUTPUT_EXTERNAL
)
:
Use
c4x_external_ref
.
...
...
@@ -6,9 +10,9 @@
(
ASM_FILE_END
)
:
Use
c4x_file_end
.
*
config
/
c4x
/
c4x
.
c
(
c4x_global_label
)
:
New
function
.
(
c4x_external_ref
,
c4x_file_end
)
:
Likewise
.
*
config
/
c4x
/
c4x
-
protos
.
h
(
c4x_global_label
)
:
Add
prototype
.
(
c4x_external_ref
,
c4x_end_file
)
:
Likewise
.
2000
-
02
-
10
Zack
Weinberg
<
zack
@wolery
.
cumb
.
org
>
...
...
gcc/config/c4x/c4x.c
View file @
f9ef1f02
...
...
@@ -2779,6 +2779,8 @@ fp_zero_operand (op, mode)
{
REAL_VALUE_TYPE
r
;
if
(
GET_CODE
(
op
)
!=
CONST_DOUBLE
)
return
0
;
REAL_VALUE_FROM_CONST_DOUBLE
(
r
,
op
);
return
REAL_VALUES_EQUAL
(
r
,
dconst0
);
}
...
...
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