Closed CollinReeser closed 9 years ago
This issue exists both as a way to finish the missing append/slice code, but also to provide a robust reimplementation of the existing code, which has had bugs in the past and likely still does.
Closing with release of 0.9.0 (ee20732cb3ca8a8e1313be02bc8a44d905a2d509).
That is, instead of hand-rolling the array append and slice code in assembly, write typesize-specific implementations in C, compile to optimized assembly, inspect and correct the result, and inline that generated assembly into the code generator, committing the C files for reference and future corrections/additions.
Ideally, the generated code makes no use of the stack, and especially no use of callee-saved registers.