Added a very-nearly-noop peephole optimiser for Z80.
authordtrg <none@none>
Thu, 20 Mar 2008 23:20:08 +0000 (23:20 +0000)
committerdtrg <none@none>
Thu, 20 Mar 2008 23:20:08 +0000 (23:20 +0000)
mach/z80/top/.distr [new file with mode: 0644]
mach/z80/top/table [new file with mode: 0644]

diff --git a/mach/z80/top/.distr b/mach/z80/top/.distr
new file mode 100644 (file)
index 0000000..ecbe2e6
--- /dev/null
@@ -0,0 +1 @@
+table
diff --git a/mach/z80/top/table b/mach/z80/top/table
new file mode 100644 (file)
index 0000000..b871286
--- /dev/null
@@ -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 ;
+
+%%;