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
226a5051
Commit
226a5051
authored
Dec 14, 1995
by
Richard Earnshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arm/arm.c (output_move_double): Extract DFmode constants using
REAL_VALUE_TO_TARGET_DOUBLE. From-SVN: r10720
parent
f92213c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
gcc/config/arm/arm.c
+16
-4
No files found.
gcc/config/arm/arm.c
View file @
226a5051
...
...
@@ -2900,10 +2900,22 @@ output_move_double (operands)
}
else
if
(
code1
==
CONST_DOUBLE
)
{
otherops
[
1
]
=
gen_rtx
(
CONST_INT
,
VOIDmode
,
CONST_DOUBLE_HIGH
(
operands
[
1
]));
operands
[
1
]
=
gen_rtx
(
CONST_INT
,
VOIDmode
,
CONST_DOUBLE_LOW
(
operands
[
1
]));
if
(
GET_MODE
(
operands
[
1
])
==
DFmode
)
{
long
l
[
2
];
union
real_extract
u
;
bcopy
((
char
*
)
&
CONST_DOUBLE_LOW
(
operands
[
1
]),
(
char
*
)
&
u
,
sizeof
(
u
));
REAL_VALUE_TO_TARGET_DOUBLE
(
u
.
d
,
l
);
otherops
[
1
]
=
GEN_INT
(
l
[
1
]);
operands
[
1
]
=
GEN_INT
(
l
[
0
]);
}
else
{
otherops
[
1
]
=
GEN_INT
(
CONST_DOUBLE_HIGH
(
operands
[
1
]));
operands
[
1
]
=
GEN_INT
(
CONST_DOUBLE_LOW
(
operands
[
1
]));
}
output_mov_immediate
(
operands
,
FALSE
,
""
);
output_mov_immediate
(
otherops
,
FALSE
,
""
);
}
...
...
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