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
4575a800
Commit
4575a800
authored
May 09, 2007
by
Bob Wilson
Committed by
Bob Wilson
May 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/xtensa/xtensa.c (xtensa_output_literal): Don't use #if.
From-SVN: r124579
parent
74ed13f5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
gcc/ChangeLog
+4
-0
gcc/config/xtensa/xtensa.c
+7
-7
No files found.
gcc/ChangeLog
View file @
4575a800
2007-05-09 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.c (xtensa_output_literal): Don't use #if.
2007-05-09 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.c (xtensa_output_literal): Mask out high bits
for floating-point values if HOST_BITS_PER_LONG > 32. Use split_double
...
...
gcc/config/xtensa/xtensa.c
View file @
4575a800
...
...
@@ -1953,18 +1953,18 @@ xtensa_output_literal (FILE *file, rtx x, enum machine_mode mode, int labelno)
{
case
SFmode
:
REAL_VALUE_TO_TARGET_SINGLE
(
r
,
value_long
[
0
]);
#if HOST_BITS_PER_LONG > 32
value_long
[
0
]
&=
0xffffffff
;
#endif
if
(
HOST_BITS_PER_LONG
>
32
)
value_long
[
0
]
&=
0xffffffff
;
fprintf
(
file
,
"0x%08lx
\n
"
,
value_long
[
0
]);
break
;
case
DFmode
:
REAL_VALUE_TO_TARGET_DOUBLE
(
r
,
value_long
);
#if HOST_BITS_PER_LONG > 32
value_long
[
0
]
&=
0xffffffff
;
value_long
[
1
]
&=
0xffffffff
;
#endif
if
(
HOST_BITS_PER_LONG
>
32
)
{
value_long
[
0
]
&=
0xffffffff
;
value_long
[
1
]
&=
0xffffffff
;
}
fprintf
(
file
,
"0x%08lx, 0x%08lx
\n
"
,
value_long
[
0
],
value_long
[
1
]);
break
;
...
...
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