summaryrefslogtreecommitdiff
path: root/vaporize/tests/Factorial.regalloc
diff options
context:
space:
mode:
authorbd-912 <bdunahu@colostate.edu>2024-04-14 02:36:20 -0600
committerbd-912 <bdunahu@colostate.edu>2024-04-14 02:36:20 -0600
commitbd59acec960bf9e2ad93f0d1caa11a65613ee168 (patch)
tree3ef38b63578eaaea2b8b8e929d00195e57ab8834 /vaporize/tests/Factorial.regalloc
parentee60d3f9a32f75c628961f40a9bf4f1bf387ac06 (diff)
Add HW4 Test Files
Diffstat (limited to 'vaporize/tests/Factorial.regalloc')
-rw-r--r--vaporize/tests/Factorial.regalloc42
1 files changed, 42 insertions, 0 deletions
diff --git a/vaporize/tests/Factorial.regalloc b/vaporize/tests/Factorial.regalloc
new file mode 100644
index 0000000..e07e8d1
--- /dev/null
+++ b/vaporize/tests/Factorial.regalloc
@@ -0,0 +1,42 @@
+func Main
+ in 0, out 0, callee-saves 0, spills 0
+Live In:
+ t.0: 8-9 12-14
+ t.1: 13-14
+ t.2: 15
+Linear Range:
+ t.0: 7-14
+ t.1: 12-14
+ t.2: 14-15
+Allocation:
+ t.0: t0
+ t.1: t1
+ t.2: t1
+
+func Fac.ComputeFac
+ in 0, out 0, callee-saves 1, spills 0
+Live In:
+ this: 19-20 24-27
+ num: 19-20 24-28
+ t.0: 20
+ num_aux: 22 30
+ t.1: 25-27
+ t.2: 27
+ t.3: 28
+Linear Range:
+ this: 18-27
+ num: 18-28 (cross call)
+ t.0: 19-20
+ num_aux: 21-30
+ t.1: 24-27
+ t.2: 26-27
+ t.3: 27-28
+Allocation:
+ this: t0
+ num: s0
+ t.0: t1
+ num_aux: t1
+ t.1: t2
+ t.2: t3
+ t.3: t3
+