Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 6382 - re-enable mu.subx in CI | Kartik Agaram | 2020-05-22 | 12 | -25/+25 |
| | | | | | | | | | | | I thought I'd done this in the previous commit, but I hadn't. And, what's more, there was a bug that seemed pretty tough for a time. Turns out my self-hosted translator doesn't support '.' comment tokens in data segments. Hopefully I'm past the valley of the shadow of death now. "I HAVE NO TOOLS BECAUSE I’VE DESTROYED MY TOOLS WITH MY TOOLS." -- James Mickens (https://www.usenix.org/system/files/1311_05-08_mickens.pdf) | ||||
* | update binaries | Kartik Agaram | 2020-05-22 | 13 | -0/+0 |
| | | | | CI should start passing again now. | ||||
* | increase some buffer sizes | Kartik Agaram | 2020-05-22 | 2 | -3/+3 |
| | | | | We can now natively translate mu.subx again. | ||||
* | handles don't seem to have slowed down test_apps | Kartik Agaram | 2020-05-22 | 1 | -4/+4 |
| | | | | | | At least the non-native first phase which takes longer. But maybe a shorter baseline is the right thing to check. I need to resize some buffers to get Mu natively translating again. | ||||
* | mu.subx is now using handles everywhere | Kartik Agaram | 2020-05-22 | 1 | -5/+8 |
| | | | | X-( :-)) | ||||
* | mu.subx: 4 failing tests remaining | Kartik Agaram | 2020-05-22 | 1 | -11/+37 |
| | |||||
* | mu.subx: 6 failing tests remaining | Kartik Agaram | 2020-05-22 | 3 | -99/+316 |
| | |||||
* | mu.subx: 7 failing tests remaining | Kartik Agaram | 2020-05-21 | 1 | -10/+14 |
| | | | | Just for user-defined types. | ||||
* | mu.subx: 9 failing tests remaining | Kartik Agaram | 2020-05-21 | 1 | -29/+40 |
| | |||||
* | mu.subx: 11 failing tests remaining | Kartik Agaram | 2020-05-21 | 1 | -30/+40 |
| | |||||
* | mu.subx: 13 failing tests remaining | Kartik Agaram | 2020-05-21 | 1 | -11/+13 |
| | |||||
* | mu.subx: 2 new tests | Kartik Agaram | 2020-05-20 | 1 | -0/+97 |
| | |||||
* | mu.subx: 15 failing tests remaining | Kartik Agaram | 2020-05-20 | 1 | -9/+10 |
| | | | | The remaining tests are all for user-defined types and arrays. | ||||
* | mu.subx: 17 failing tests remaining | Kartik Agaram | 2020-05-20 | 1 | -17/+18 |
| | |||||
* | - | Kartik Agaram | 2020-05-20 | 1 | -6/+4 |
| | |||||
* | mu.subx: 21 failing tests remaining | Kartik Agaram | 2020-05-20 | 2 | -6/+6 |
| | |||||
* | mu.subx: 24 failing tests remaining | Kartik Agaram | 2020-05-20 | 1 | -49/+54 |
| | |||||
* | mu.subx: 25 failing tests remaining | Kartik Agaram | 2020-05-20 | 2 | -6/+24 |
| | | | | | | | | | | | | | | | | | This was again hard to debug, because: - the mapping between recursive calls to emit-subx-stmt-list and the nested blocks of code in the output kept blowing my stack, and - I kept expecting the problem to be there, or in the data attached to variables. But it was in the `emit-cleanup-code-until-depth` for the previous/inner block, in code I thought I'd already fixed (`clean-up-blocks`) that accidentally worked for previous tests. Part of the problem here is that my library for the stack sucks. It's only for 4-byte elements, but I'm using it for 8-byte elements (handles). Which leads to double-pushes and double-pops and -- here -- an insidiously wrong call to `top`. Anyways: halfway there! | ||||
* | mu.subx: 26 failing tests remaining | Kartik Agaram | 2020-05-20 | 1 | -9/+11 |
| | |||||
* | mu.subx: 28 failing tests remaining | Kartik Agaram | 2020-05-20 | 1 | -10/+35 |
| | | | | | This bug was a bear to track down, but there's been a concomitant payoff: 6 tests starting to pass. | ||||
* | mu.subx: 34 failing tests remaining | Kartik Agaram | 2020-05-20 | 1 | -36/+49 |
| | |||||
* | - | Kartik Agaram | 2020-05-20 | 1 | -4/+4 |
| | |||||
* | mu.subx: 37 failing tests remaining | Kartik Agaram | 2020-05-20 | 1 | -11/+13 |
| | |||||
* | mu.subx: 39 failing tests remaining | Kartik Agaram | 2020-05-20 | 1 | -31/+31 |
| | |||||
* | mu.subx: start tracking remaining failing tests | Kartik Agaram | 2020-05-20 | 2 | -52/+52 |
| | | | | We're now passing CI again. | ||||
* | mu.subx: 10/50 top-level tests passing | Kartik Agaram | 2020-05-18 | 1 | -2/+3 |
| | |||||
* | mu.subx: 6/50 top-level tests passing | Kartik Agaram | 2020-05-18 | 1 | -8/+16 |
| | |||||
* | mu.subx: 4/50 top-level tests passing | Kartik Agaram | 2020-05-18 | 1 | -1/+2 |
| | |||||
* | mu.subx: 3/50 top-level tests passing | Kartik Agaram | 2020-05-18 | 1 | -1/+1 |
| | |||||
* | mu.subx: 2/50 top-level tests passing | Kartik Agaram | 2020-05-18 | 1 | -31/+33 |
| | |||||
* | mu.subx: done with code-generation tests | Kartik Agaram | 2020-05-18 | 1 | -18/+44 |
| | | | | Bottom 42 of 92 tests are now passing. Time for the first 50. | ||||
* | mu.subx: test-emit-subx-stmt-function-call | Kartik Agaram | 2020-05-18 | 1 | -30/+73 |
| | |||||
* | mu.subx: test-compare-reg-with-literal | Kartik Agaram | 2020-05-18 | 1 | -21/+68 |
| | |||||
* | mu.subx: test-compare-eax-with-literal | Kartik Agaram | 2020-05-18 | 1 | -22/+70 |
| | |||||
* | mu.subx: compare-mem-with-literal | Kartik Agaram | 2020-05-18 | 1 | -21/+64 |
| | |||||
* | mu.subx: test-compare-reg-with-mem | Kartik Agaram | 2020-05-18 | 1 | -19/+61 |
| | |||||
* | mu.subx: test-compare-mem-with-reg | Kartik Agaram | 2020-05-18 | 1 | -22/+65 |
| | |||||
* | mu.subx: test-add-literal-to-mem | Kartik Agaram | 2020-05-18 | 1 | -20/+63 |
| | |||||
* | mu.subx: test-add-literal-to-reg | Kartik Agaram | 2020-05-18 | 1 | -32/+82 |
| | |||||
* | mu.subx: test-add-literal-to-eax | Kartik Agaram | 2020-05-18 | 1 | -23/+72 |
| | |||||
* | mu.subx: test-add-mem-to-reg | Kartik Agaram | 2020-05-18 | 1 | -18/+61 |
| | |||||
* | - | Kartik Agaram | 2020-05-18 | 1 | -34/+34 |
| | |||||
* | - | Kartik Agaram | 2020-05-18 | 1 | -254/+272 |
| | |||||
* | mu.subx: test-add-reg-to-mem | Kartik Agaram | 2020-05-18 | 1 | -20/+64 |
| | |||||
* | mu.subx: test-add-reg-to-reg passing | Kartik Agaram | 2020-05-18 | 1 | -12/+15 |
| | |||||
* | mu.subx: add handles to remaining decls | Kartik Agaram | 2020-05-18 | 1 | -20/+102 |
| | | | | test-add-reg-to-reg should pass now. But it doesn't.. | ||||
* | mu.subx: next test now successfully scans primitives | Kartik Agaram | 2020-05-18 | 1 | -16/+63 |
| | | | | Still failing. | ||||
* | mu.subx: switch SubX instruction names to globals | Kartik Agaram | 2020-05-18 | 1 | -81/+81 |
| | | | | | | Entirely using interactive search-and-replace in my text editor. This is all ugly as hell. But get it working first. | ||||
* | mu.subx: switch Mu instruction names to globals | Kartik Agaram | 2020-05-18 | 1 | -80/+80 |
| | |||||
* | mu.subx: global decls for all string handles | Kartik Agaram | 2020-05-18 | 1 | -116/+645 |
| | | | | | | | | | | My previous approach was way too slow. Now I just `grep`d for all string literals in the `Primitives` block, and piped them through: while read X; do echo $X |tools/expand_string_handle; done Still required some post-processing, but orders of magnitude faster and more amenable to batch-processing. |