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
1d6ba901
Commit
1d6ba901
authored
Sep 18, 2003
by
Zdenek Dvorak
Committed by
Zdenek Dvorak
Sep 18, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/i386/i386.c (x86_emit_floatuns): Also handle SImode operand.
From-SVN: r71526
parent
96123432
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
gcc/ChangeLog
+4
-0
gcc/config/i386/i386.c
+8
-3
No files found.
gcc/ChangeLog
View file @
1d6ba901
2003-09-18 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* config/i386/i386.c (x86_emit_floatuns): Also handle SImode operand.
2003-09-18 Roger Sayle <roger@eyesopen.com>
* tree.def (FFS_EXPR, CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR,
...
...
gcc/config/i386/i386.c
View file @
1d6ba901
...
...
@@ -15621,17 +15621,22 @@ x86_extended_reg_mentioned_p (rtx insn)
return
for_each_rtx
(
&
PATTERN
(
insn
),
extended_reg_mentioned_1
,
NULL
);
}
/* Generate an unsigned DImode to FP conversion. This is the same code
/* Generate an unsigned DImode
/SImode
to FP conversion. This is the same code
optabs would emit if we didn't have TFmode patterns. */
void
x86_emit_floatuns
(
rtx
operands
[
2
])
{
rtx
neglab
,
donelab
,
i0
,
i1
,
f0
,
in
,
out
;
enum
machine_mode
mode
;
enum
machine_mode
mode
,
inmode
;
inmode
=
GET_MODE
(
operands
[
1
]);
if
(
inmode
!=
SImode
&&
inmode
!=
DImode
)
abort
();
out
=
operands
[
0
];
in
=
force_reg
(
DI
mode
,
operands
[
1
]);
in
=
force_reg
(
in
mode
,
operands
[
1
]);
mode
=
GET_MODE
(
out
);
neglab
=
gen_label_rtx
();
donelab
=
gen_label_rtx
();
...
...
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