Bug fix in "inc loc adi" patterns and the like.

This commit is contained in:
ceriel 1986-11-24 10:42:29 +00:00
parent 596c631a71
commit eba14fa801

View file

@ -1,10 +1,10 @@
"$Header$"
loc adi loc sbi $2==w && $4==w: loc $1-$3 adi w
inc dec:
inc loc adi $3==w: loc $1+1 adi w
inc loc sbi $3==w: loc $1-1 sbi w
dec loc adi $3==w: loc $1-1 adi w
dec loc sbi $3==w: loc $1+1 sbi w
inc loc adi $3==w: loc $2+1 adi w
inc loc sbi $3==w: loc $2-1 sbi w
dec loc adi $3==w: loc $2-1 adi w
dec loc sbi $3==w: loc $2+1 sbi w
ldc adi ldc sbi $2==2*w && $4==2*w: ldc $1-$3 adi 2*w
loc adi loc adi $2==w && $4==w: loc $1+$3 adi w
ldc adi ldc adi $2==2*w && $4==2*w: ldc $1+$3 adi 2*w