summary refs log tree commit diff
path: root/lisc/test/align.ssa
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-08-24 18:09:28 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-09-15 23:01:32 -0400
commita68196ccc16784d3901f1a0276c7402f66a88a97 (patch)
tree09adc1211a6adb2522cb8755d921a85b23f05b5a /lisc/test/align.ssa
parentf6349f4b6e46d5e8cd8ab41953c9e89f8684f5bc (diff)
downloadroux-a68196ccc16784d3901f1a0276c7402f66a88a97.tar.gz
new alignment test
This test also exposes a loose handling of clobbers,
I think it should be possible to compile it without
spilling.
Diffstat (limited to 'lisc/test/align.ssa')
-rw-r--r--lisc/test/align.ssa8
1 files changed, 8 insertions, 0 deletions
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