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
d69eb909
Commit
d69eb909
authored
Mar 08, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r420
parent
43100b14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
gcc/config/m68k/3b1.h
+11
-7
No files found.
gcc/config/m68k/3b1.h
View file @
d69eb909
...
@@ -22,7 +22,6 @@ You should have received a copy of the GNU General Public License
...
@@ -22,7 +22,6 @@ You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define SGS_SWAP_W
/* Use swap.w rather than just plain swap */
#define SGS_SWITCH_TABLES
/* Different switch table handling */
#define SGS_SWITCH_TABLES
/* Different switch table handling */
#include "hp320.h"
#include "hp320.h"
...
@@ -377,6 +376,11 @@ do { union { float f; long l;} tem; \
...
@@ -377,6 +376,11 @@ do { union { float f; long l;} tem; \
while (*(PTR) != ' ') \
while (*(PTR) != ' ') \
{ putc (*(PTR), (FILE)); ++(PTR); } \
{ putc (*(PTR), (FILE)); ++(PTR); } \
fprintf ((FILE), ".w"); } \
fprintf ((FILE), ".w"); } \
else if ((PTR)[0] == 's') \
{ \
if (!strncmp ((PTR), "swap", 4)) \
{ fprintf ((FILE), "swap.w"); (PTR) += 4; } \
} \
else if ((PTR)[0] == 'f') \
else if ((PTR)[0] == 'f') \
{ \
{ \
if (!strncmp ((PTR), "fmove", 5)) \
if (!strncmp ((PTR), "fmove", 5)) \
...
@@ -388,20 +392,20 @@ do { union { float f; long l;} tem; \
...
@@ -388,20 +392,20 @@ do { union { float f; long l;} tem; \
else if ((PTR)[0] == 'm' && (PTR)[1] == 'o' \
else if ((PTR)[0] == 'm' && (PTR)[1] == 'o' \
&& (PTR)[2] == 'v' && (PTR)[3] == 'e') \
&& (PTR)[2] == 'v' && (PTR)[3] == 'e') \
{ fprintf ((FILE), "mov"); (PTR) += 4; \
{ fprintf ((FILE), "mov"); (PTR) += 4; \
if ((PTR)[0] == 'q' || (PTR)[0] == 'a'
||
\
if ((PTR)[0] == 'q' || (PTR)[0] == 'a'
\
(PTR)[0] == 'c') (PTR)++; }
\
|| (PTR)[0] == 'c') (PTR)++; }
\
/* SUB, SUBQ, SUBA, SUBI ==> SUB */
\
/* SUB, SUBQ, SUBA, SUBI ==> SUB */
\
else if ((PTR)[0] == 's' && (PTR)[1] == 'u' \
else if ((PTR)[0] == 's' && (PTR)[1] == 'u' \
&& (PTR)[2] == 'b') \
&& (PTR)[2] == 'b') \
{ fprintf ((FILE), "sub"); (PTR) += 3; \
{ fprintf ((FILE), "sub"); (PTR) += 3; \
if ((PTR)[0] == 'q' || (PTR)[0] == 'i'
||
\
if ((PTR)[0] == 'q' || (PTR)[0] == 'i'
\
(PTR)[0] == 'a') (PTR)++; }
\
|| (PTR)[0] == 'a') (PTR)++; }
\
/* CMP, CMPA, CMPI, CMPM ==> CMP */
\
/* CMP, CMPA, CMPI, CMPM ==> CMP */
\
else if ((PTR)[0] == 'c' && (PTR)[1] == 'm' \
else if ((PTR)[0] == 'c' && (PTR)[1] == 'm' \
&& (PTR)[2] == 'p') \
&& (PTR)[2] == 'p') \
{ fprintf ((FILE), "cmp"); (PTR) += 3; \
{ fprintf ((FILE), "cmp"); (PTR) += 3; \
if ((PTR)[0] == 'a' || (PTR)[0] == 'i'
||
\
if ((PTR)[0] == 'a' || (PTR)[0] == 'i'
\
(PTR)[0] == 'm') (PTR)++; }
\
|| (PTR)[0] == 'm') (PTR)++; }
\
}
}
#define ASM_OUTPUT_LOCAL(FILE, NAME, SIZE, ROUNDED) \
#define ASM_OUTPUT_LOCAL(FILE, NAME, SIZE, ROUNDED) \
...
...
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