the patterns inside #ifdef LONGEMPAT were wrong anyway, so deleted

This commit is contained in:
ceriel 1988-07-19 10:12:21 +00:00
parent 0695089005
commit 60e958a312
2 changed files with 0 additions and 25 deletions

View file

@ -669,12 +669,6 @@ dvi !defined($1)| X_ACC |
remove(ALL) remove(ALL)
"call .dvi" erase(%[1]) | | | "call .dvi" erase(%[1]) | | |
*/ */
#ifdef LONGEMPAT
loc loc cii dvi loc loc cii $1==2 && $2==4 && $4==4 && $5==4 && $6==2
| rmnoacc X_ACC X_DXREG |
"idiv %[1]"
erase(%[2]) erase(%[3]) | ax | |(2,171)+%[1]
#endif
rmi $1==2 | rmnoacc rmorconst | rmi $1==2 | rmnoacc rmorconst |
allocate(%[2], ACC=%[2], DXREG) allocate(%[2], ACC=%[2], DXREG)
"cwd" "cwd"
@ -687,12 +681,6 @@ rmi !defined($1)| X_ACC |
remove(ALL) remove(ALL)
"call .rmi" erase(%[1]) | | | "call .rmi" erase(%[1]) | | |
*/ */
#ifdef LONGEMPAT
loc loc cii rmi loc loc cii $1==2 && $2==4 && $4==4 && $5==4 && $6==2
| rmnoacc X_ACC X_DXREG |
"idiv %[1]"
erase(%[2]) erase(%[3]) | dx | |(2,171)+%[1]
#endif
ngi $1==2 | X_REG | ngi $1==2 | X_REG |
"neg %[1]" "neg %[1]"
setcc(%[1]) erase(%[1]) | %[1] | |(2,3) setcc(%[1]) erase(%[1]) | %[1] | |(2,3)

View file

@ -37,7 +37,6 @@ EM_BSIZE = 4
SIZEFACTOR = 5/1 SIZEFACTOR = 5/1
#define EXACT exact #define EXACT exact
#define LONGEMPAT
#define REGVARS #define REGVARS
/*****************************************************************/ /*****************************************************************/
@ -879,12 +878,6 @@ with ACC
gen joehoe {label,".dvi"} gen joehoe {label,".dvi"}
*/ */
#ifdef LONGEMPAT
pat loc loc cii dvi loc loc cii $1==2 && $2==4 && $4==4 && $5==4 && $6==2
with rmnoacc ACC DXREG
gen idiv %1 yields ax
#endif
pat rmi $1==2 pat rmi $1==2
with rmnoacc rmorconst with rmnoacc rmorconst
uses reusing %2, ACC=%2, DXREG uses reusing %2, ACC=%2, DXREG
@ -902,12 +895,6 @@ with ACC
gen joehoe {label,".rmi"} gen joehoe {label,".rmi"}
*/ */
#ifdef LONGEMPAT
pat loc loc cii rmi loc loc cii $1==2 && $2==4 && $4==4 && $5==4 && $6==2
with rmnoacc ACC DXREG
gen idiv %1 yields dx
#endif
pat ngi $1==2 pat ngi $1==2
with REG with REG
gen neg %1 yields %1 gen neg %1 yields %1