Repository navigation
Releases
Releases · Project-Lamina/lamina
Lamina v0.2.3
What's Changed
Features
- pass program arguments to main under jit
- exit 125 when jit refuses in-memory compilation
- find 128-bit integers by walking ir
- refuse i128 and u128 modules from jit
- select msvc linker and crt from target environment
- platform: read dash and underscore spellings alike
- platform: add msvc and gnullvm environments
- compile jit globals through ras runtime
Bug Fixes
- take plain objdump only when it is llvm-objdump
- drop mir only from opt-level usage
- link libSystem for macho targets
- report every weld stderr line
- search dirs above lamina for weld
- search dirs above test binary for lamina binary
Refactor
- take jit test binary from test support
Tests
- jit mode lists only testcases without 128-bit integers
- jit mode lists only testcases that run correctly
- jit mode compares raw bytes and runs globals testcases
- jit mode runs fptoint_signed
- jit mode lists testcases that x86_64 jit runs correctly
- macos weld args name libSystem
Internal
- update lockfile for ras 0.2.7 and weld 0.2.4
- require ras 0.2.7
- require weld 0.2.4
- bump version to 0.2.3
- bring jit paths into scope
- bring ir module into scope
- iterate wasm thunk params with enumerate
- build tagged release without rerunning tests
Full Changelog: v0.2.2...v0.2.3
C SDK 0.2.1
| Archive | Target | Surface |
|---|---|---|
lamina-c-0.2.1-stable-x86_64-linux.tar.gz |
x86_64-linux | Stable AOT (lamina.h) |
lamina-c-0.2.1-nightly-x86_64-linux.tar.gz |
x86_64-linux | + JIT (lamina_nightly.h) |
Each archive includes headers, static + shared library, examples, pkg-config, LICENSE.
tar xzf lamina-c-0.2.1-stable-x86_64-linux.tar.gz
cd lamina-c-0.2.1-stable-x86_64-linux
cc examples/builder_aot.c -I include -L lib -llamina_c -Wl,-rpath,$(pwd)/lib -o builder_aot
./builder_aotVerify checksums: sha256sum -c lamina-c-0.2.1-stable-x86_64-linux.tar.gz.sha256
Development Build (2026-11-17)
What's Changed
Bug Fixes
- take plain objdump only when it is llvm-objdump
Internal
- update lockfile for ras 0.2.7 and weld 0.2.4
- build tagged release without rerunning tests
Full Changelog: v0.2.3...main
C SDK 0.2.1
| Archive | Surface |
|---|---|
lamina-c-0.2.1-stable-x86_64-linux.tar.gz |
Stable AOT (lamina.h) |
lamina-c-0.2.1-nightly-x86_64-linux.tar.gz |
+ JIT (lamina_nightly.h, no ABI guarantee) |
Verify: sha256sum -c lamina-c-0.2.1-stable-x86_64-linux.tar.gz.sha256
Lamina v0.2.1
What's Changed
Features
- drop private callee inliner fully expanded
- rank list scheduler on register pressure
- describe windows module to assembler under -g
- emit dwarf for macho targets
- refuse weld older than version lamina built against
- ship weld binary beside lamina
- check stated sret and byval against placement
- emit macho compact unwind entries
- build debug info request from mir
- emit weak and file-local symbols on coff
- emit pdata and xdata unwind tables on x86_64 windows
- add inline asm to armv7 backend
- add inline asm to i686 backend
- place flattened aggregate in riscv fp and integer banks
- classify float aggregates for riscv64 and s390x
- let aggregate class name a flattened float and integer pair
- read wide va_arg from variadic slots on i686 and armv7
- lower wide va_arg into stack pair
- mark wide argument that lands in variadic tail
- write wasm module in process instead of calling wat2wasm
- walk riscv va_list from integer save area
- take opt level and debug lines in object api
- let weld link aarch64 linux
- walk windows aarch64 va_list from general save area
- route aarch64 windows io through crt write and read
- read and write mapped register directly in integer ops on aarch64
- let weld link aarch64 windows
- add x19 and x20 to callee saved pool on aarch64
- keep value live across call out of caller saved pool on aarch64
- load extern function address through got on x86_64 macos
- allocate callee saved registers under global plan on aarch64
- walk aapcs64 va_list through gr and vr save areas
- place thread locals through tprel and gottprel on aarch64 elf
- probe stack pages when frame passes page size
- add file id to source locations
- give globals weak linkage and visibility
- add stable entry from module to object bytes
- choose float aggregate abi by target operating system
- place homogeneous float aggregate in v registers on aarch64
- place float aggregate eightbytes in sse registers on x86_64
- declare float aggregate support per architecture
- carry addend into global relocations
- parse addend after symbol in initializer
- relocate symbol addresses inside aggregates
- parse symbol addresses in element lists
- relocate function addresses and refuse unknown symbols
- parse function address as global initializer
- relocate pointer globals instead of refusing them
- carry symbol addresses in global initializers
Bug Fixes
- resolve cross emulator to whichever qemu spelling is installed
- accept qemu- when static build is absent
- restore patch.crates-io so workspace members unify with ras's copies
- let darwin start 16-byte arg in odd x register
- pack only scalar stack args on darwin arm64
- class aggregate with unaligned field as memory on sysv
- pin terminator last in scheduler dependence graph
- take exe suffix from target, not host os
- unignore src/bin so shipped weld reaches published tarball
- drop block sort from cfg_simplify so live intervals follow control flow
- export macho tlv descriptor, not storage
- warn on fastest benchmark column, not lamina O0
- pass s390x aggregate by value, right aligned, and copy exact size
- align s390x global so larl can name it
- pass wide variadic argument by value, not by buffer address
- write symbol addresses into wasm global initializers
- drop single element loop in weld gate test
- hold base standard to aeabi helpers on armv7
- compare float on i686 so unordered is never true
- refuse when scratch runs out, not write callee saved register
- drop libvcruntime from msvc link line
- probe stack inline on windows instead of calling chkstk
- copy exact aggregate size into win64 parameter copy
- link libvcruntime so chkstk resolves on msvc
- copy exact aggregate size into win64 caller copy
- keep test scratch under target
- count testcase with missing expected output as failure
Performance
- fold constants into aarch64 arith, logical and cmp
Refactor
- name s390x reserved registers by their abi constants
- share inline asm mechanism across five backends
Documentation
- weld installation
- compute_intervals index space
- drop stale testcases index
Tests
- accept emulator's trap report when guest signal is not host's
- resolve cross emulator in abi crosscall too
- gate cross-call abi check on its own tool variable
- accept version-suffixed debugger name
- variadic tail call uses frame record its prologue pushed
- lld-link builds pdb from our codeview
- run suite at chosen opt level
- give cross targets 900s so scaled benchmarks finish
- scale benchmark workloads above timer noise
- stop skipping float aggregates on riscv64 and s390x
- flattened aggregate takes its own banks
- stop skipping wide va_arg on i686 and armv7
- variadic testcase states its width explicitly
- wide va_arg rounds its cursor on armv7 and not on i686
- odd sized global keeps its own address
- every s390x global is at least halfword aligned
- sixty four bit value crosses variadic tail on every target
- wide variadic argument travels as its value
- relocated wasm global holds real address and variadic call refuses
- run riscv64 target
- riscv save area ends where stack arguments begin
- index struct array by its element type
- run i686 and armv7 targets
- unordered compare is false and helper reads its own variant
- powerpc64 linux is what weld refuses
- opt level and debug lines change object bytes
- windows aarch64 sends variadic float in general register
- riscv64 windows has no object writer
- mapped three address operand skips scratch copy
- caller saved register is never read back after call
- callee saved register survives call on aarch64
- disassemble with objdump name gate accepted
- skip float aggregate cases where backend places none
- windows large frame probes inline
- run testcases under wine for x86_64 windows
- win64 parameter copy reads no byte past aggregate
- report dropped native target instead of skipping quietly
- run integer wasm checks through wasmtime cli
- report skipped tool and fail when LAMINA_REQUIRE_TOOLS is set
- run wasm through wasmtime cli, not python binding
- large stack frame runs with probed prologue
- probe touches every page down to frame
- win64 by reference copy reads no byte past aggregate
- float aggregate crosses win64 boundary by size
- crash detection and variant selection in run_tests
- host assembly matches detected host target
- each ptx refusal names its own construct
- drop assertions that re-check their own setup
- cross target codegen emits target's own add mnemonic
- homogeneous float aggregate crosses aapcs64 boundary in v registers
- float aggregate crosses sysv boundary by value
- symbol address plus constant
- aggregate holds pointer fields
- global holds function address
- global holds another global's address
Internal
- lock weld 0.2.3 from registry
- point manifests at Project-Lamina/lamina
- lock ras 0.2.4 from registry
- drop patch.crates-io from manifest
- bump lamina crates to 0.2.1 and ras pin to 0.2.4
- regenerate x86_64 codegen baseline
- pin ras 0.2.3
- drop benchmark drivers predating mir
- install mingw gcc and report tool availability before tests
- run cross abi check in its own job, away from gcc-multilib
- install cross gcc, debuggers and wine for unit tests
- install qemu provider when qemu-user-static is virtual
- require testcases to pass on windows and macos
- drop cross gcc from unit job and keep crash report advisory
- run testcases on s390x under qemu
- run testcases on aarch64 under qemu
- install cross tools and fail on missing tool
- install wasmtime and run runner tests on linux
- drop uv from release workflow
Full Changelog: v0.2.0...v0.2.1
C SDK 0.2.1
| Archive | Target | Surface |
|---|---|---|
lamina-c-0.2.1-stable-x86_64-linux.tar.gz |
x86_64-linux | Stable AOT (lamina.h) |
lamina-c-0.2.1-nightly-x86_64-linux.tar.gz |
x86_64-linux | + JIT (lamina_nightly.h) |
Each archive includes headers, static + shared library, examples, pkg-config, LICENSE.
tar xzf lamina-c-0.2.1-stable-x86_64-linux.tar.gz
cd lamina-c-0.2.1-stable-x86_64-linux
cc examples/builder_aot.c -I include -L lib -llamina_c -Wl,-rpath,$(pwd)/lib -o builder_aot
./builder_aotVerify checksums: sha256sum -c lamina-c-0.2.1-stable-x86_64-linux.tar.gz.sha256
Lamina v0.2.0
What's Changed
Breaking Changes
- tell composite aggregate from legalized wide scalar in mir
- check call argument types against callee signature
- remove phi from ir and its dead lowering path
- remove
@no_red_zone, which no backend read - add copy and retire phi spelling
- require layout type on getfieldptr
- default to our own assembler and linker
- make cmpxchg reachable from ir
- replace zext and sext with extend
- use one return contract for all io operations
- require definite assignment on every path
- distinguish NUL byte from end of input
- require i1 branch condition
- check integer literals in every typed position
- remove heap and memory ops that are call sugar
- remove print instruction
Features
- lower thread locals through tls index on windows
- lower thread locals through macho tlv descriptors
- place functions in named coff sections
- emit inline assembly on aarch64
- declare extern functions in coff output
- emit inline assembly on windows
- lower variadics on win64
- lower variadics and checked arithmetic on aarch64
- add --report-only to run_tests
- convert integer to float on rv32 with word form
- convert narrow unsigned integer to float on i686
- add lamina environment and refuse its libc by name
- make inttoptr suffix name its integer and refuse constant bad shift
- make va_list layout target property
- add 64-bit routines to compiler runtime
- return 64-bit integers in edx:eax on i686
- add inline assembly to s390x backend
- add bit intrinsics, atomics, variadics, overflow and tls to s390x
- link lamina builtins for compiler runtime
- add v extension to riscv isa strings
- add memory and atomics to interpreter
- add uniform and per-lane vector shifts
- add vector types and lane ops to ir surface
- add big-endian ppc64 and mips64 backends
- replace vectorizer and gate it on alias analysis
- add s390x backend
- add cortex-m backend for thumbv6m and thumbv7m
- add thread-local globals, checked arithmetic and access alignment
- compile and link for x86_64 FreeBSD
- give targets real properties and sub-architecture variants
- let optimizer pipeline own one ssa form instead of each pass building its own
- carry source line from lamina text into dwarf line table
- split 64-bit integers into word pairs on 32-bit targets
- add armv7 backend using aapcs-vfp hard float
- add i686 backend using cdecl calling convention
- add armv7 and i686 targets
- thread pointer width through backends
- add pointer_width to target architecture
- add packed structs
- add 128-bit float conversion builtins
- add lamina-builtins for 128-bit division
- add naked and no_red_zone annotations
- fall back to gnu instead of refusing
- wire naked through to codegen
- use lzcnt, tzcnt and bmi2 shifts at v3 and vpmullq at v4
- add bit intrinsics and atomics to aarch64, riscv64 and ppc64
- declare and enforce x86-64 cpu levels
- compile module straight to object bytes
- emit inline assembly on x86_64 linux
- add inline assembly to ir
- pass -pie for modules annotated pie
- add ssa destruction and round-trip check
- add read-only ssa graph and verifier
- add align modifier to stackalloc
- add align annotation to globals
- load external addresses through got under pic and pie
- lower indexed addressing for scalar and vector memory
- drop module annotations with no codegen effect
- deprecate emit-mir-asm as alias for emit-asm
- pair rounds and bootstrap confidence intervals in benchmarks
- report stripped size and ratio against lamina
- accept optional argument types on call
- route wide division and float conversion through runtime symbols
- lower wide integers to 64-bit pairs
- add i128 and u128 types
- compare benchmarks against gcc, clang and rustc
- add runtime benchmark harness
- add va_arg and variadic function definitions
- emit cfi directives for aarch64 elf
- emit cfi directives for x86_64 elf
- add bit intrinsics, unreachable and placement annotations
- ir: add conversion, unary, funcaddr and callptr builders
- wire function annotations and make atomics writable on x86_64
- add volatile prefix to load and store
- hint at new sigil where old one appears
- mark variadic boundary in callptr with ...
- let type, global and function share name
- sigil global as $name and named type as !name
- collapse float conversion opcodes into fptoint, inttofp and fpcast
- give callptr argument types
- ir: move allocation and element types into opcode suffix
- pass aggregates by value on ppc64
- pass aggregates by value on riscv
- print through fd_write and export _start on wasi
- call through pointer by wasm function table
- index wasm memory by target arch
- platform: add wasi operating system
- mir: carry variadic flag from ir signature
- ir: parse ... in param list
- codegen: pass and return aggregates by reference on windows x86_64
- codegen: return large aggregates through x8 on aarch64
- pass aggregates over 16 bytes by reference on aarch64
- return large aggregates through hidden pointer on x86_64
- pass aggregates over 16 bytes in memory on x86_64
- initialize struct and tuple globals from element list
- initialize array globals from element list
- declare extern functions without body
- add funcaddr and callptr for calls through pointer
- add neg, not and sqrt unary ops
- accept exponent in float literals
- add fpext and fptrunc between float widths
- lower array globals and string initializers
- route float print through printf32 and printf64
- codegen: write pointee bytes for writeptr on riscv and powerpc64
- codegen: convert between floats and integers on powerpc64
- codegen: convert between floats and integers on riscv
- codegen: return integer aggregates in x0 and x1 on aarch64
- codegen: return integer aggregates in rax and rdx on x86_64
- codegen: reject aggregate returns alongside aggregate parameters
- lower integer aggregate returns to slot plus pointer
- mir: add aggregate marker to return
- codegen: reject aggregate parameters on backends without classification
- codegen: pass integer aggregates in x registers on aarch64
- codegen: pass integer aggregates in gprs on x86_64
- lower integer aggregate parameters to pointer plus slot
- mir: add aggregate marker to parameter
- codegen: place powerpc64 globals and address them through toc
- codegen: set r2 from global entry in powerpc64 prologue
- codegen: place riscv globals and address them with la
- honour noinline when inlining calls
- mir: add no_inline flag to mir signature
- address module globals on aarch64
- convert between integers and floats on aarch64
- partially unroll loops with remainder prologues
- fully unroll small constant counting loops
- analyze signed counting loop trip counts
- reject globals on backends without support
- place globals in wasm linear memory
- emit globals on x86_64 with rip-relative access
- lower globals and their exports from ir to mir
- add symbol address instruction to mir
- emit int-float conversions on wasm32
- emit int-float conversions on x86_64
- lower int-float conversions from ir to mir
- add IntToFloat and FloatToInt to mir
- parse sitofp, uitofp, fptosi and fptoui opcodes
- ir: add sitofp, uitofp, fptosi and fptoui instructions
- eliminate guarded unit-step linear sum loops
- reduce quadratic induction products
- lower wasm simd128 vectors
- lower riscv vectors behind v extension
- lower aarch64 neon vectors
- codegen: model riscv vector extension
- lower vector lane access
- lower vector splats
- lower packed vector shifts
- lower vector bitwise operations
- lower packed vector arithmetic
- lower vector loads and stores
- reserve vector stack slots
- enable module inlining through shared optimization pipeline
- accept ppc64 targets on command line
- lower lea in riscv
- grow ptx scaffolding for integer kernels
- lower dispatch dimensions in amdgpu
- emit validated global integer memory operations in amdgpu
- emit scalar integer arithmetic and conversions in amdgpu
- lower work-item and workgroup identifiers in amdgpu
- load scalar kernel arguments from kernarg in amdgpu
- select gfx1200 and gfx900 processors in amdgpu
- wire GPU targets to kernel text artifacts
- emit minimal PTX and AMDHSA kernels
- declare GPU capabilities without host runtime or print
- mir: reserve GPU intrinsic calls to reuse call side effects
- mir: mark kernel entries with optional launch metadata
- preserve pointer and memory address spaces
- recognize CUDA and AMDHSA GPU targets
- accept u64 literals above i64::MAX
- implement readbyte and writeptr on x86_64
- model xlen and extension set, gate M-extension arithmetic in riscv
- mir: add SSA, dominance, type and terminator verification
- mir: add typed Copy instruction
- correct entry codegen for riscv
- expose lia_builder_memcpy, lia_builder_memmove, lia_builder_memset in c-api
- add memcpy, memmove, memset to OwnedIRBuilder
- add struct_gep_typed for ABI-correct field pointer computation in builder
- add memcpy, memmove, memset to IRBuilder
- ir: add field_byte_offset to GetFieldPtr for ABI-correct struct access
- ir: add struct layout utilities and fix stale FEAT:TODO comments
- extend c builder bindings
- composite types, switch, opt_level, JIT arity
- add orbis and prospero
- add basic c binding layout
- add weld linker usage
- state more targets
- add support for switch
- extend simd inst
- add experimental arx test platform
- add C abi support for jit
- refine JIT behavior
- add proper colorization
- implement proper reg alloc with colorization for powerpc
- add powerpc suppoert
- add helper for mir handle
- add codegen's target support base code
- add print usage error (only for debug)
- add weld usage to link
- prepare for
ras,weld - extend test coverage
- add bit more support for codegen
- add transform o1 testcase and other minor
- add support to dynamic builtin
- add basic auto vectorization
- add macro for inline JIT
- support
jobflag
...
Lamina v0.1.0
What's Changed
Features
- codegen: pass and return aggregates by reference on windows x86_64
- codegen: return large aggregates through x8 on aarch64
- pass aggregates over 16 bytes by reference on aarch64
- return large aggregates through hidden pointer on x86_64
- pass aggregates over 16 bytes in memory on x86_64
- initialize struct and tuple globals from element list
- initialize array globals from element list
- declare extern functions without body
- add funcaddr and callptr for calls through pointer
- add neg, not and sqrt unary ops
- accept exponent in float literals
- add fpext and fptrunc between float widths
- lower array globals and string initializers
- route float print through printf32 and printf64
- codegen: write pointee bytes for writeptr on riscv and powerpc64
- codegen: convert between floats and integers on powerpc64
- codegen: convert between floats and integers on riscv
- codegen: return integer aggregates in x0 and x1 on aarch64
- codegen: return integer aggregates in rax and rdx on x86_64
- codegen: reject aggregate returns alongside aggregate parameters
- lower integer aggregate returns to slot plus pointer
- mir: add aggregate marker to return
- codegen: reject aggregate parameters on backends without classification
- codegen: pass integer aggregates in x registers on aarch64
- codegen: pass integer aggregates in gprs on x86_64
- lower integer aggregate parameters to pointer plus slot
- mir: add aggregate marker to parameter
- codegen: place powerpc64 globals and address them through toc
- codegen: set r2 from global entry in powerpc64 prologue
- codegen: place riscv globals and address them with la
- honour noinline when inlining calls
- mir: add no_inline flag to mir signature
- address module globals on aarch64
- convert between integers and floats on aarch64
- partially unroll loops with remainder prologues
- fully unroll small constant counting loops
- analyze signed counting loop trip counts
- reject globals on backends without support
- place globals in wasm linear memory
- emit globals on x86_64 with rip-relative access
- lower globals and their exports from ir to mir
- add symbol address instruction to mir
- emit int-float conversions on wasm32
- emit int-float conversions on x86_64
- lower int-float conversions from ir to mir
- add IntToFloat and FloatToInt to mir
- parse sitofp, uitofp, fptosi and fptoui opcodes
- ir: add sitofp, uitofp, fptosi and fptoui instructions
- eliminate guarded unit-step linear sum loops
- reduce quadratic induction products
- lower wasm simd128 vectors
- lower riscv vectors behind v extension
- lower aarch64 neon vectors
- codegen: model riscv vector extension
- lower vector lane access
- lower vector splats
- lower packed vector shifts
- lower vector bitwise operations
- lower packed vector arithmetic
- lower vector loads and stores
- reserve vector stack slots
- enable module inlining through shared optimization pipeline
- accept ppc64 targets on command line
- lower lea in riscv
- grow ptx scaffolding for integer kernels
- lower dispatch dimensions in amdgpu
- emit validated global integer memory operations in amdgpu
- emit scalar integer arithmetic and conversions in amdgpu
- lower work-item and workgroup identifiers in amdgpu
- load scalar kernel arguments from kernarg in amdgpu
- select gfx1200 and gfx900 processors in amdgpu
- wire GPU targets to kernel text artifacts
- emit minimal PTX and AMDHSA kernels
- declare GPU capabilities without host runtime or print
- mir: reserve GPU intrinsic calls to reuse call side effects
- mir: mark kernel entries with optional launch metadata
- preserve pointer and memory address spaces
- recognize CUDA and AMDHSA GPU targets
- accept u64 literals above i64::MAX
- implement readbyte and writeptr on x86_64
- model xlen and extension set, gate M-extension arithmetic in riscv
- mir: add SSA, dominance, type and terminator verification
- mir: add typed Copy instruction
- correct entry codegen for riscv
- expose lia_builder_memcpy, lia_builder_memmove, lia_builder_memset in c-api
- add memcpy, memmove, memset to OwnedIRBuilder
- add struct_gep_typed for ABI-correct field pointer computation in builder
- add memcpy, memmove, memset to IRBuilder
- ir: add field_byte_offset to GetFieldPtr for ABI-correct struct access
- ir: add struct layout utilities and fix stale FEAT:TODO comments
- extend c builder bindings
- composite types, switch, opt_level, JIT arity
- add orbis and prospero
- add basic c binding layout
- add weld linker usage
- state more targets
- add support for switch
- extend simd inst
- add experimental arx test platform
- add C abi support for jit
- refine JIT behavior
- add proper colorization
- implement proper reg alloc with colorization for powerpc
- add powerpc suppoert
- add helper for mir handle
- add codegen's target support base code
- add print usage error (only for debug)
- add weld usage to link
- prepare for
ras,weld - extend test coverage
- add bit more support for codegen
- add transform o1 testcase and other minor
- add support to dynamic builtin
- add basic auto vectorization
- add macro for inline JIT
- support
jobflag - platform: add cpu number detect
- introduce proper parallel compile
- prepare multi thread
- enhance error message and hint
- implement proper levenshtein edit distance
- extend error message for annotation
- add support for
externannotation - modulate assembler in ras
- add basic simd support
- platform: add simd detection
- add basic simd
- add basic
SIMDdetection - add aarch64 jit support in ras
- add basic assembler
rascrate - modulate target code to sub-crate
- add basic assembler with encoder
- mir: add common abi module
- add capabilities marking
- use assembler/linker in raw ld/lld, as/gas
- add assemble and link for utilizing the linkers
- add support for
tailcallforx86_64 - update based on the transform changes
- enhance
peephole,scheduleopt in transform - improve and cleanup
memoryopt in transform - improve and cleanup
deadcodeelimination in transform - improve and cleanup
loopopt in transform - add constants per os in order in mir_codegen
- cleanup comments and write proper docstring
- add factorial bench and alter script in benchmark
- add memory inst placeholder
- finish implementing
switch - add support for builder for new inst
- add support for parsing it
- add support for
switch - add ir conversion inst
- ad bitwise support
- improve float parse
- implement proper call to wasm in mir_backend
- add calling support for risc-v in mir_codegen
- support float for aarch64 in mir_codegen
- add func call for x86 in mir_codegen
- add load/store to risc-v in mir_codegen
- adjust code based on nightly
- add support for more nightly simd/atomic
- annotate nightly feature
- ir: change display order
- mark
arteryriscv128as nightly - mark unimplemented op with error in mir_codegen
- add placeholder for build issue
- mir: add placeholder for
atomic,simd - ir: add placeholder for
SIMD - improve
BSDhandling - add more function annotation
- enhance
bsdhandling - utilize new target enums
- unify target enum usage
- add proper target handling
- expose new codegen
- expose
wasmin mir_codegen - add more pattern for matmul in transfrom
- add brach opt and sanity check in transform
- add ssa elimination in transform
- add schedule opt in transform
- add peephole opt for 2dmatmul in transform
- implement basic
risc-vin mir_codegen - support
wasmin mir_codegen - modulate, use trait on
x86_64in mir_codegen - mark more stable opts in transform
- add more platform support
- implement basic
x86_64support in mir_codegen - for
aarch64, use mir as default flow - stablize loop opt in transform
- improve copy propagation in transform
- merge
mir_codegen's error to main error - add prime generation bench for modulo
- for
mortionadd more copy pattern in transform - enhance load/store operation opt in transform
- add remove dup loop in transform
- mir: enhance mir generation
- add addressing opt for memory in transform
- add cfg opts in transform
- add some special opts
- add some cononicalize opt in transform
- add basic memory optimization in transform
- ir: add rem support
- codegen: add placeholder for compiler error on rem
- add targeted optimization to Rem in transform
- expose two more opts in transform
- add basic strength reduction in transform
- support tailcall to deadcode in transform
- add
--versionflag - add basic tailcall in transform
- add verbose opt log
- expose inline, motion opts and add to pipeline in transform
- mir: expose transforms
- add sets of motion opts in transform
- extend
peepholeopt in transform - extend inlining opt in transform
- add basic
loopopt in transform - implement transform pipeline
- add dyn dispatch support #14 in regalloc
- add dyn dispatch support #14 in regalloc
- codegen: add basic regalloc for
mips - codegen: add regalloc for
x86_64 - codegen: implement basic regalloc trait
- codegen: mark TODO for other arch's symbol
- codegen: alter the
aarch64to use the trait - mir: add placeholder for
simd - codegen: state static for codegen option
- codegen: mark types for types, globals, funcs
- codegen: add
Redoxto target os list - add placeholder for more opt methods #3 in transform
- mark all
.DS_Storeto.gitignore - refactor to use manual marking on Result
- codegen: state more backend arch
- codegen: state basic regalloc idea
- codegen: state basic
Codegentrait #14 - add script for mir flow
- add experimental support to use the mir flow
- mir: extend support to more ir
- codegen: add basic
mirtoaarch64 - codegen: add placeholder for
MIRasm x86_64 - codegen: add basic
MIRto asm foraarch64 - add support fo...
v0.0.10
v0.0.8
Features
- mir_codegen: add load/store to risc-v (Eira)
- mir_codegen: add func call for x86 (Eira)
- mir_codegen: support float for aarch64 (Eira)
- mir_codegen: add calling support for risc-v (Eira)
- mir_backend: implement proper call to wasm (Eira)
- improve float parse (Eira)
- ad bitwise support (Eira)
- add ir conversion inst (Eira)
- add support for
switch(Eira) - add support for parsing it (Eira)
- add support for builder for new inst (Eira)
- finish implementing
switch(Eira) - add memory inst placeholder (Eira)
- benchmark: add factorial bench and alter script (Eira)
- cleanup comments and write proper docstring (Eira)
- add test utilizing the bench (Eira)
- mir_codegen: add constants per os in order (Eira)
- test: add bench fibonacci for test (Eira)
- transform: improve and cleanup
loopopt (Eira) - transform: improve and cleanup
deadcodeelimination (Eira) - transform: improve and cleanup
memoryopt (Eira) - transform: enhance
peephole,scheduleopt (Eira) - update based on the transform changes (Eira)
- tests: add tests based on the benchmarks (Eira)
- add support for
tailcallforx86_64(Eira) - add assemble and link for utilizing the linkers (Eira)
- use assembler/linker in raw ld/lld, as/gas (Eira)
- add capabilities marking (Eira)
- mir: add common abi module (Eira)
Bug Fixes
- mir_codegen: fix more than 8 args issue (Eira)
- overhaul the testcases and use expected based test (Eira)
- fix syntax error (Eira)
- mir_codegen: add memory barrier, flushing for
write(Eira) - fix for build error (Eira)
- fix self calling error (Eira)
- mir_codegen: fix codegen on x86 (Eira)
- fix wasm to work properly with wat2wasm (Eira)
- fix wasm build (Eira)
- fix linker args (Eira)
- fix linker flag for x86 (Eira)
- temporary fix for ci with no executable (Eira)
- state clippy allow to testcase unwrap (Eira)
- fix wasm bin generation flag (Eira)
- tempory fix for builder (Eira)
- fix unwrap usage much safer (Eira)
- fix clippy warning (Eira)
- implement std fromstr trait properly (Eira)
- fix clippy warning (Eira)
- fix test execution (Eira)
- fix ci workflow order (Eira)
Documentation
- refine
README(Eira) - add more docstring to the codebase (Eira)
- add docstring for builder each types (Eira)
- add docstring to few legacy codes (Eira)
Styles
Code Refactoring
- simplify code (Eira)
- modulate parser (Eira)
- cleanup codebase (Eira)
- mir_codegen: cleanup code and improve maintainablity (Eira)
- cleanup codebase (Eira)
- transform:
rustclippy(Eira) - transform: cleanup
inline,motion(Eira) - cleanup
2dmatmulbench (Eira) rustclippy(Eira)- use new assembler linker pipeline (Eira)
rustclippy(Eira)- improve code reuse (Eira)
rustclippy(Eira)- unify code inconsistencies (Eira)
- standardize emit_asm and finalize (Eira)
- unify abi usage (Eira)
- fix unwrap used in production code (Eira)
rustclippy([Eira](ht...
v0.0.7
Features
- codegen: state basic
Codegentrait #14 (Eira) - codegen: state basic regalloc idea (Eira)
- codegen: state more backend arch (Eira)
- refactor to use manual marking on Result (Eira)
- mark all
.DS_Storeto.gitignore(Eira) - transform: add placeholder for more opt methods #3 (Eira)
- codegen: add
Redoxto target os list (Eira) - codegen: mark types for types, globals, funcs (Eira)
- codegen: state static for codegen option (Eira)
- mir: add placeholder for
simd(Eira) - codegen: alter the
aarch64to use the trait (Eira) - codegen: mark TODO for other arch's symbol (Eira)
- codegen: implement basic regalloc trait (Eira)
- codegen: add regalloc for
x86_64(Eira) - codegen: add basic regalloc for
mips(Eira) - regalloc: add dyn dispatch support #14 (Eira)
- regalloc: add dyn dispatch support #14 (Eira)
- transform: implement transform pipeline (Eira)
- transform: add basic
loopopt (Eira) - transform: extend inlining opt (Eira)
- transform: extend
peepholeopt (Eira) - transform: add sets of motion opts (Eira)
- mir: expose transforms (Eira)
- transform: expose inline, motion opts and add to pipeline (Eira)
- add verbose opt log (Eira)
- transform: add basic tailcall (Eira)
- add
--versionflag (Eira) - transform: support tailcall to deadcode (Eira)
- transform: add basic strength reduction (Eira)
- transform: expose two more opts (Eira)
- transform: add targeted optimization to Rem (Eira)
- codegen: add placeholder for compiler error on rem (Eira)
- ir: add rem support (Eira)
- transform: add basic memory optimization (Eira)
- transform: add some cononicalize opt (Eira)
- add some special opts (Eira)
- transform: add cfg opts (Eira)
- transform: add addressing opt for memory (Eira)
- mir: enhance mir generation (Eira)
- transform: add remove dup loop (Eira)
- transform: enhance load/store operation opt (Eira)
- transform: for
mortionadd more copy pattern (Eira) - bench: add prime generation bench for modulo (Eira)
- merge
mir_codegen's error to main error (Eira) - transform: improve copy propagation (Eira)
- transform: stablize loop opt (Eira)
- for
aarch64, use mir as default flow (Eira) - mir_codegen: implement basic
x86_64support (Eira) - add more platform support (Eira)
- transform: mark more stable opts (Eira)
- mir_codegen: modulate, use trait on
x86_64(Eira) - mir_codegen: support
wasm(Eira) - mir_codegen: implement basic
risc-v(Eira) - transform: add peephole opt for 2dmatmul (Eira)
- transform: add schedule opt (Eira)
- transform: add ssa elimination (Eira)
- transform: add brach opt and sanity check (Eira)
- transfrom: add more pattern for matmul (Eira)
- mir_codegen: expose
wasm(Eira) - expose new codegen (Eira)
- add proper target handling (Eira)
- unify target enum usage (Eira)
- utilize new target enums (Eira)
- enhance
bsdhandling (Eira) - add more function annotation (Eira)
- improve
BSDhandling (Eira) - ir: add placeholder for
SIMD(Eira) - mir: add placeholder for
atomic,simd(Eira) - add placeholder for build issue (Eira)
- mir_codegen: mark unimplemented op with error (Eira)
- mark
arteryriscv128as nightly (Eira) - ir: change display order ([Eira](https://github.com/SkuldNorniern/lamina/comm...
v0.0.6
Features
- codegen: Add WASM codegen. #9 (Arthur Beck)
- mir: add comments for mark (Eira)
- mir: add placeholder for
transform(Eira) - mir: add
opt_levelmark (Eira) - mir: basic register handling (Eira)
- codegen: enable
wasmbackend (Eira) - mir: add types (Eira)
- mir: add basic
instructionset (Eira) - mir: add
BlockforFunctionimplementation (Eira) - add
emit-miroption (Eira) - mir: add basic function baseplate (Eira)
- mir: add basic module structure (Eira)
- mir: set the mod file with testcase (Eira)
- transform: add
deadcodeelemination optimization placeholder (Eira) - transform: add
peepholeoptimization placeholder (Eira) - expose mir to
lib.rs(Eira) - add
WASMto supported list (Eira) - trasnform: add basic
Peepholeoptimization as a reference (Eira) - risc-v: implement basic
Risc-Varch (Eira) - risc-v: support width based operation (Eira)
- mir: add proper
Displaytrait support (Eira) - add support for emmit
MIR(Eira) - add
riscas a supported backend (Eira) - expose
riscassembly generation (Eira) - risc-v: add support for stack and alloc operation (Eira)
- codegen: add basic
MIRto asm foraarch64(Eira) - codegen: add placeholder for
MIRasm x86_64 (Eira) - codegen: add basic
mirtoaarch64(Eira) - mir: extend support to more ir (Eira)
- add experimental support to use the mir flow (Eira)
- add script for mir flow (Eira)
Bug Fixes
- wasm: change generate::WasmInstruction::Comment to format to a block comment #9 (Arthur Beck)
- mir: fix lifetime issue of inst (Eira)
- transform: fix problemetic docstring (Eira)
- riscv: rename
risc-vbackend (Eira) - aarch64: support stack offsets beyond [-256, 255] range #13 (Han Damin)
Documentation
Styles
Code Refactoring
- mir:
rustclippy(Eira) - wasm:
rustclippy(Eira) - wasm: remove duplicate () (Eira)
- transform: change comment to docstring (Eira)
- avoid use of
While Letchain (Eira) - mir:
rustclippy(Eira) - mir: move mir codegen as it's own folder (Eira)
- mir: modularize
IRtoMIRcodegen (Eira)
Chores
- update
.gitignorefor macOS (Eira) - bump version (SkuldNorniern)
Commits
- d8140b9: refact : Code Cleanup (lms0806) #10
- remove debug print (Eira)
- 5dc2ebf: Merge branch 'main' of https://github.com/SkuldNorniern/lamina (Eira)
What's Changed
- feat(codegen): Add WASM codegen. by @Aversefun in #9
- refact : Code Cleanup by @lms0806 in #10
- fix(aarch64): support stack offsets beyond [-256, 255] range by @miniex in #13
New Contributors
- @Aversefun made their first contribution in #9
- @lms0806 made their first contribution in #10
- @miniex made their first contribution in #13
Full Changelog: v0.0.5...v0.0.6
v0.0.5
Features
- add
stdintestcase (Eira)
Bug Fixes
- x86_64: fix stdin codegen (SkuldNorniern)
- x86_64: fix function issue (SkuldNorniern)
- x86_64: fix read return value (SkuldNorniern)
- fix testing (SkuldNorniern)
- x86_64: fix read's return value (SkuldNorniern)
- aarch64: fix stdin and function issue (Eira)
Documentation
- improve with more examples (SkuldNorniern)
Styles
rustfmt(SkuldNorniern)rustfmt(SkuldNorniern)rustfmt(SkuldNorniern)
Chores
- bump version (Eira)
Commits
- remove unneeded
readptr(SkuldNorniern) - remove readptr from testcase (SkuldNorniern)