aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/m68k
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-07-09 22:11:31 +0000
committerRichard Stallman <rms@gnu.org>1992-07-09 22:11:31 +0000
commit7fd00bbbd79841519886282de7627ce3071f4fa7 (patch)
tree0a91f84d1d718d8735e600ed1398fc281b3e2353 /gcc/config/m68k
parent5bf665dfd8f973eb67dabf1744ad0b8b8e8310ed (diff)
downloadgcc-7fd00bbbd79841519886282de7627ce3071f4fa7.zip
gcc-7fd00bbbd79841519886282de7627ce3071f4fa7.tar.gz
gcc-7fd00bbbd79841519886282de7627ce3071f4fa7.tar.bz2
(ASM_OUTPUT_CASE_END): New macro.
From-SVN: r1542
Diffstat (limited to 'gcc/config/m68k')
-rw-r--r--gcc/config/m68k/mot3300.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/m68k/mot3300.h b/gcc/config/m68k/mot3300.h
index b7fcedc..beadb72 100644
--- a/gcc/config/m68k/mot3300.h
+++ b/gcc/config/m68k/mot3300.h
@@ -632,6 +632,11 @@ do { union { float f; long l;} tem; \
fprintf (FILE, "\tswbeg &%d\n%s%%%d:\n", \
XVECLEN (PATTERN (TABLE), 1), (PREFIX), (NUM))
+/* At end of a switch table, define LD%n iff the symbol LI%n was defined. */
+#define ASM_OUTPUT_CASE_END(FILE,NUM,TABLE) \
+ if (switch_table_difference_label_flag) \
+ fprintf (FILE, "\tset LD%%%d,L%%%d-LI%%%d\n", (NUM), (NUM), (NUM))
+
/* Translate some opcodes to fit the sysV68 assembler syntax. */
/* The opcodes fdmov and fsmov are guesses. */