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
2ac5f14a
Commit
2ac5f14a
authored
Jan 28, 1993
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
print_operand accepts %/ for REGISTER_PREFIX.
From-SVN: r3378
parent
bb66e0f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
gcc/config/m68k/m68k.c
+5
-0
gcc/config/m68k/m68k.h
+2
-1
No files found.
gcc/config/m68k/m68k.c
View file @
2ac5f14a
...
@@ -1489,6 +1489,7 @@ standard_sun_fpa_constant_p (x)
...
@@ -1489,6 +1489,7 @@ standard_sun_fpa_constant_p (x)
'!' for the cc register (used in an `and to cc' insn).
'!' for the cc register (used in an `and to cc' insn).
'$' for the letter `s' in an op code, but only on the 68040.
'$' for the letter `s' in an op code, but only on the 68040.
'&' for the letter `d' in an op code, but only on the 68040.
'&' for the letter `d' in an op code, but only on the 68040.
'/' for register prefix needed by longlong.h.
'b' for byte insn (no effect, on the Sun; this is for the ISI).
'b' for byte insn (no effect, on the Sun; this is for the ISI).
'd' to force memory addressing to be absolute, not relative.
'd' to force memory addressing to be absolute, not relative.
...
@@ -1563,6 +1564,10 @@ print_operand (file, op, letter)
...
@@ -1563,6 +1564,10 @@ print_operand (file, op, letter)
fprintf
(
file
,
"d"
);
fprintf
(
file
,
"d"
);
}
}
}
}
else
if
(
letter
==
'/'
)
{
asm_fprintf
(
file
,
"%R"
);
}
else
if
(
GET_CODE
(
op
)
==
REG
)
else
if
(
GET_CODE
(
op
)
==
REG
)
{
{
if
(
REGNO
(
op
)
<
16
if
(
REGNO
(
op
)
<
16
...
...
gcc/config/m68k/m68k.h
View file @
2ac5f14a
...
@@ -1666,6 +1666,7 @@ do { union { float f; long l;} tem; \
...
@@ -1666,6 +1666,7 @@ do { union { float f; long l;} tem; \
'!' for the fpcr register (used in some float-to-fixed conversions).
'!' for the fpcr register (used in some float-to-fixed conversions).
'$' for the letter `s' in an op code, but only on the 68040.
'$' for the letter `s' in an op code, but only on the 68040.
'&' for the letter `d' in an op code, but only on the 68040.
'&' for the letter `d' in an op code, but only on the 68040.
'/' for register prefix needed by longlong.h.
'b' for byte insn (no effect, on the Sun; this is for the ISI).
'b' for byte insn (no effect, on the Sun; this is for the ISI).
'd' to force memory addressing to be absolute, not relative.
'd' to force memory addressing to be absolute, not relative.
...
@@ -1681,7 +1682,7 @@ do { union { float f; long l;} tem; \
...
@@ -1681,7 +1682,7 @@ do { union { float f; long l;} tem; \
#define PRINT_OPERAND_PUNCT_VALID_P(CODE) \
#define PRINT_OPERAND_PUNCT_VALID_P(CODE) \
((CODE) == '.' || (CODE) == '#' || (CODE) == '-' \
((CODE) == '.' || (CODE) == '#' || (CODE) == '-' \
|| (CODE) == '+' || (CODE) == '@' || (CODE) == '!' \
|| (CODE) == '+' || (CODE) == '@' || (CODE) == '!' \
|| (CODE) == '$' || (CODE) == '&')
|| (CODE) == '$' || (CODE) == '&'
|| (CODE) == '/'
)
#ifdef HOST_WORDS_BIG_ENDIAN
#ifdef HOST_WORDS_BIG_ENDIAN
#define PRINT_OPERAND_EXTRACT_FLOAT(X) \
#define PRINT_OPERAND_EXTRACT_FLOAT(X) \
...
...
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