qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

commit 48f90356e0ab48307d34a21f918701e671d6d37e
parent 5bd9deac8df0c3f097b5ffbb5381af4003fe667c
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date:   Sat, 25 Jul 2015 06:39:38 -0400

new euclidean division test

Diffstat:
Alisc/test/eucl.ssa | 15+++++++++++++++
1 file changed, 15 insertions(+), 0 deletions(-)

diff --git a/lisc/test/eucl.ssa b/lisc/test/eucl.ssa @@ -0,0 +1,15 @@ +# euclide's algorithm in ssa +# it is a fairly interesting +# ssa program because of the +# swap of b and a + +@start + +@loop + %a = phi @start 380, @loop %r + %b = phi @start 747, @loop %a + %r = rem %b, %a + jez %r, @end, @loop + +@end + ret