From 67f611fbef3cf16162867bdf83cb9c8a051dac4a Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Thu, 3 Mar 2016 11:55:13 -0500 Subject: testbed is now functional I would like to make sure some _ tests are passing, however I have to think of a nice way to grab debug output and compare it nicely. Some require NReg == 3, that is a pain in the ass. Maybe they can be changed to work for the full register set. --- lisc/test/_rpo.ssa | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lisc/test/_rpo.ssa (limited to 'lisc/test/_rpo.ssa') diff --git a/lisc/test/_rpo.ssa b/lisc/test/_rpo.ssa new file mode 100644 index 0000000..a10c6b1 --- /dev/null +++ b/lisc/test/_rpo.ssa @@ -0,0 +1,12 @@ +function $test() { +@start + jmp @foo +@baz + jnz 1, @end, @foo +@bar + jmp @end +@foo + jnz 0, @bar, @baz +@end + ret +} -- cgit 1.4.1