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
642dfa8b
Commit
642dfa8b
authored
Sep 15, 2000
by
Bernd Schmidt
Committed by
Bernd Schmidt
Sep 15, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make libcall blocks for truncations
From-SVN: r36434
parent
aff2c2d3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
gcc/ChangeLog
+2
-0
gcc/expr.c
+6
-2
No files found.
gcc/ChangeLog
View file @
642dfa8b
...
@@ -2,6 +2,8 @@
...
@@ -2,6 +2,8 @@
* optabs.c (emit_libcall_block): If target is a user variable,
* optabs.c (emit_libcall_block): If target is a user variable,
copy to a temporary first.
copy to a temporary first.
* expr.c (convert_move): When generating a libcall, make a libcall
block.
2000-09-15 Richard Henderson <rth@cygnus.com>
2000-09-15 Richard Henderson <rth@cygnus.com>
...
...
gcc/expr.c
View file @
642dfa8b
...
@@ -563,7 +563,7 @@ convert_move (to, from, unsignedp)
...
@@ -563,7 +563,7 @@ convert_move (to, from, unsignedp)
if
(
to_real
)
if
(
to_real
)
{
{
rtx
value
;
rtx
value
,
insns
;
if
(
GET_MODE_BITSIZE
(
from_mode
)
<
GET_MODE_BITSIZE
(
to_mode
))
if
(
GET_MODE_BITSIZE
(
from_mode
)
<
GET_MODE_BITSIZE
(
to_mode
))
{
{
...
@@ -803,9 +803,13 @@ convert_move (to, from, unsignedp)
...
@@ -803,9 +803,13 @@ convert_move (to, from, unsignedp)
/* This conversion is not implemented yet. */
/* This conversion is not implemented yet. */
abort
();
abort
();
start_sequence
();
value
=
emit_library_call_value
(
libcall
,
NULL_RTX
,
1
,
to_mode
,
value
=
emit_library_call_value
(
libcall
,
NULL_RTX
,
1
,
to_mode
,
1
,
from
,
from_mode
);
1
,
from
,
from_mode
);
emit_move_insn
(
to
,
value
);
insns
=
get_insns
();
end_sequence
();
emit_libcall_block
(
insns
,
to
,
value
,
gen_rtx_FLOAT_TRUNCATE
(
to_mode
,
from
));
return
;
return
;
}
}
...
...
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