From 8b67c1f8000fc53b4687e7a6cd3e15d7fe7e7530 Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 25 Mar 1991 13:16:02 +0000 Subject: [PATCH] Fix to fix --- mach/m68020/ncg/README | 9 +++++---- mach/m68020/ncg/table | 4 ++-- mach/m68k2/ncg/README | 9 +++++---- mach/m68k2/ncg/table | 4 ++-- mach/m68k4/ncg/README | 9 +++++---- mach/m68k4/ncg/table | 4 ++-- mach/moon3/ncg/README | 9 +++++---- mach/moon3/ncg/table | 4 ++-- 8 files changed, 28 insertions(+), 24 deletions(-) diff --git a/mach/m68020/ncg/README b/mach/m68020/ncg/README index 327b53abd..1849c66e5 100644 --- a/mach/m68020/ncg/README +++ b/mach/m68020/ncg/README @@ -1,10 +1,11 @@ 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 4 bytes -for words as well as for pointers. The table must be preprocessed first +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. +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 m68k4. +The mach.[ch] files are also suitable for both the m68020 and the m68k[24]. diff --git a/mach/m68020/ncg/table b/mach/m68020/ncg/table index a8b516a00..c07da6a8b 100644 --- a/mach/m68020/ncg/table +++ b/mach/m68020/ncg/table @@ -4765,7 +4765,7 @@ proc logndef with any_int STACK uses AA_REG, DD_REG, - DD_REG4 + DD_REG4={const,0} gen move %1, %c.1 lea {regAregXcon, sp, %c, 1, 0},%a @@ -4869,7 +4869,7 @@ with DD_REG STACK pat com !defined($1) with any_int STACK uses AA_REG, - DD_REG4 + DD_REG4={const,0} gen move %1, %b.1 move_l sp, %a asr_l {small_const, 1}, %b diff --git a/mach/m68k2/ncg/README b/mach/m68k2/ncg/README index 327b53abd..1849c66e5 100644 --- a/mach/m68k2/ncg/README +++ b/mach/m68k2/ncg/README @@ -1,10 +1,11 @@ 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 4 bytes -for words as well as for pointers. The table must be preprocessed first +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. +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 m68k4. +The mach.[ch] files are also suitable for both the m68020 and the m68k[24]. diff --git a/mach/m68k2/ncg/table b/mach/m68k2/ncg/table index a8b516a00..c07da6a8b 100644 --- a/mach/m68k2/ncg/table +++ b/mach/m68k2/ncg/table @@ -4765,7 +4765,7 @@ proc logndef with any_int STACK uses AA_REG, DD_REG, - DD_REG4 + DD_REG4={const,0} gen move %1, %c.1 lea {regAregXcon, sp, %c, 1, 0},%a @@ -4869,7 +4869,7 @@ with DD_REG STACK pat com !defined($1) with any_int STACK uses AA_REG, - DD_REG4 + DD_REG4={const,0} gen move %1, %b.1 move_l sp, %a asr_l {small_const, 1}, %b diff --git a/mach/m68k4/ncg/README b/mach/m68k4/ncg/README index 327b53abd..1849c66e5 100644 --- a/mach/m68k4/ncg/README +++ b/mach/m68k4/ncg/README @@ -1,10 +1,11 @@ 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 4 bytes -for words as well as for pointers. The table must be preprocessed first +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. +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 m68k4. +The mach.[ch] files are also suitable for both the m68020 and the m68k[24]. diff --git a/mach/m68k4/ncg/table b/mach/m68k4/ncg/table index a8b516a00..c07da6a8b 100644 --- a/mach/m68k4/ncg/table +++ b/mach/m68k4/ncg/table @@ -4765,7 +4765,7 @@ proc logndef with any_int STACK uses AA_REG, DD_REG, - DD_REG4 + DD_REG4={const,0} gen move %1, %c.1 lea {regAregXcon, sp, %c, 1, 0},%a @@ -4869,7 +4869,7 @@ with DD_REG STACK pat com !defined($1) with any_int STACK uses AA_REG, - DD_REG4 + DD_REG4={const,0} gen move %1, %b.1 move_l sp, %a asr_l {small_const, 1}, %b diff --git a/mach/moon3/ncg/README b/mach/moon3/ncg/README index 327b53abd..1849c66e5 100644 --- a/mach/moon3/ncg/README +++ b/mach/moon3/ncg/README @@ -1,10 +1,11 @@ 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 4 bytes -for words as well as for pointers. The table must be preprocessed first +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. +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 m68k4. +The mach.[ch] files are also suitable for both the m68020 and the m68k[24]. diff --git a/mach/moon3/ncg/table b/mach/moon3/ncg/table index a8b516a00..c07da6a8b 100644 --- a/mach/moon3/ncg/table +++ b/mach/moon3/ncg/table @@ -4765,7 +4765,7 @@ proc logndef with any_int STACK uses AA_REG, DD_REG, - DD_REG4 + DD_REG4={const,0} gen move %1, %c.1 lea {regAregXcon, sp, %c, 1, 0},%a @@ -4869,7 +4869,7 @@ with DD_REG STACK pat com !defined($1) with any_int STACK uses AA_REG, - DD_REG4 + DD_REG4={const,0} gen move %1, %b.1 move_l sp, %a asr_l {small_const, 1}, %b -- 2.34.1