From: eck Date: Tue, 4 Sep 1990 17:13:37 +0000 (+0000) Subject: changed stacheight to topeltsize X-Git-Tag: release-5-5~1566 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=ee652e6908839052965e881c315ab2919a6cf019;p=ack.git changed stacheight to topeltsize --- diff --git a/mach/i86/ncg/table b/mach/i86/ncg/table index 2b8df3339..2f49ed6d1 100644 --- a/mach/i86/ncg/table +++ b/mach/i86/ncg/table @@ -2719,24 +2719,24 @@ pat loc cmu zne $1<256 && $1>=0 && $2==2 call loccmuzxx("jne") * Group 13 : Branch Instructions * *******************************************************************/ -pat lab stackheight($1)==2 && !fallthrough($1) +pat lab topeltsize($1)==2 && !fallthrough($1) with STACK gen labeldef $1 yields ax -pat lab stackheight($1)==2 && fallthrough($1) +pat lab topeltsize($1)==2 && fallthrough($1) with ACC STACK gen labeldef $1 yields ax -pat lab stackheight($1)!=2 +pat lab topeltsize($1)!=2 with STACK kills ALL gen labeldef $1 -pat bra stackheight($1)==2 +pat bra topeltsize($1)==2 with ACC STACK gen jmp {label,$1} -pat bra stackheight($1)!=2 +pat bra topeltsize($1)!=2 with STACK gen jmp {label,$1} diff --git a/mach/m68020/ncg/table b/mach/m68020/ncg/table index 26d49a3d1..10b11f067 100644 --- a/mach/m68020/ncg/table +++ b/mach/m68020/ncg/table @@ -5272,19 +5272,19 @@ pat zrf leaving zer $1 ************************************************/ #if WORD_SIZE==2 -pat lab stackheight($1)==4 && !fallthrough($1) +pat lab topeltsize($1)==4 && !fallthrough($1) gen labeldef $1 yields dl0 -pat lab stackheight($1)==4 && fallthrough($1) +pat lab topeltsize($1)==4 && fallthrough($1) with any4 STACK gen move %1, dl0 labeldef $1 yields dl0 #endif -pat lab stackheight($1)==WORD_SIZE && !fallthrough($1) +pat lab topeltsize($1)==WORD_SIZE && !fallthrough($1) gen labeldef $1 yields d0 -pat lab stackheight($1)==WORD_SIZE && fallthrough($1) +pat lab topeltsize($1)==WORD_SIZE && fallthrough($1) with any_int STACK kills ALL gen move %1,d0 @@ -5296,13 +5296,13 @@ kills ALL gen labeldef $1 #if WORD_SIZE==2 -pat bra stackheight($1)==4 +pat bra topeltsize($1)==4 with any4 STACK gen move %1,dl0 bra {llabel, $1} #endif -pat bra stackheight($1)==WORD_SIZE +pat bra topeltsize($1)==WORD_SIZE with any_int STACK gen move %1,d0 bra {llabel, $1} diff --git a/mach/m68k2/ncg/table b/mach/m68k2/ncg/table index 26d49a3d1..10b11f067 100644 --- a/mach/m68k2/ncg/table +++ b/mach/m68k2/ncg/table @@ -5272,19 +5272,19 @@ pat zrf leaving zer $1 ************************************************/ #if WORD_SIZE==2 -pat lab stackheight($1)==4 && !fallthrough($1) +pat lab topeltsize($1)==4 && !fallthrough($1) gen labeldef $1 yields dl0 -pat lab stackheight($1)==4 && fallthrough($1) +pat lab topeltsize($1)==4 && fallthrough($1) with any4 STACK gen move %1, dl0 labeldef $1 yields dl0 #endif -pat lab stackheight($1)==WORD_SIZE && !fallthrough($1) +pat lab topeltsize($1)==WORD_SIZE && !fallthrough($1) gen labeldef $1 yields d0 -pat lab stackheight($1)==WORD_SIZE && fallthrough($1) +pat lab topeltsize($1)==WORD_SIZE && fallthrough($1) with any_int STACK kills ALL gen move %1,d0 @@ -5296,13 +5296,13 @@ kills ALL gen labeldef $1 #if WORD_SIZE==2 -pat bra stackheight($1)==4 +pat bra topeltsize($1)==4 with any4 STACK gen move %1,dl0 bra {llabel, $1} #endif -pat bra stackheight($1)==WORD_SIZE +pat bra topeltsize($1)==WORD_SIZE with any_int STACK gen move %1,d0 bra {llabel, $1} diff --git a/mach/m68k4/ncg/table b/mach/m68k4/ncg/table index 26d49a3d1..10b11f067 100644 --- a/mach/m68k4/ncg/table +++ b/mach/m68k4/ncg/table @@ -5272,19 +5272,19 @@ pat zrf leaving zer $1 ************************************************/ #if WORD_SIZE==2 -pat lab stackheight($1)==4 && !fallthrough($1) +pat lab topeltsize($1)==4 && !fallthrough($1) gen labeldef $1 yields dl0 -pat lab stackheight($1)==4 && fallthrough($1) +pat lab topeltsize($1)==4 && fallthrough($1) with any4 STACK gen move %1, dl0 labeldef $1 yields dl0 #endif -pat lab stackheight($1)==WORD_SIZE && !fallthrough($1) +pat lab topeltsize($1)==WORD_SIZE && !fallthrough($1) gen labeldef $1 yields d0 -pat lab stackheight($1)==WORD_SIZE && fallthrough($1) +pat lab topeltsize($1)==WORD_SIZE && fallthrough($1) with any_int STACK kills ALL gen move %1,d0 @@ -5296,13 +5296,13 @@ kills ALL gen labeldef $1 #if WORD_SIZE==2 -pat bra stackheight($1)==4 +pat bra topeltsize($1)==4 with any4 STACK gen move %1,dl0 bra {llabel, $1} #endif -pat bra stackheight($1)==WORD_SIZE +pat bra topeltsize($1)==WORD_SIZE with any_int STACK gen move %1,d0 bra {llabel, $1} diff --git a/mach/moon3/ncg/table b/mach/moon3/ncg/table index 26d49a3d1..10b11f067 100644 --- a/mach/moon3/ncg/table +++ b/mach/moon3/ncg/table @@ -5272,19 +5272,19 @@ pat zrf leaving zer $1 ************************************************/ #if WORD_SIZE==2 -pat lab stackheight($1)==4 && !fallthrough($1) +pat lab topeltsize($1)==4 && !fallthrough($1) gen labeldef $1 yields dl0 -pat lab stackheight($1)==4 && fallthrough($1) +pat lab topeltsize($1)==4 && fallthrough($1) with any4 STACK gen move %1, dl0 labeldef $1 yields dl0 #endif -pat lab stackheight($1)==WORD_SIZE && !fallthrough($1) +pat lab topeltsize($1)==WORD_SIZE && !fallthrough($1) gen labeldef $1 yields d0 -pat lab stackheight($1)==WORD_SIZE && fallthrough($1) +pat lab topeltsize($1)==WORD_SIZE && fallthrough($1) with any_int STACK kills ALL gen move %1,d0 @@ -5296,13 +5296,13 @@ kills ALL gen labeldef $1 #if WORD_SIZE==2 -pat bra stackheight($1)==4 +pat bra topeltsize($1)==4 with any4 STACK gen move %1,dl0 bra {llabel, $1} #endif -pat bra stackheight($1)==WORD_SIZE +pat bra topeltsize($1)==WORD_SIZE with any_int STACK gen move %1,d0 bra {llabel, $1}