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
53596fba
Commit
53596fba
authored
Apr 21, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1.
From-SVN: r7126
parent
cfc3d13f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gcc/emit-rtl.c
+4
-4
No files found.
gcc/emit-rtl.c
View file @
53596fba
...
...
@@ -692,14 +692,14 @@ gen_lowpart_common (mode, x)
i
=
INTVAL
(
x
);
r
=
REAL_VALUE_FROM_TARGET_SINGLE
(
i
);
return
immed_real_const_1
(
r
,
mode
);
return
CONST_DOUBLE_FROM_REAL_VALUE
(
r
,
mode
);
}
#else
{
union
{
HOST_WIDE_INT
i
;
float
d
;
}
u
;
u
.
i
=
INTVAL
(
x
);
return
immed_real_const_1
(
u
.
d
,
mode
);
return
CONST_DOUBLE_FROM_REAL_VALUE
(
u
.
d
,
mode
);
}
#endif
else
if
(((
HOST_FLOAT_FORMAT
==
TARGET_FLOAT_FORMAT
...
...
@@ -730,7 +730,7 @@ gen_lowpart_common (mode, x)
i
[
0
]
=
low
,
i
[
1
]
=
high
;
r
=
REAL_VALUE_FROM_TARGET_DOUBLE
(
i
);
return
immed_real_const_1
(
r
,
mode
);
return
CONST_DOUBLE_FROM_REAL_VALUE
(
r
,
mode
);
}
#else
{
...
...
@@ -748,7 +748,7 @@ gen_lowpart_common (mode, x)
u
.
i
[
0
]
=
low
,
u
.
i
[
1
]
=
high
;
#endif
return
immed_real_const_1
(
u
.
d
,
mode
);
return
CONST_DOUBLE_FROM_REAL_VALUE
(
u
.
d
,
mode
);
}
#endif
/* Similarly, if this is converting a floating-point value into a
...
...
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