From 68a2852f5709c3048af7919418c70518466400e9 Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 25 Oct 1989 13:24:29 +0000 Subject: [PATCH] fixed bug and changed con_float --- mach/m68020/ncg/mach.c | 3 +++ mach/m68020/ncg/table | 2 +- mach/m68k2/ncg/mach.c | 3 +++ mach/m68k2/ncg/table | 2 +- mach/m68k4/ncg/mach.c | 3 +++ mach/m68k4/ncg/table | 2 +- mach/moon3/ncg/mach.c | 3 +++ mach/moon3/ncg/table | 2 +- 8 files changed, 16 insertions(+), 4 deletions(-) diff --git a/mach/m68020/ncg/mach.c b/mach/m68020/ncg/mach.c index a861269c0..f2e527453 100644 --- a/mach/m68020/ncg/mach.c +++ b/mach/m68020/ncg/mach.c @@ -42,6 +42,9 @@ con_mult(sz) word sz; { #define IEEEFLOAT #define CODE_GENERATOR +#define FL_MSL_AT_LOW_ADDRESS 1 +#define FL_MSW_AT_LOW_ADDRESS 1 +#define FL_MSB_AT_LOW_ADDRESS 1 #include regscore(off,size,typ,score,totyp) diff --git a/mach/m68020/ncg/table b/mach/m68020/ncg/table index 0c6ad5259..41f3f9a14 100644 --- a/mach/m68020/ncg/table +++ b/mach/m68020/ncg/table @@ -2138,7 +2138,7 @@ pat lil lil adp sil sti $1==$2 && $1==$4 && inreg($1)==reg_pointer && $5<=4 uses AA_REG = {indirect4, regvar($1, reg_pointer)} gen add_l {const, $3}, {indirect4, regvar($1, reg_pointer)} killreg %a - yields %1 %a + yields %1 %a leaving sti $5 pat lil lil adp sil $1==$2 && $1==$4 && inreg($1)==reg_pointer kills allexceptcon diff --git a/mach/m68k2/ncg/mach.c b/mach/m68k2/ncg/mach.c index a861269c0..f2e527453 100644 --- a/mach/m68k2/ncg/mach.c +++ b/mach/m68k2/ncg/mach.c @@ -42,6 +42,9 @@ con_mult(sz) word sz; { #define IEEEFLOAT #define CODE_GENERATOR +#define FL_MSL_AT_LOW_ADDRESS 1 +#define FL_MSW_AT_LOW_ADDRESS 1 +#define FL_MSB_AT_LOW_ADDRESS 1 #include regscore(off,size,typ,score,totyp) diff --git a/mach/m68k2/ncg/table b/mach/m68k2/ncg/table index 0c6ad5259..41f3f9a14 100644 --- a/mach/m68k2/ncg/table +++ b/mach/m68k2/ncg/table @@ -2138,7 +2138,7 @@ pat lil lil adp sil sti $1==$2 && $1==$4 && inreg($1)==reg_pointer && $5<=4 uses AA_REG = {indirect4, regvar($1, reg_pointer)} gen add_l {const, $3}, {indirect4, regvar($1, reg_pointer)} killreg %a - yields %1 %a + yields %1 %a leaving sti $5 pat lil lil adp sil $1==$2 && $1==$4 && inreg($1)==reg_pointer kills allexceptcon diff --git a/mach/m68k4/ncg/mach.c b/mach/m68k4/ncg/mach.c index a861269c0..f2e527453 100644 --- a/mach/m68k4/ncg/mach.c +++ b/mach/m68k4/ncg/mach.c @@ -42,6 +42,9 @@ con_mult(sz) word sz; { #define IEEEFLOAT #define CODE_GENERATOR +#define FL_MSL_AT_LOW_ADDRESS 1 +#define FL_MSW_AT_LOW_ADDRESS 1 +#define FL_MSB_AT_LOW_ADDRESS 1 #include regscore(off,size,typ,score,totyp) diff --git a/mach/m68k4/ncg/table b/mach/m68k4/ncg/table index 0c6ad5259..41f3f9a14 100644 --- a/mach/m68k4/ncg/table +++ b/mach/m68k4/ncg/table @@ -2138,7 +2138,7 @@ pat lil lil adp sil sti $1==$2 && $1==$4 && inreg($1)==reg_pointer && $5<=4 uses AA_REG = {indirect4, regvar($1, reg_pointer)} gen add_l {const, $3}, {indirect4, regvar($1, reg_pointer)} killreg %a - yields %1 %a + yields %1 %a leaving sti $5 pat lil lil adp sil $1==$2 && $1==$4 && inreg($1)==reg_pointer kills allexceptcon diff --git a/mach/moon3/ncg/mach.c b/mach/moon3/ncg/mach.c index a861269c0..f2e527453 100644 --- a/mach/moon3/ncg/mach.c +++ b/mach/moon3/ncg/mach.c @@ -42,6 +42,9 @@ con_mult(sz) word sz; { #define IEEEFLOAT #define CODE_GENERATOR +#define FL_MSL_AT_LOW_ADDRESS 1 +#define FL_MSW_AT_LOW_ADDRESS 1 +#define FL_MSB_AT_LOW_ADDRESS 1 #include regscore(off,size,typ,score,totyp) diff --git a/mach/moon3/ncg/table b/mach/moon3/ncg/table index 0c6ad5259..41f3f9a14 100644 --- a/mach/moon3/ncg/table +++ b/mach/moon3/ncg/table @@ -2138,7 +2138,7 @@ pat lil lil adp sil sti $1==$2 && $1==$4 && inreg($1)==reg_pointer && $5<=4 uses AA_REG = {indirect4, regvar($1, reg_pointer)} gen add_l {const, $3}, {indirect4, regvar($1, reg_pointer)} killreg %a - yields %1 %a + yields %1 %a leaving sti $5 pat lil lil adp sil $1==$2 && $1==$4 && inreg($1)==reg_pointer kills allexceptcon