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
e0dc347c
Commit
e0dc347c
authored
Jun 06, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(print_operands): Cast args to bcopy to char *.
From-SVN: r9894
parent
f4fa7423
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
gcc/config/a29k/a29k.c
+4
-3
No files found.
gcc/config/a29k/a29k.c
View file @
e0dc347c
...
...
@@ -1103,7 +1103,7 @@ print_operand (file, x, code)
{
union
real_extract
u
;
bcopy
(
&
CONST_DOUBLE_LOW
(
x
),
&
u
,
sizeof
u
);
bcopy
(
(
char
*
)
&
CONST_DOUBLE_LOW
(
x
),
(
char
*
)
&
u
,
sizeof
u
);
fprintf
(
file
,
"$double1(%.20e)"
,
u
.
d
);
}
else
if
(
GET_CODE
(
x
)
==
REG
)
...
...
@@ -1167,7 +1167,8 @@ print_operand (file, x, code)
fprintf
(
file
,
"$float"
);
else
fprintf
(
file
,
"$double%d"
,
SUBREG_WORD
(
XEXP
(
x
,
0
)));
bcopy
(
&
CONST_DOUBLE_LOW
(
SUBREG_REG
(
XEXP
(
x
,
0
))),
&
u
,
sizeof
u
);
bcopy
((
char
*
)
&
CONST_DOUBLE_LOW
(
SUBREG_REG
(
XEXP
(
x
,
0
))),
(
char
*
)
&
u
,
sizeof
u
);
fprintf
(
file
,
"(%.20e)"
,
u
.
d
);
}
...
...
@@ -1176,7 +1177,7 @@ print_operand (file, x, code)
{
union
real_extract
u
;
bcopy
(
&
CONST_DOUBLE_LOW
(
x
),
&
u
,
sizeof
u
);
bcopy
(
(
char
*
)
&
CONST_DOUBLE_LOW
(
x
),
(
char
*
)
&
u
,
sizeof
u
);
fprintf
(
file
,
"$%s(%.20e)"
,
GET_MODE
(
x
)
==
SFmode
?
"float"
:
"double0"
,
u
.
d
);
}
...
...
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