Added a very-nearly-noop peephole optimiser for Z80.

This commit is contained in:
dtrg 2008-03-20 23:20:08 +00:00
parent fc44fe2185
commit 481bcd8a8b
2 changed files with 16 additions and 0 deletions

1
mach/z80/top/.distr Normal file
View file

@ -0,0 +1 @@
table

15
mach/z80/top/table Normal file
View file

@ -0,0 +1,15 @@
/* 8080 desciptor table for ACK target optimizer */
MAXOP 2;
%%;
X, Y, Z { TRUE };
%%;
/* Whitespace is significant here! */
ld X, Y : ld X, Z -> mov X, Z ;
%%;