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
c8470713
Commit
c8470713
authored
Apr 17, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r767
parent
32235b30
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
gcc/config/ns32k/ns32k.c
+17
-3
No files found.
gcc/config/ns32k/ns32k.c
View file @
c8470713
...
...
@@ -374,9 +374,9 @@ print_operand (file, x, code)
char
code
;
{
if
(
code
==
'$'
)
PUT_IMMEDIATE_PREFIX
(
file
);
PUT_IMMEDIATE_PREFIX
(
file
);
else
if
(
code
==
'?'
)
PUT_EXTERNAL_PREFIX
(
file
);
PUT_EXTERNAL_PREFIX
(
file
);
else
if
(
GET_CODE
(
x
)
==
REG
)
fprintf
(
file
,
"%s"
,
reg_names
[
REGNO
(
x
)]);
else
if
(
GET_CODE
(
x
)
==
MEM
)
...
...
@@ -422,6 +422,11 @@ print_operand (file, x, code)
u
.
i
[
0
]
=
CONST_DOUBLE_LOW
(
x
);
u
.
i
[
1
]
=
CONST_DOUBLE_HIGH
(
x
);
PUT_IMMEDIATE_PREFIX
(
file
);
#ifdef SEQUENT_ASM
/* We have no way of winning if we can't get the bits
for a sequent floating point number. */
#if HOST_FLOAT_FORMAT != TARGET_FLOAT_FORMAT
abort
();
#endif
{
union
{
float
f
;
long
l
;
}
uu
;
uu
.
f
=
u
.
d
;
...
...
@@ -434,7 +439,10 @@ print_operand (file, x, code)
}
else
{
PUT_IMMEDIATE_PREFIX
(
file
);
#ifndef NO_IMMEDIATE_PREFIX_IF_SYMBOLIC
if
(
GET_CODE
(
x
)
==
CONST_INT
)
#endif
PUT_IMMEDIATE_PREFIX
(
file
);
output_addr_const
(
file
,
x
);
}
}
...
...
@@ -656,9 +664,15 @@ print_operand_address (file, addr)
if
(
GET_CODE
(
indexexp
)
!=
REG
||
REGNO
(
indexexp
)
>=
8
)
abort
();
#ifdef UTEK_ASM
fprintf
(
file
,
"[%c`%s]"
,
scales
[
scale
],
reg_names
[
REGNO
(
indexexp
)]);
#else
fprintf
(
file
,
"[%s:%c]"
,
reg_names
[
REGNO
(
indexexp
)],
scales
[
scale
]);
#endif
}
}
...
...
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