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
94f23a31
Commit
94f23a31
authored
Mar 16, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r502
parent
de857550
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
12 deletions
+15
-12
gcc/config/m68k/mot3300.h
+15
-12
No files found.
gcc/config/m68k/mot3300.h
View file @
94f23a31
...
...
@@ -192,14 +192,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef ASM_APP_OFF
#define ASM_APP_OFF ""
/* We like aligned sources, and maybe our as will like them. */
#undef TEXT_SECTION_ASM_OP
#define TEXT_SECTION_ASM_OP "
\t
text"
#define TEXT_SECTION_ASM_OP "text"
#undef DATA_SECTION_ASM_OP
#define DATA_SECTION_ASM_OP "
\t
data"
#define DATA_SECTION_ASM_OP "data"
#undef ASCII_DATA_ASM_OP
#define ASCII_DATA_ASM_OP "
\t
byte"
#define ASCII_DATA_ASM_OP "byte"
/* The file command should always begin the output. */
...
...
@@ -391,7 +389,7 @@ do { union { float f; long l;} tem; \
if (++sp < (LEN)) \
{ if (lp > 60) \
{ lp = 0; \
fprintf ((FILE), "\n%s ", ASCII_DATA_ASM_OP); } \
fprintf ((FILE), "\n
\t
%s ", ASCII_DATA_ASM_OP); } \
else \
putc (',', (FILE)); \
goto loop; } \
...
...
@@ -647,6 +645,11 @@ do { union { float f; long l;} tem; \
while (*(PTR) != ' ') \
{ putc (*(PTR), (FILE)); ++(PTR); } \
fprintf ((FILE), ".w"); } \
else if ((PTR)[0] == 's') \
{ \
if (!strncmp ((PTR), "swap", 4)) \
{ fprintf ((FILE), "swap.w"); (PTR) += 4; } \
} \
else if ((PTR)[0] == 'f') \
{ \
if (!strncmp ((PTR), "fmove", 5)) \
...
...
@@ -672,20 +675,20 @@ do { union { float f; long l;} tem; \
else if ((PTR)[0] == 'm' && (PTR)[1] == 'o' \
&& (PTR)[2] == 'v' && (PTR)[3] == 'e') \
{ fprintf ((FILE), "mov"); (PTR) += 4; \
if ((PTR)[0] == 'q' || (PTR)[0] == 'a'
||
\
(PTR)[0] == 'c') (PTR)++; }
\
if ((PTR)[0] == 'q' || (PTR)[0] == 'a'
\
|| (PTR)[0] == 'c') (PTR)++; }
\
/* SUB, SUBQ, SUBA, SUBI ==> SUB */
\
else if ((PTR)[0] == 's' && (PTR)[1] == 'u' \
&& (PTR)[2] == 'b') \
{ fprintf ((FILE), "sub"); (PTR) += 3; \
if ((PTR)[0] == 'q' || (PTR)[0] == 'i'
||
\
(PTR)[0] == 'a') (PTR)++; }
\
if ((PTR)[0] == 'q' || (PTR)[0] == 'i'
\
|| (PTR)[0] == 'a') (PTR)++; }
\
/* CMP, CMPA, CMPI, CMPM ==> CMP */
\
else if ((PTR)[0] == 'c' && (PTR)[1] == 'm' \
&& (PTR)[2] == 'p') \
{ fprintf ((FILE), "cmp"); (PTR) += 3; \
if ((PTR)[0] == 'a' || (PTR)[0] == 'i'
||
\
(PTR)[0] == 'm') (PTR)++; }
\
if ((PTR)[0] == 'a' || (PTR)[0] == 'i'
\
|| (PTR)[0] == 'm') (PTR)++; }
\
/* JMP to switch label */
\
else if (!strncmp((PTR), (SWITCH_JUMP_MATCH), sizeof(SWITCH_JUMP_MATCH) - 1)) \
{ while (*(PTR)++ != '('); \
...
...
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