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
0407367d
Commit
0407367d
authored
Sep 28, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(convert_move): Added handling of PDImode conversions.
From-SVN: r8161
parent
f1ed434d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
0 deletions
+35
-0
gcc/expr.c
+35
-0
No files found.
gcc/expr.c
View file @
0407367d
...
@@ -1025,6 +1025,41 @@ convert_move (to, from, unsignedp)
...
@@ -1025,6 +1025,41 @@ convert_move (to, from, unsignedp)
}
}
}
}
if
(
to_mode
==
PDImode
)
{
if
(
from_mode
!=
DImode
)
from
=
convert_to_mode
(
DImode
,
from
,
unsignedp
);
#ifdef HAVE_truncdipdi2
if
(
HAVE_truncdipdi2
)
{
emit_unop_insn
(
CODE_FOR_truncdipdi2
,
to
,
from
,
UNKNOWN
);
return
;
}
#endif
/* HAVE_truncdipdi2 */
abort
();
}
if
(
from_mode
==
PDImode
)
{
if
(
to_mode
!=
DImode
)
{
from
=
convert_to_mode
(
DImode
,
from
,
unsignedp
);
from_mode
=
DImode
;
}
else
{
#ifdef HAVE_extendpdidi2
if
(
HAVE_extendpdidi2
)
{
emit_unop_insn
(
CODE_FOR_extendpdidi2
,
to
,
from
,
UNKNOWN
);
return
;
}
#endif
/* HAVE_extendpdidi2 */
abort
();
}
}
/* Now follow all the conversions between integers
/* Now follow all the conversions between integers
no more than a word long. */
no more than a word long. */
...
...
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