ack/mach/m68020/ncg
George Koehler 0b0c3d5b60 Add csa 8, csb 8 for i386, m68020.
This allows `long long x; switch (x) {...}` in C.  Add test in C.

This adapts the code for csa 8 and csb 8 from the existing code for
csa 4 and csb 4, for both i386 and m68020.
2019-09-27 12:15:10 -04:00
..
instrmacs.h added m68k2 stuff, added patterns 1990-08-20 13:55:38 +00:00
mach.c Teach some ncg machines to use .data8 2019-08-13 15:37:05 -04:00
mach.h Ensure that procedure labels are word aligned (required by the EM spec). 2019-06-17 22:26:31 +02:00
README Fix to fix 1991-03-25 13:16:02 +00:00
table Add csa 8, csb 8 for i386, m68020. 2019-09-27 12:15:10 -04:00
whichone.h Check in incomplete Linux PowerPC and M68K work. 2013-05-08 00:48:48 +01:00

The file 'table' in this directory contains a back end table for the
MC68020 processor as well as one for the MC68000. Both tables use 2 or 4 bytes
for words and 4 bytes for pointers. The table must be preprocessed first
by the C preprocessor.
The file "whichone.h" specifies which code generator is generated:
it #defines either TBL68000 or TBL86020, and it defines WORD_SIZE to either
2 or 4.
The m68k4(TBL68000) cg can very well be used for the MC68010 processor,
for it makes rather efficient use of the 68010 loop mode.

The mach.[ch] files are also suitable for both the m68020 and the m68k[24].