jit-compiler icon indicating copy to clipboard operation
jit-compiler copied to clipboard

JIT compiler in Go

Results 9 jit-compiler issues
Sort by recently updated
recently updated
newest added

```sh $ /bin/go test -run=xxxx -bench=Parse -benchmem -benchtime 5s goos: linux goarch: amd64 pkg: github.com/bspaans/jit-compiler/ir cpu: AMD Ryzen Threadripper 2950X 16-Core Processor Benchmark_Parse/No-SSA/No-Cache-32 19 307234346 ns/op 188360269 B/op 6094822 allocs/op...

On Linux / AMD 2950X / go1.17-c14ecaca81: ```sh --- FAIL: Test_Execute (0.00s) assembler_test.go:297: Expecting 5 got 140256821354496 in [mov u32$5, 0x8(%rsp) return] 48 c7 44 24 08 05 00 00...

Support SSA transform in the IR Expressions: - [x] and.go - [x] arithmetic.go - [x] array_index.go - [x] bool.go - [x] byte_array.go - [x] call.go - [x] cast.go - [x]...

All the classics: , &, |, ^

Includes support for +, -, *, /, ==, =

Implement = for floating point numbers.