Fixed bug with 4-byte sets on 2-byte machines

This commit is contained in:
ceriel 1998-09-03 12:51:38 +00:00
parent 91cb060d10
commit 384c4bc698
4 changed files with 12 additions and 8 deletions

View file

@ -4989,15 +4989,16 @@ pat set $1==2
with conreg2 with conreg2
uses DD_REG = {zero_const, 0} uses DD_REG = {zero_const, 0}
gen bset %1, %a yields %a gen bset %1, %a yields %a
#endif #else
pat set $1==4 pat set $1==4
with conreg2 with conreg2
uses DD_REG4 = {zero_const4, 0} uses DD_REG4 = {zero_const4, 0}
gen bset %1, %a yields %a gen bset %1, %a yields %a
#endif
#if WORD_SIZE==2 #if WORD_SIZE==2
pat set $1>4 pat set $1>2
with STACK with STACK
kills ALL kills ALL
gen move {const, $1}, d0 gen move {const, $1}, d0

View file

@ -4989,15 +4989,16 @@ pat set $1==2
with conreg2 with conreg2
uses DD_REG = {zero_const, 0} uses DD_REG = {zero_const, 0}
gen bset %1, %a yields %a gen bset %1, %a yields %a
#endif #else
pat set $1==4 pat set $1==4
with conreg2 with conreg2
uses DD_REG4 = {zero_const4, 0} uses DD_REG4 = {zero_const4, 0}
gen bset %1, %a yields %a gen bset %1, %a yields %a
#endif
#if WORD_SIZE==2 #if WORD_SIZE==2
pat set $1>4 pat set $1>2
with STACK with STACK
kills ALL kills ALL
gen move {const, $1}, d0 gen move {const, $1}, d0

View file

@ -4989,15 +4989,16 @@ pat set $1==2
with conreg2 with conreg2
uses DD_REG = {zero_const, 0} uses DD_REG = {zero_const, 0}
gen bset %1, %a yields %a gen bset %1, %a yields %a
#endif #else
pat set $1==4 pat set $1==4
with conreg2 with conreg2
uses DD_REG4 = {zero_const4, 0} uses DD_REG4 = {zero_const4, 0}
gen bset %1, %a yields %a gen bset %1, %a yields %a
#endif
#if WORD_SIZE==2 #if WORD_SIZE==2
pat set $1>4 pat set $1>2
with STACK with STACK
kills ALL kills ALL
gen move {const, $1}, d0 gen move {const, $1}, d0

View file

@ -4989,15 +4989,16 @@ pat set $1==2
with conreg2 with conreg2
uses DD_REG = {zero_const, 0} uses DD_REG = {zero_const, 0}
gen bset %1, %a yields %a gen bset %1, %a yields %a
#endif #else
pat set $1==4 pat set $1==4
with conreg2 with conreg2
uses DD_REG4 = {zero_const4, 0} uses DD_REG4 = {zero_const4, 0}
gen bset %1, %a yields %a gen bset %1, %a yields %a
#endif
#if WORD_SIZE==2 #if WORD_SIZE==2
pat set $1>4 pat set $1>2
with STACK with STACK
kills ALL kills ALL
gen move {const, $1}, d0 gen move {const, $1}, d0