changed stacheight to topeltsize

This commit is contained in:
eck 1990-09-04 17:13:37 +00:00
parent dace3435ec
commit ee652e6908
5 changed files with 29 additions and 29 deletions

View file

@ -2719,24 +2719,24 @@ pat loc cmu zne $1<256 && $1>=0 && $2==2 call loccmuzxx("jne")
* Group 13 : Branch Instructions * * Group 13 : Branch Instructions *
*******************************************************************/ *******************************************************************/
pat lab stackheight($1)==2 && !fallthrough($1) pat lab topeltsize($1)==2 && !fallthrough($1)
with STACK with STACK
gen labeldef $1 yields ax gen labeldef $1 yields ax
pat lab stackheight($1)==2 && fallthrough($1) pat lab topeltsize($1)==2 && fallthrough($1)
with ACC STACK with ACC STACK
gen labeldef $1 yields ax gen labeldef $1 yields ax
pat lab stackheight($1)!=2 pat lab topeltsize($1)!=2
with STACK with STACK
kills ALL kills ALL
gen labeldef $1 gen labeldef $1
pat bra stackheight($1)==2 pat bra topeltsize($1)==2
with ACC STACK with ACC STACK
gen jmp {label,$1} gen jmp {label,$1}
pat bra stackheight($1)!=2 pat bra topeltsize($1)!=2
with STACK with STACK
gen jmp {label,$1} gen jmp {label,$1}

View file

@ -5272,19 +5272,19 @@ pat zrf leaving zer $1
************************************************/ ************************************************/
#if WORD_SIZE==2 #if WORD_SIZE==2
pat lab stackheight($1)==4 && !fallthrough($1) pat lab topeltsize($1)==4 && !fallthrough($1)
gen labeldef $1 yields dl0 gen labeldef $1 yields dl0
pat lab stackheight($1)==4 && fallthrough($1) pat lab topeltsize($1)==4 && fallthrough($1)
with any4 STACK with any4 STACK
gen move %1, dl0 gen move %1, dl0
labeldef $1 yields dl0 labeldef $1 yields dl0
#endif #endif
pat lab stackheight($1)==WORD_SIZE && !fallthrough($1) pat lab topeltsize($1)==WORD_SIZE && !fallthrough($1)
gen labeldef $1 yields d0 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 with any_int STACK
kills ALL kills ALL
gen move %1,d0 gen move %1,d0
@ -5296,13 +5296,13 @@ kills ALL
gen labeldef $1 gen labeldef $1
#if WORD_SIZE==2 #if WORD_SIZE==2
pat bra stackheight($1)==4 pat bra topeltsize($1)==4
with any4 STACK with any4 STACK
gen move %1,dl0 gen move %1,dl0
bra {llabel, $1} bra {llabel, $1}
#endif #endif
pat bra stackheight($1)==WORD_SIZE pat bra topeltsize($1)==WORD_SIZE
with any_int STACK with any_int STACK
gen move %1,d0 gen move %1,d0
bra {llabel, $1} bra {llabel, $1}

View file

@ -5272,19 +5272,19 @@ pat zrf leaving zer $1
************************************************/ ************************************************/
#if WORD_SIZE==2 #if WORD_SIZE==2
pat lab stackheight($1)==4 && !fallthrough($1) pat lab topeltsize($1)==4 && !fallthrough($1)
gen labeldef $1 yields dl0 gen labeldef $1 yields dl0
pat lab stackheight($1)==4 && fallthrough($1) pat lab topeltsize($1)==4 && fallthrough($1)
with any4 STACK with any4 STACK
gen move %1, dl0 gen move %1, dl0
labeldef $1 yields dl0 labeldef $1 yields dl0
#endif #endif
pat lab stackheight($1)==WORD_SIZE && !fallthrough($1) pat lab topeltsize($1)==WORD_SIZE && !fallthrough($1)
gen labeldef $1 yields d0 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 with any_int STACK
kills ALL kills ALL
gen move %1,d0 gen move %1,d0
@ -5296,13 +5296,13 @@ kills ALL
gen labeldef $1 gen labeldef $1
#if WORD_SIZE==2 #if WORD_SIZE==2
pat bra stackheight($1)==4 pat bra topeltsize($1)==4
with any4 STACK with any4 STACK
gen move %1,dl0 gen move %1,dl0
bra {llabel, $1} bra {llabel, $1}
#endif #endif
pat bra stackheight($1)==WORD_SIZE pat bra topeltsize($1)==WORD_SIZE
with any_int STACK with any_int STACK
gen move %1,d0 gen move %1,d0
bra {llabel, $1} bra {llabel, $1}

View file

@ -5272,19 +5272,19 @@ pat zrf leaving zer $1
************************************************/ ************************************************/
#if WORD_SIZE==2 #if WORD_SIZE==2
pat lab stackheight($1)==4 && !fallthrough($1) pat lab topeltsize($1)==4 && !fallthrough($1)
gen labeldef $1 yields dl0 gen labeldef $1 yields dl0
pat lab stackheight($1)==4 && fallthrough($1) pat lab topeltsize($1)==4 && fallthrough($1)
with any4 STACK with any4 STACK
gen move %1, dl0 gen move %1, dl0
labeldef $1 yields dl0 labeldef $1 yields dl0
#endif #endif
pat lab stackheight($1)==WORD_SIZE && !fallthrough($1) pat lab topeltsize($1)==WORD_SIZE && !fallthrough($1)
gen labeldef $1 yields d0 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 with any_int STACK
kills ALL kills ALL
gen move %1,d0 gen move %1,d0
@ -5296,13 +5296,13 @@ kills ALL
gen labeldef $1 gen labeldef $1
#if WORD_SIZE==2 #if WORD_SIZE==2
pat bra stackheight($1)==4 pat bra topeltsize($1)==4
with any4 STACK with any4 STACK
gen move %1,dl0 gen move %1,dl0
bra {llabel, $1} bra {llabel, $1}
#endif #endif
pat bra stackheight($1)==WORD_SIZE pat bra topeltsize($1)==WORD_SIZE
with any_int STACK with any_int STACK
gen move %1,d0 gen move %1,d0
bra {llabel, $1} bra {llabel, $1}

View file

@ -5272,19 +5272,19 @@ pat zrf leaving zer $1
************************************************/ ************************************************/
#if WORD_SIZE==2 #if WORD_SIZE==2
pat lab stackheight($1)==4 && !fallthrough($1) pat lab topeltsize($1)==4 && !fallthrough($1)
gen labeldef $1 yields dl0 gen labeldef $1 yields dl0
pat lab stackheight($1)==4 && fallthrough($1) pat lab topeltsize($1)==4 && fallthrough($1)
with any4 STACK with any4 STACK
gen move %1, dl0 gen move %1, dl0
labeldef $1 yields dl0 labeldef $1 yields dl0
#endif #endif
pat lab stackheight($1)==WORD_SIZE && !fallthrough($1) pat lab topeltsize($1)==WORD_SIZE && !fallthrough($1)
gen labeldef $1 yields d0 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 with any_int STACK
kills ALL kills ALL
gen move %1,d0 gen move %1,d0
@ -5296,13 +5296,13 @@ kills ALL
gen labeldef $1 gen labeldef $1
#if WORD_SIZE==2 #if WORD_SIZE==2
pat bra stackheight($1)==4 pat bra topeltsize($1)==4
with any4 STACK with any4 STACK
gen move %1,dl0 gen move %1,dl0
bra {llabel, $1} bra {llabel, $1}
#endif #endif
pat bra stackheight($1)==WORD_SIZE pat bra topeltsize($1)==WORD_SIZE
with any_int STACK with any_int STACK
gen move %1,d0 gen move %1,d0
bra {llabel, $1} bra {llabel, $1}