Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 6940 | Kartik Agaram | 2020-10-03 | 1 | -10/+10 |
| | |||||
* | 6937 | Kartik Agaram | 2020-10-03 | 1 | -16/+19 |
| | |||||
* | 6935 - raytracing using floats | Kartik Agaram | 2020-10-03 | 4 | -0/+65691 |
| | |||||
* | 6934 | Kartik Agaram | 2020-10-03 | 2 | -0/+26 |
| | |||||
* | 6933 | Kartik Agaram | 2020-10-03 | 1 | -10/+11 |
| | |||||
* | 6932 - another bug related to floats | Kartik Agaram | 2020-10-03 | 2 | -0/+70 |
| | | | | | | | For most of Mu's history we've selected between primitives based on types just by checking whether a type is a literal or not. Now we've started checking if it's a float as well. However, floats need one additional check: the call site may have an (addr float) that is dereferenced. | ||||
* | 6931 - support fp registers in variable lookup | Kartik Agaram | 2020-10-03 | 2 | -4/+82 |
| | |||||
* | 6930 | Kartik Agaram | 2020-10-03 | 2 | -4/+2 |
| | |||||
* | 6927 - working on a raytracing tutorial | Kartik Agaram | 2020-10-03 | 6 | -0/+65619 |
| | | | | https://raytracing.github.io/books/RayTracingInOneWeekend.html | ||||
* | 6925 - tile: don't try to print escape sequences | Kartik Agaram | 2020-10-01 | 3 | -1/+50 |
| | |||||
* | 6922 | Kartik Agaram | 2020-10-01 | 2 | -2/+60 |
| | |||||
* | 6918 | Kartik Agaram | 2020-10-01 | 1 | -0/+0 |
| | | | | Fix CI. | ||||
* | 6915 - a new family of Mu branch instructions | Kartik Agaram | 2020-09-30 | 1 | -2/+417 |
| | | | | | | The realization of commit 6916 means that we should be using jump-if-addr* after comparing floats. Which is super ugly. Let's create aliases to them called jump-if-float*. | ||||
* | 6908 - compiling all floating-point operations | Kartik Agaram | 2020-09-30 | 14 | -41/+725 |
| | | | | | We don't yet support emulating these instructions in `bootstrap`. But generated binaries containing them run natively just fine. | ||||
* | 6907 - converting to and from floating-point | Kartik Agaram | 2020-09-29 | 2 | -9/+163 |
| | | | | Some bugfixes to the previous commit. | ||||
* | 6906 | Kartik Agaram | 2020-09-29 | 2 | -4/+4 |
| | |||||
* | 6905 - first floating-point instruction compiling | Kartik Agaram | 2020-09-29 | 2 | -2/+275 |
| | | | | (Though the generated code doesn't work yet.) | ||||
* | 6904 | Kartik Agaram | 2020-09-29 | 2 | -133/+266 |
| | | | | | New fields for primitives to support code-generation for floating-point primitives. | ||||
* | 6903 | Kartik Agaram | 2020-09-29 | 2 | -0/+29 |
| | | | | | | | | | | | | | | | | | | | Make a few tests more self-contained. I'd prefer to just run a function called `setup` first thing on startup and move this portion of convert-mu to it: # initialize global data structures c7 0/subop/copy *Next-block-index 1/imm32 8b/-> *Primitive-type-ids 0/r32/eax 89/<- *Type-id 0/r32/eax # stream-write c7 0/subop/copy *_Program-functions 0/imm32 c7 0/subop/copy *_Program-functions->payload 0/imm32 c7 0/subop/copy *_Program-types 0/imm32 c7 0/subop/copy *_Program-types->payload 0/imm32 c7 0/subop/copy *_Program-signatures 0/imm32 c7 0/subop/copy *_Program-signatures->payload 0/imm32 However, this approach doesn't fix my run_one_test tooling. | ||||
* | 6902 | Kartik Agaram | 2020-09-29 | 5 | -2/+60 |
| | |||||
* | 6901 | Kartik Agaram | 2020-09-29 | 2 | -8/+32 |
| | |||||
* | 6900 - mu.subx: new primitive type 'float' | Kartik Agaram | 2020-09-29 | 2 | -7/+29 |
| | | | | Using it will currently emit incorrect programs. | ||||
* | 6899 | Kartik Agaram | 2020-09-29 | 2 | -2/+2 |
| | |||||
* | 6898 - names for floating-point xmm* registers | Kartik Agaram | 2020-09-29 | 4 | -0/+0 |
| | |||||
* | 6895 | Kartik Agaram | 2020-09-28 | 1 | -0/+2 |
| | |||||
* | 6891 | Kartik Agaram | 2020-09-27 | 1 | -1/+1 |
| | |||||
* | 6889 | Kartik Agaram | 2020-09-27 | 2 | -4/+60 |
| | | | | | Teach the self-hosted translator about the new /xm32 and /x32 metadata for floating-point registers. | ||||
* | 6884 | Kartik Agaram | 2020-09-27 | 1 | -2/+2 |
| | |||||
* | 6883 | Kartik Agaram | 2020-09-26 | 1 | -2/+2 |
| | |||||
* | 6882 | Kartik Agaram | 2020-09-26 | 1 | -8/+0 |
| | |||||
* | 6881 - tile: function calls can now be expanded | Kartik Agaram | 2020-09-26 | 1 | -7/+20 |
| | |||||
* | 6880 | Kartik Agaram | 2020-09-26 | 1 | -2/+25 |
| | | | | | We need the state of the stack at the call-site. But rendering is already working surprisingly well. | ||||
* | 6879 | Kartik Agaram | 2020-09-26 | 1 | -14/+18 |
| | | | | Extract a new function. | ||||
* | 6878 - tile: mock-up for expanding function calls | Kartik Agaram | 2020-09-26 | 1 | -8/+16 |
| | |||||
* | 6877 | Kartik Agaram | 2020-09-26 | 2 | -2/+26 |
| | | | | Track just whether to step inside or not. | ||||
* | 6876 | Kartik Agaram | 2020-09-26 | 3 | -53/+10 |
| | | | | Back to commit 6872. | ||||
* | 6875 | Kartik Agaram | 2020-09-26 | 2 | -1/+29 |
| | | | | | Snapshot. Caching subsidiary stacks is a dead end; they're just the final iteration. We need to render all iterations. | ||||
* | 6874 | Kartik Agaram | 2020-09-26 | 1 | -1/+1 |
| | |||||
* | 6873 | Kartik Agaram | 2020-09-26 | 2 | -8/+23 |
| | | | | Now saving the subsidiary stack. | ||||
* | 6872 | Kartik Agaram | 2020-09-26 | 1 | -0/+2 |
| | | | | Hackily show function definition. | ||||
* | 6871 | Kartik Agaram | 2020-09-26 | 2 | -2/+3 |
| | | | | Segfault now fixed. Everything seems to be working again. | ||||
* | 6870 | Kartik Agaram | 2020-09-26 | 6 | -65/+103 |
| | | | | | | Emit a stack of not ints but more complex objects containing the int payload. Function calls again segfaulting. | ||||
* | 6869 | Kartik Agaram | 2020-09-26 | 1 | -5/+5 |
| | |||||
* | 6868 | Kartik Agaram | 2020-09-26 | 3 | -17/+81 |
| | | | | First function call working in apps/tile! | ||||
* | 6867 | Kartik Agaram | 2020-09-26 | 1 | -2/+5 |
| | | | | Segfault fixed. This shouldn't have been so hard. | ||||
* | 6866 | Kartik Agaram | 2020-09-26 | 1 | -0/+3 |
| | |||||
* | 6865 | Kartik Agaram | 2020-09-26 | 2 | -1/+5 |
| | |||||
* | 6864 | Kartik Agaram | 2020-09-26 | 1 | -1/+3 |
| | |||||
* | 6863 | Kartik Agaram | 2020-09-26 | 1 | -1/+6 |
| | |||||
* | 6862 | Kartik Agaram | 2020-09-26 | 1 | -0/+0 |
| | | | | Fix CI. |