about summary refs log tree commit diff stats
path: root/tools/stack_array.subx
Commit message (Collapse)AuthorAgeFilesLines
* .Kartik Agaram2021-03-241-636/+0
|
* 6123 - runtime helper for initializing arraysKartik Agaram2020-03-111-0/+636
I built this in 3 phases: a) create a helper in the bootstrap VM to render the state of the stack. b) interactively arrive at the right function (tools/stack_array.subx) c) pull the final solution into the standard library (093stack_allocate.subx) As the final layer says, this may not be the fastest approach for most (or indeed any) Mu programs. Perhaps it's better on balance for the compiler to just emit n/4 `push` instructions. (I'm sure this solution can be optimized further.)
kkartik.com> 2019-09-14 01:42:29 -0700 committer Kartik Agaram <vc@akkartik.com> 2019-09-14 01:45:55 -0700 5650 - support a second OS: soso' href='/akkartik/mu/commit/kernel.soso/rootfs.c?h=hlt&id=46bb1d3157f9ad575c83a4bfa1e32b0d21bc8546'>46bb1d31 ^
67de9b02 ^
46bb1d31 ^


67de9b02 ^
46bb1d31 ^


67de9b02 ^
46bb1d31 ^

67de9b02 ^

46bb1d31 ^












67de9b02 ^
46bb1d31 ^
67de9b02 ^

46bb1d31 ^







67de9b02 ^
46bb1d31 ^
67de9b02 ^

46bb1d31 ^















67de9b02 ^
46bb1d31 ^

67de9b02 ^
46bb1d31 ^
67de9b02 ^
46bb1d31 ^







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96