From a68196ccc16784d3901f1a0276c7402f66a88a97 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Mon, 24 Aug 2015 18:09:28 -0400 Subject: new alignment test This test also exposes a loose handling of clobbers, I think it should be possible to compile it without spilling. --- lisc/test/align.ssa | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 lisc/test/align.ssa (limited to 'lisc/test/align.ssa') diff --git a/lisc/test/align.ssa b/lisc/test/align.ssa new file mode 100644 index 0000000..a94d668 --- /dev/null +++ b/lisc/test/align.ssa @@ -0,0 +1,8 @@ +@start + %x =l alloc16 16 + %y =l add %x, 8 + %m =w rem %y, 16 + storew %m, %y + %n =w load %y + storew %n, $a + ret -- cgit 1.4.1