Repository navigation
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 - 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 stages driving system toolchain
- add support for
tailcallforx86_64 - add block successors and stop running module inlining
- 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: implement Codegen trait for aarch64 backend
- 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 --emit-mir-asm flag for experimental mir to aarch64 path
- 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 for stack and alloc operation in risc-v
- expose
riscassembly generation - route riscv32, riscv64 and riscv128 targets to assembly
- add support for emmit
MIR - mir: add proper
Displaytrait support - support width based operation in risc-v
- implement basic
Risc-Varch - add peephole pass folding int identity operations
- add
WASMto supported list - expose mir to
lib.rs - add
peepholeoptimization placeholder in transform - add
deadcodeelemination optimization placeholder in transform - mir: re-export core types and add FromIRError
- mir: add basic module structure
- mir: add basic function baseplate
- add
emit-miroption - mir: add
BlockforFunctionimplementation - mir: add basic
instructionset - mir: add types
- codegen: enable
wasmbackend - mir: basic register handling
- mir: add
opt_levelmark - mir: add placeholder for
transform - mir: add comments for mark
- codegen: Add WASM codegen.
- add
stdintestcase - implemnt
ptrtoint,inttoptroperation in aarch64 - add support for dynamic allocation support in x86_64
- introduce variable indices for gep in x86_64
- add tests for expected bugs
- add suit of tests for types
- select 8- and 16-bit x86_64 registers by operand size
- state type conversion for parser
- implement basic IO in x86_64
- extend docstrings
- add io tests
- add some more test
- add
hello_worldas test - introcude proper stdout
- add parser support for IO
- add placeholder for IO
- update test code
- add testcases for pointer releated ones
- introduce basic advance error handle
- add more mem test
- remove and change some testcases
- implement basic
Float - add
fibonaccitest in bench - add more test with runner
- add basic testcases
- fix print calling on macOS aarch64
- implement basic
aarch64operation - improve target handling
- add support for new
IRonCodegen - add Float and other types to
IR - clean up codes, and implement basic optimization
- add batch benchmark code
- add nim 2d matmul benchmark
- add memory tracking to benchmarker
- add inline optimization
- arch based behavior change implemented
- improve cli usage and error report
- export basic IR and etc
- implement IRBuilder
- implement ratio view to bench
- implement basic linking and build
- add benchmark runner script
- add some matmul benchmark sources
- add some more testcases to inst
- add zext, load test
- implement basic
IRbuilder - add basic tests per function of inst
Bug Fixes
- quote at-names so release notes do not mention users
- keep frame slots when global plan spills
- write bytes through same channel as write on windows
- skip target variants and keep metrics scratch in target
- free scratch register when it collides with dest
- echo float literal with its point
- drop removed alloc spelling from opcode hint
- say why stackalloc of i128 cannot be legalized on 32-bit target
- drop unreachable register-return budget from aggregate classifier
- check operand types for vectors, unary, select, store and atomics
- list target aliases and print usage only for usage errors
- name real width and target when refusing wide atomic and i128 signature
- check binary and compare operand types in ir validator
- round f32 literal once from decimal text
- clear sdk archive dir without rm -rf
- say ppc64le passes aggregates and drop duplicate constant
- name same inline asm support set in every backend
- key compiler runtime check on environment, not operating system
- name lamina environment and real regalloc default in help
- name replacement for removed opcode in assignment form
- check cmpxchg failure ordering and atomic alignment on every path
- name every backend that implements feature in refusal
- refuse underaligned access on cortex-m
- trap narrow signed division overflow on i686
- refuse vectorizing loop with second write to induction variable
- reject extern function that has body
- remove always-failing getfieldptr from c api
- refuse unknown or malformed LAMINA_BUILTINS override
- pick register allocator by backend support, not arch name
- refuse defaulted cpu level this host cannot run
- refuse jit for foreign target, kernel and ambiguous entry
- mark powerpc64 assembly as supported
- lay out s390x va_list per elf abi
- link libgcc only when host provides it
- name interpreter on weld link from target environment
- name elfv2 interpreter for ppc64le and ppc64
- build lamina builtins on jit fallback link
- refuse index scale outside 1, 2, 4 and 8
- record result types for inline asm, atomics and vector ops
- decline float fold when type is not scalar
- refuse operand of unknown width in lowering
- write intermediates to cache dir, not tmp
- refuse arm32 at target parsing and name armv7
- say x86_64 v256 is not implemented at every cpu level
- drop stale powerpc guard from ras gap
- link libgcc for cross targets
- add 128-bit pointer width and refuse riscv128 codegen
- fail link when crt objects cannot be found
- link cross target crt objects with target gcc
- forward nightly feature to lamina deps
- sort functions and globals by name in lowering
- derive access alignment from address, not its type
- store io intrinsic result on loongarch64 instead of discarding it
- emit real source lines and honour stackalloc alignment on i686
- emit each memory ordering explicitly and refuse
@nakedwhere it is ignored - place 16-byte-aligned arguments at even register pair on aarch64
- decide integer legalization by register width, not pointer width
- reject ppc64 target name and fail loudly on rv128 pointer width
- make ir builders reject what parser rejects
- print basic blocks in sorted order so output is deterministic
- lower copy for wide integers
- build c bindings from clean checkout
- declare wasm32 pointer imports with memory index type
- keep ppc64 conditional branches in range
- stop every pass from moving inline assembly
- declare io result type and close ssa destruction gaps
- report failed mach-o syscalls as minus one
- refuse address rewrites without reaching definition
- check tail call arguments against callee signature
- form tail call only when return types match
- end edit distance band when whole row passes max
- reject function names that aarch64 reads as registers
- pass wide literal call arguments by address
- track allocation provenance and rebind results per definition
- reject redefinition that changes value type
- optimize large blocks instead of refusing them
- rename inlined stack reservations in sorted order
- start 16-byte aggregates on even stack slot
- drop unsound autovectorization from o3 pipeline
- load lea base as value, not slot address
- lower writebyte through write, not putchar
- end inlined continuation with unreachable when callee never returns
- route runtime calls through builtin resolver so LAMINA_BUILTINS applies
- keep vectorizer off volatile access
- exit 128 plus signal when jit program takes signal
- name nightly atomic and simd variants convert cannot lower
- ir: emit tuple type and extern declaration parser accepts
- pass variadic float through integer bank on indirect call
- lower wasi io and memory helpers in module, not as env import
- keep intrinsic call out of tail position
- call libc write and read from riscv and ppc64 intrinsics
- add unordered branch before ppc64 float le and ge
- hold narrow parameter and call result in canonical form
- reject wasm module that calls undeclared function
- declare wasm imports for write, read and bulk memory
- keep narrow add width when selecting lea
- keep sign when reducing multiply to shift
- reject function frame past addressable range
- window long error line so caret stays visible
- sort type and global declarations in module display
- verify dominance and register classes after phi lowering
- allocate float values in float registers
- add pointer offset past i32 through integer add
- hold array global slots by stride, not per element
- zero tail of partly initialized global
- print unsigned constant as unsigned
- reject integer literal outside its type range
- record cse producer version after its definition
- add type to cse expression key
- move intrinsics to lamina namespace
- refuse tail call once frame address escapes
- sign extend narrow wasm loads
- drop forwarded memory when its registers are redefined
- treat callptr as effect in memory, licm and scheduling
- add callptr to x86_64 call clobbers
- sequence phi edge copies so swap keeps both values
- give switch edge moves their own block
- visit phi edges in fixed order
- order external declarations by name
- close wasm import form and declare its real types
- emit wasm import only for helpers each module calls
- fail aarch64 and x86_64 codegen when scratch runs out
- platform: list ppc64le_linux as host arch
- resolve escapes in string global
- shadow ppc64 floats only past fixed args
- send riscv variadic float through integer bank
- widen variadic f32 arg to f64
- place darwin aarch64 variadic args on stack
- type variadic call arg by operand class, not prototype
- pack darwin aarch64 stack args at natural size
- shadow ppc64 float args into gprs for variadic callee
- treat extern callee as variadic for al on x86_64
- keep ppc64 global plan off volatile regs across bl
- set al on prototypeless x86_64 call
- drop dead scratch hold from aarch64 prologue
- reinterpret float bits before wasm logf call
- gate callee frame headroom to hosts that need it
- borrow closure once in riscv rv32 check
- codegen: keep powerpc64 locals out of parameter save area
- codegen: flush after print on riscv and powerpc64
- codegen: give aarch64 switch register for its case constant
- let phi read value its own block defines later
- replace folded float unary instead of folding its operand
- codegen: pass fd to write and read intrinsics
- print unsigned values through printu
- parse global initializer at width of declared type
- treat bool as one bit when checking conversion widths
- codegen: give riscv floats integer registers when float bank runs out
- name bad width conversions instead of reporting composite types
- codegen: pass floats in f registers on powerpc64
- codegen: pass floats in fa registers on riscv
- codegen: pass floats in v registers on aarch64
- codegen: place powerpc64 stack arguments in parameter save area
- codegen: route byte io through libc on riscv and powerpc64
- codegen: wrap i64 subtraction in riscv load_imm
- name instruction, block and function in lowering error
- never inline calls to external functions
- materialize aarch64 switch case constants beyond mov immediate range
- invert aarch64 conditional branches for functions beyond branch reach
- encode aarch64 frame offsets beyond 12-bit immediates
- release aarch64 frame size prologue reserved on tail calls
- keep aarch64 global allocation out of caller-saved registers across calls
- encode riscv vector slot addresses beyond 12-bit immediates
- encode ppc64 lea offsets beyond 16-bit displacement
- reserve stack allocations in powerpc frame
- encode ppc64 frame offsets beyond 16-bit displacement
- use darwin syscalls on apple mobile x86 targets
- encode riscv lea offsets beyond 12-bit immediates
- reserve stack allocations in riscv frame
- accept apple mobile targets in assembly support check
- encode riscv frame offsets beyond 12-bit immediates
- link apple mobile targets with mach-o conventions
- pass mach-o assembler flags to apple mobile targets
- route aarch64 print and syscalls through mach-o check
- emit mach-o directives for apple mobile targets
- classify horizon, orbis and prospero as elf
- emit mach-o symbols for apple mobile targets
- clarify errors for bare ret and trailing instructions
- reject type nesting beyond 256 levels
- platform: reject big-endian powerpc64 target name
- run ir validation after parsing
- codegen: classify apple mobile oses as mach-o
- codegen: support android as elf and assembly target
- ir: exempt pointer returns from return type check
- ir: reject unknown named types and size cycles
- ir: reject literal out of range for its type
- ir: reject repeated switch case values
- ir: reject phi edge from undefined block
- ir: reject return value of wrong type
- ir: allow cross-block uses in validation
- truncate long error context at char boundary
- stop panicking on non-ascii input in parser peek
- preserve jump targets across adjacent cfg merges
- licm recomputes loop analysis after each hoist
- instruction scheduling keeps reads before later redefinition
- licm natural loop of self-loop excludes predecessors
- licm skips definitions whose register is read elsewhere
- x86 binary ops read rhs before loading lhs into destination
- zero-extend bool params on powerpc64 entry
- zero-extend bool params on aarch64 entry
- sign-extend narrow params on powerpc64 entry
- sign-extend narrow params on aarch64 entry
- emit gnu stack note on elf targets
- extend narrow params by declared signedness, not always signed
- treat char as signed in abi signedness
- riscv and powerpc64 reject writeptr instead of calling it
- writeptr width can be stated with typed suffixes
- pass pointee width to writeptr
- drop redundant reference in assert argument
- classify float arguments and results into xmm registers on x86_64
- widen narrow external arguments and unsigned results by signedness
- emit numbered .file once per translation unit
- emit global binding for exported functions
- sign-extend narrow params and call results to their width
- drop redundant wildcard in address pattern
- verify ssa before phi edge lowering
- verify call types against mir signatures
- verify typed mir at optimizer boundaries
- mir: verify terminator placement at pipeline boundaries
- emit rv32-compatible floating loads and scalar operations
- normalize interpreter comparisons and integer conversions
- preserve caller frames for stack-derived tail arguments
- keep wasm caller frame live across tail calls
- lower wasm tail calls to return_call
- normalize wasm integer compare operands at their width
- allocate wasm stack slots in per-call linear-memory frames
- start wasm dispatcher at entry block
- emit valid powerpc float unary mnemonics
- reserve complete aggregate storage after resolving named types
- preserve ieee float comparison semantics on x86_64
- trap div by zero and MIN over -1 in every backend
- codegen: reserve arithmetic scratch registers
- fold wrapping integers and preserve division traps
- eliminate dead loop-carried updates
- preserve x86 scratch across stack copy cycles
- initialize globally allocated aarch64 parameters
- lower arx64 tail calls
- stabilize wasm local numbering
- reduce induction products to fixed point
- find loop headers from cfg back edges, not layout position
- process loops in block order
- give peeled block its own registers for values it does not export
- size struct allocations with abi padding
- drop unreachable ret left behind by tail call conversion
- place planned spills below local stack slots
- preserve MIR namespaces during module inlining
- number ppc64 float compare labels by sequence
- number ppc64 compare labels by sequence, not by operand address
- sign extend narrow ints in powerpc64
- sign extend narrow ints in riscv
- sign extend narrow ints in aarch64
- normalize narrow integer conversion results
- sign extend narrow ints in x86_64
- preserve global register allocations across control flow
- chain atomics and fences onto memory dependency edges
- push float immediates as bit patterns in wasm
- import wasm runtime helpers that calls reference
- declare wasm memory and wrap addresses to i32
- materialize 64-bit constants and name double float ops in powerpc
- lower stackaddr in powerpc
- support composite element types in getelem.ptr
- lower stackaddr in riscv
- lower stackaddr in wasm
- report worker codegen error instead of closed channel
- join block labels with dot so function and block names cannot alias
- namespace riscv select labels out of block label space
- qualify block labels by function in powerpc
- label entry block in aarch64
- qualify block labels by function in aarch64
- transfer powerpc float memory values through fprs
- preserve pointer width in constant gep arithmetic
- zero extend narrow integer loads in riscv
- invalidate aliasing stores during memory forwarding
- keep inline register IDs above stack storage
- honor gfx1200 kernarg and workgroup register ABI in amdgpu
- preserve immediate widths in arithmetic rewrites
- preserve GPU intrinsic calls in tail position
- add explicit int and pointer conversions
- give straight-line reassignments fresh registers
- add explicit stack storage addresses
- match integer immediates to consuming types
- skip windows home space when reading incoming stack args
- run tests with stdin at EOF so readbyte cannot block
- zero al before variadic printf on macOS x86_64
- always reserve Windows home space at call sites
- report bytes written from writebyte and writeptr on Windows
- name each failing test and repeat failures in final summary
- load pointer for aarch64 lea instead of using slot address
- keep rsp 16-aligned across call argument setup on both x86_64 ABIs
- round x86_64 frames up to 16 bytes so rsp stays aligned at calls
- report exit status on execution failure and only fail on real crashes
- stop repointing sp at heap buffer for aarch64 dynamic calls
- reserve aarch64 stack space for allocations wider than one slot
- reject out-of-range integer literals instead of parsing them as floats
- use real struct field offsets for getfieldptr parsed from text
- reserve stack space for allocations wider than one slot
- report EOF from readbyte as 0 on windows to match syscall paths
- force UTF-8 output in run_tests.py so Windows consoles do not crash
- ignore dealloc.heap on stack allocations
- lower dealloc.heap to free instead of undefined dealloc symbol
- spill caller-saved across calls, save callee-saved, reject i64 on rv32 in riscv
- gate riscv float arithmetic and comparison on F and D extensions
- emit word-width memory ops and frame offsets for rv32 in riscv
- stop riscv allocator handing out argument and live registers
- qualify block labels by function and drop pointer-derived label names in riscv
- copy incoming arguments into their stack slots in riscv
- place riscv locals below saved ra and fp, align sp to 16
- keep sandbox mapping alive after timeout in runtime
- return owned handle from compile_function in runtime
- parse float literals as f64 in parser
- mir: limit identical-select rewrite to integer types
- use operand width for load and store in x86_64
- pass clippy checks
- use CRT putchar for writebyte on Windows (#20)
- fix missing PI import and wrong crate paths in nightly doctests
- mir: use correct unsigned ops for div, rem, shr on unsigned integer types
- pass linux ci checks
- merge conflict
- make stack-slot assignment deterministic
- gate encoder-only runtime imports and fields behind cfg
- eliminate inline imports and unnecessary allocations in tests
- move inline use statements out of function bodies
- remove redundant and in-function imports in x86_64 regalloc tests
- remove unused test_utils imports and gate encoder-only test imports
- resolve clippy errors in nightly-gated code
- add SAFETY comment and replace owned params with borrows
- remove redundant explicit derefs flagged by clippy
- fix CI and minor warns
- fix rebuilding stops for stamp
- fix hardcoding and minor build bug
- fix minor build bug
- harden codebase for c binding
- fix minor bugs found by coderabbit
- fix minor standalone build bug fix
- fix msvc detection
- fix weld usage on linux
- fix windows link with PE
- fix linux build
- fix linux buld
- fix warning
- fix args and link issues
- fix windows build
- fix abi usage and assembled machinecode
- fix using llvm used register
- fix inline
- fix experimental to stable
- fix opt bug
- fix mir opt bug
- fix target handling
- codegen: fix regalloc for aarch64
- fix aarch64 macOS not able to run encode issue in ras
- fix x86 assemble with encode issue in ras
- rewrite capability doctest against CapabilitySet api
- fix executor not working on x86
- fix jit runtime to use C based approach for system call
- fix encoder layout issue on aarch64 in ras
rustclippy- fix test for check functional equivalence
- avoid hardcoded list of types
- fix simd vector nightly build
- fix nightly build setup
- fix jit on macOS
- fix jit crash
- fix ci workflow order
- fix test execution
- fix clippy warning
- implement std fromstr trait properly
- fix clippy warning
- fix unwrap usage much safer
- tempory fix for builder
- fix wasm bin generation flag
- state clippy allow to testcase unwrap
- temporary fix for ci with no executable
- pass --dynamic-linker per arch and drop -lgcc when linking
- fix linker args
- fix wasm build
- fix wasm to work properly with wat2wasm
- fix codegen on x86 in mir_codegen
- fix self calling error
- fix for build error
- add memory barrier, flushing for
writein mir_codegen - fix syntax error
- fix more than 8 args issue in mir_codegen
- fix target processing on x86
- change lifetime parameter
- remove timeout and other unused
- remove arch dependent test
- fix bug may occure on parsing
- fix target wasm to wasm32 / wasm64
- enhance
memoryopt to be more stable in transform - make
loopopt more stable in transform - mark few more stable opts in transform
- fix unstable peephole Cmp in transform
- fix wrong testcase in parser
- mark some more unstable opts in transform
- make
deadcodeto be more stable in transform - re-sort cfg and re-introduce opt1 in transform
- fix gating issue and make properly phi lowering
- widen aarch64 vreg pool to x9-x28 and reuse mapping when pool empties
- fix error on tensor test and overhaul testcase in parser
- fix use of
mir_codegenrefactored unit - fix use of
mir_codegenrefactored unit - fix tailcall frame issue in transform
- pre-detect overflow for subtract in transform
- fix incorrect propagation in transform
- add signed division overflow check in transform
- remove issue of chain elemination in transform
- remove always applying opt in transform
- fix
inlineonly using hardcoded types in transform - fix unstable opt to be more stable in transform
- use checked operation in transform
- fix to preserve original types in transform
- fix unsafe control flow in transform
- fix overflow risk in transform
- for
loopopt fix issue with physical registers in transform - mir: mark
MirTypeimport on test section - codegen: fix missing import
- fix
OUTPUTwritten asOUTOUT - support stack offsets beyond [-256, 255] range in aarch64
- rename
risc-vbackend in riscv - fix problemetic docstring in transform
- mir: fix lifetime issue of inst
- format WasmInstruction::Comment as block comment
- fix stdin and function issue in aarch64
- fix read's return value in x86_64
- fix testing
- fix read return value in x86_64
- fix function issue in x86_64
- fix stdin codegen in x86_64
- fix aarch stackframe bug in aarch64
- fix zero extension, deallocation, division in aarch64
- fix doctests
- fix test not returning 0 exit code
- fix varible index support
- large_constants test
- for
GEPadd support for type aware in x86_64 - fix more type bugs
- iprove heap stack memory control in x86_64
- fix GEP, field offset
- adjust testcases
- temp implementation for wrong element size in x86_64
- add flush for IO in x86_64
- fix doctest, remove emoji
- remove emoji
- fix testcases for wrong printing
- fix operation of
writeptr - fix writeptr being same wit save in aarch64
- fix buffer not getting flushed in aarch64
- fix old tests
- fix docs errror
- fix memory allocation in aarch64
- fix stack and heap allocation in aarch64
- implement heap memory usage in aarch64
- utilize localsize in x86_64
- use fixed offset for struct for now in x86_64
- fix testcases
- fix two more memory pointer implementation in x86_64
- fix external function test
- fix test not returning 0
- fix basic memory allocation in x86_64
- fix typo issue in aarch64
- fix test's value in x86_64
- remove all String based error
- remove helper
- fix var releated bug in x86_64
- fix hardcoded shifts, threshold, etc in aarch64
- fix hardcoded values in x86_64
- fix malform in x86_64
- fix main function issue in x86_64
- fix recursive error in aarch64
- fix register bug and non bug as fine in aarch64
- fix plain
todo!to proper error for now - fix
Zero Extendin aarch64 - fix aarch64 using x86_64 size and stack alignment
- make it use
Mach-Ocompatible section directive in aarch64 - refine and fix arch detection
- fix warning
- on macOS, prefer
Clang - fix warnings
- compute every matmul cell in php, ruby and zig benchmarks
- fix batch size of
Go - fix print not printing newline
- fix function label gen
Performance
- run cse on ssa and let licm hoist across blocks
- align short loops to 32 bytes
- use allocated register directly instead of routing through scratch
- narrow runtime division to 32 bits when operands fit
- keep vector values in xmm registers and add i64 vector multiply
- make dominators, copy propagation and scheduling linear
- give o1 linear scan allocator
- index clobbers by register and narrow coalesce scan
- compute interference degree once and index occupied spans
- rotate counted loops so back edge carries test
- split aggregate slots into fields before mem2reg
- promote single-scalar stack slots to registers
- mir: replace dominator sets with dominator tree
- skip copies that stay in their physical register
- compare register against immediate without loading rax
- enable bounded loop unrolling at o2 and o3
- retain scalar loops for serialized multiplication
- bound unroll factors and instruction growth
- preserve terminal comparisons during instruction scheduling
- coalesce unrolled recurrences and preserve guarded exits
- rename mutable values across unrolled iterations
- apply shared mir analyses to ppc64
- apply shared mir analyses to riscv
- apply shared mir analyses to aarch64
- rotate x86 loops onto conditional back edges
- coalesce x86 dying inputs with copy destinations
- select x86 lea for three-address addition
- invert loop branch so latch needs no extra jump
- track block definitions in set so conversion stays linear
- weight spills by loop depth
- align loop headers past size threshold
- strip self moves from emitted assembly
- probe for block label instead of building discarded parse error
- reserve stack slots only for global allocation storage
- reduce induction products with guarded recurrences
- copy self tail call arguments straight into parameter homes
- treat self tail call as jump so caller-saved registers stay usable
- lay out blocks so branches fall through instead of jumping
- branch on compare flags instead of materializing 0 or 1
- re-enter self tail call past prologue instead of through function symbol
- default optimized x86_64 builds to linear scan
- stage incoming parameters only for register conflicts
- allocate caller-saved registers within safe live intervals
- widen x86_64 global register pool
- skip redundant x86_64 rax reloads
- compare against imm32 without scratch register
Refactor
- mark public types non-exhaustive and name helpers for what they return
- put vector register widths behind target model
- define TlsModel, MemoryOrdering and SourceLoc once
- pass target through codegen instead of arch and os
- drive target properties from one arch table with environment axis
- remove dead CompareExchange from mir atomic binop
- rename from_ir to from_ir_x86_64
- remove dead CompareExchange from ir atomic binop
- gate arx64 behind nightly and remove Unknown arch
- write MirType scalars as enum variants instead of shorthand constructors
- let backends declare their capabilities
- drop print lowering and backend paths
- remove char type, tuple type and writeptr instruction
- drop tuple builders from owned builder and c abi
- name owned builder and c abi after ir opcodes
- ir: name builder getfieldptr after ir opcode
- drop tuple and extract instructions
- name builder methods after ir opcodes
- move test ir strings to new opcode spelling
- move testcases to new opcode spelling
- drop empty TransformLevel impl
- drop unused opt level check from TransformLevel
- pass io error helper without closure
- wrap x86_64 write failures with shared helper
- move aarch64 and wasm tests beside their backends
- move ir lowering tests to own file
- move riscv and powerpc64 tests beside their backends
- share printf and flush emission on x86_64
- share riscv argument passing between call forms
- wrap wasm write failures with shared helper
- share call signature table between riscv and powerpc64
- share align_up, writeptr_width and print format label
- drop unread slot index in powerpc64 argument place
- drop unused stack argument count in powerpc64 call
- share compiler driver entry point with unit tests
- return mir liveness and coalescing data
- split x86_64 code generation by responsibility
- share mir control flow and copy analyses
- share vector stack reservations
- pick copy mnemonics by type size
- merge imports per crate
- drop prelude imports and merge split ones
- apply main workspace clippy policy
- Clean up duplicate imports
- deduplicate parse_getelem type matching; propagate field_byte_offset in parser
- import cleanup
- Remove unused import
- Remove unused import
- cleanup codebase and tighten clippy
- clean up all-target clippy findings
- cargo fmt
- extract shared transform size-guard into helper
- replace stringly-typed transform errors with TransformError
- extract shared stack-slot assignment into common helper
- collapse binary-op lowering and drop redundant clones
- import std cleanup
- import std cleanup
- import std cleanup
- Remove null import
- import std cleanup
- cargo fmt
- Remove unnecessary path prefixes
- Change description
- Remove unnecessary imports
- cargo fmt
- replace manual cfg chains with std::env::consts in detection.rs
- Remove unused import
- Remove unused import
- trim excessive doc comment in error.rs and add proper docstrings
- extract shared test helpers in transform modules
- replace Box in executor and JIT with LaminaError
- replace String errors in transform passes with TransformError enum
- reduce owned string allocations in MIR transform passes
- fix last inline crate:: path and wire SIMD detection into codegen
- remove deprecated legacy API functions and dead file
- Remove unnecessary path prefixes
- Remove unnecessary path prefixes
- remove remaining inline crate:: qualified paths across workspace
- Update explain
- Remove import super
- Remove import super
- cargo fmt
- Remove import super
- import cleanup
- Remove unnecessary path prefixes
- test import integration
- test import integration
- cargo fmt
- refactor import usage
- prefer idiomatic Option combinators
- merge duplicate match arms
- Snake case applied
- extract identity_copy_source helper, deduplicate arithmetic-copy detection
- extract call_args_valid helper, deduplicate guards in c_abi_dynamic
- deduplicate CFG utilities, fix Block::successors Switch case
- extract suggest_alternatives helper, deduplicate suggestion pattern
- move import to top
- deduplicate helpers in mir/codegen/convert.rs
- remove redundant #[allow(dead_code)] in regalloc impls
- remove dead code and restore arch ABI tests
- consolidate arch backends into lamina-codegen
rustclippy- prefix changed to lia
- refine minor warning
- refine docstring
- fix naming of ras for crates io upload
- refine comments and code struct
- refine code executable method
- refine transform codes
- modularize cli code
- refine codebase
- refine JIT runtime sandbox
- modularize ir def
- alternate docs and codes to use writebyte
- platform: narrow detection export, and deprecate old one
- pass through x86_64 symbol map in ras assembler
- modularze motion transform
- mark unsafe for JIT
- migrate to mir based exports not legacy
rustfmt- move jit interaction code into runtime
rustclippy- move
edit_distancesince it's used common - improve docstring
- harden codebase releated to annotation
- modulate mir def
- modulate codegen
- support readable errormsg for ir parser
- modularize builder
rustclippyrustclippy- fix unwrap used in production code
- unify abi usage
- standardize emit_asm and finalize
- unify code inconsistencies
rustclippy- improve code reuse
rustclippy- use new assembler linker pipeline
rustclippy- cleanup
inline,motionin transform rustclippyin transform- cleanup codebase
- cleanup code and improve maintainablity in mir_codegen
- cleanup codebase
- modulate parser
- simplify code
rustclippyrustclippyrustclippy- utilize Codegen trait for codegen pipeline
- stablize target parse
- optimize
primegenerationbench code - re-structureize usage releated code quality
- mir: makee it insert at once
rustclippy- remove some aggresive opts causing issue in transform
- move mir_ver for future removing old path in mir_codegen
- improve basic loop detect
- fix code inconsistency in transform
rustclippyrustclippy- mir: modularize
IRtoMIRcodegen - mir: move mir codegen as it's own folder
- mir:
rustclippy - avoid use of
While Letchain - change comment to docstring in transform
- remove duplicate () in wasm
rustclippyin wasm- mir:
rustclippy - not use
printmethod since it's for debugging rustclippyrustclippyrustclippy- cleanup
x86_64 - cleanup
common - cleanup
aarch64 - optimize lamina's IR code
- remove
IndexMap - elide explicit lifetime in ir impl headers
Documentation
- opt-level flag, targets, memory model and performance
- drop print from docs and tests
- describe ir as typed and block-based, not ssa
- name getfieldptr in pointer testcase comments
- new opcode spelling in readme
- pass pipeline iteration
- contracts for mir registers, signatures and ir types
- mir types and jit interpret switch
- globals and extern declarations
- conversions, unary ops and function pointers
- ir: wrapping integer semantics
- codegen: refine docstring
- enhance docs bit more detailed
- enhance comment and testcase
- add more abi docs
- enhance documentation for ABI
- enhance ABI docs
- Add Contributor Covenant Code of Conduct
- add docstring to few legacy codes
- add docstring for builder each types
- mir module, codegen and transform types
- refine
READMEFinally Exam is almost over - state Unknown case
- state safty comment in transform
- write some opt ideas
- mark doc comments to proper doc
- mir: update
LUMIRexplanation - update msrv to
1.89 - improve with more examples
- update docs for
IR - extend document
- document missing ones
- enhance main docs
- correct README test count to 20+
- refine
README - refine
README - remove unneeded info
- improve
README - add
logofile - add
IRBuilderto README - add basic README
Tests
- print infinity without msvcrt formatting
- print i64 with lld so llp64 does not truncate
- thread locals run on native windows hosts
- read generic timer with mrs on macos
- inline assembly runs on native arm64 hosts
- inline assembly runs on aarch64 linux
- i128 shift counts stay in range
- s390x runs inline asm from its own testcase bodies
- every s390x skip names its reason
- s390x runs bit intrinsics, atomics, variadics, overflow and tls
- testcases run on s390x under qemu
- every loop shape vectorizer cannot prove safe stays scalar
- write temp files under target and delete them
- assert instruction sequences instead of counting them
- loongarch64 load_imm reconstructs every boundary value
- give getfieldptr its layout type
- compare full output instead of filtering it
- cmpxchg returns prior value and swaps only on match
- atomics are refused by wasm encoder
- cover atomic orderings
- cover inline assembly semantics
- cover io success, end of input and error
- cover readbyte at NUL and end of input
- cover alignment and literal validation
- write bool literals as true and false
- call malloc, free and memcpy as externs
- migrate print to write helpers and extern printf
- wide bit intrinsics and wide literal arguments
- reassigned names keep their own definition
- division matches arbitrary precision across widths and signs
- block past old size limit still optimizes
- add factorial to cross-language comparison
- default native port sizes so no-arg runs work
- match fibonacci, primegeneration and factorial ports to rescaled benchmarks
- typed and untyped call arguments agree
- loop rotation refuses impure headers and changed bounds
- time go and zig alongside gcc, clang and rustc
- match 2Dmatmul ports to new element generator
- 2Dmatmul resists closed-form rewriting so clang can be timed
- wide integer arithmetic, abi and conversions
- platform: every wasm target name round trips
- store through pointer param reaches caller slot
- sroa refuses escaping, indexed and volatile slots
- byte io avoids stdio on riscv64 and ppc64
- variadic callee reads args past both register banks
- weak, section and align reach assembly
- unreachable traps
- popcount, ctlz, cttz, bswap and rotates hold at every width
- output through libc and output with no libc
- track static codegen metrics against checked-in baseline
- drop orphan expected files and tuple stubs
- demo prints both digits of its result
- owned builder output parses
- select picks its arm for every scalar type
- offset past i32 reaches its address
- sparse array global keeps prefix and zeroed tail
- print of u64 constant above i64 max stays unsigned
- cse reuses repeated expression and keeps types apart
- function may take intrinsic name
- wasm narrow load keeps its sign
- swapped phis and switch edge moves keep their values
- external declarations keep one order
- ppc64 places aggregates by elfv2
- folding and dce land their result in one sweep
- riscv places aggregates by lp64d
- string global resolves escapes
- marked callee drives variadic call shape
- variadic f32 arg widens to f64
- riscv variadic float rides integer bank
- darwin aarch64 sends variadic args to stack
- measure matmul with monotonic clock at microsecond resolution
- strip crlf from output and rename runner modes
- gate native oracle tests on host they need
- build testcase programs under target
- sret call with mixed register and memory arguments
- skip wasm runs where uv cannot fetch wasmtime
- drop constructor echo tests
- switch dispatch and memory intrinsics reach every arm
- aggregate at either boundary reaches only classifying backends
- cross assembly tests skip on hosts without target
- wasm stdout compares equal on crlf hosts
- mir: dominator queries hold across long block chain
- riscv lea offset past 2047 lands inside reservation
- mach-o print calls resolve to underscored symbols
- powerpc64 entry zero-extends bool params
- aarch64 entry zero-extends bool params
- wasm narrow arguments keep declared signedness across calls
- riscv unsigned narrow compares zero-extend both operands
- interpreter compares narrow arguments at declared width
- powerpc64 entry sign-extends narrow params
- aarch64 entry sign-extends narrow params
- narrow param prologue picks extension from signedness
- char returned from call reads back signed
- globals observe initial, zeroed and stored values
- fptosi and fptoui saturate and map NaN to zero as C does
- sitofp and uitofp match C for every integer width
- io_types stdout is compared byte for byte
- io_types expected output holds raw binary bytes
- writeptr byte count follows pointee width
- conversion corpus preserves outputs with explicit widths
- linear sum elimination matches interpreter and refuses unproven loops
- integer ops wrap mask and trap on every backend
- gpu emission assembles and rejects unsupported kernels
- inlining preserves execution across driver modes
- narrow integer execution preserves bit patterns
- global allocation preserves outputs and frames
- simd executes and encodes on every backend
- c# and zig matmul compute every cell
- parser reads 2d matmul with five functions
- 2d matmul benchmark runs same algorithm as c version
- shared backend plans keep register aliases
- narrow integer codegen holds across optimization levels
- capable_lamina prints expected output
- build i64::MIN without out-of-range literal
- replace out-of-range scale factor in register_size_mismatch_bug_test
- rewrite tiny.lamina against real getelem.ptr syntax
- repair struct_operations_comprehensive getelementptr arity and expected output
- refresh expected outputs that no longer matched their sources
- repair gep_variable_indices duplicate functions and wrong sum
- add tests for struct_gep_typed, memcpy, memmove, memset in builder
- builder emits each named function and its entry block
- add inline tests for x86_64 register allocator
- add inline tests for cfg transform module
- add inline tests for sanity and memory transform modules
- add inline tests for lamina-c builder, jit, and module
- add inline tests for cli jit module
- add inline tests for runtime executor and compiler
- check testcase output against expected files and drop mir runner
- add testcases for calling convention, gep, float and heap bugs
Internal
- raise lamina-ras to 0.2.2
- regenerate codegen metrics baseline
- raise lamina-ras to 0.2.1
- regenerate codegen metrics baseline
- ignore a.out
- raise msrv to 1.88 across workspace
- update cargo lock
- regenerate codegen metrics baseline
- regenerate codegen metrics baseline
- regenerate codegen metrics baseline
- regenerate codegen metrics baseline
- regenerate codegen metrics baseline
- raise rust-version to 1.88
- regenerate codegen metrics baseline
- regenerate codegen metrics baseline
- regenerate codegen baseline after heap op removal
- regenerate codegen metrics baseline
- move scripts to emit-asm
- regenerate codegen metrics baseline
- regenerate codegen metrics baseline
- regenerate codegen metrics baseline
- regenerate codegen metrics baseline
- scale benchmarks past process startup noise
- add call-heavy, array-loop and integer benchmarks
- regenerate codegen metrics baseline
- regenerate codegen metrics baseline
- add benchmark and compiler options to metrics script
- add struct benchmarks with loops
- regenerate codegen metrics baseline
- regenerate codegen metrics baseline
- bump to 0.2.0 and patch ras to local path
- bump patch versions
- bump crates for 0.1.0 release
- ignore testcase binaries built into repo root
- platform: bump version
- bump minor versions
- fix too long tag
- prepare release
- add clippy settings
- bump version
- improvement error msg and documentation
- add clippy lint option
- bump to
0.0.8-dev - bump to 0.0.7 from dev ver
- update
.gitignore - comment out arm32 placeholder
- state bumped version and dev state
- deprecate unstable
LICMin transform - remove resolved bug
- bump version
- update
.gitignorefor macOS - bump version
- bump version
- bump to
0.0.3 - add some TODO
- mark more bugs in aarch64
- mark
Cargo.toml - improve todo
- mark bugs
- cleanup code
- set version
0.0.1for initial release - due to faster processor on my server, reduce timeout
- format jit call and shorten ptr path in lamina-c
- drop comment narrating i128 signature gap
- rustfmt
- wrap long lines in riscv and ppc64 frame code
- import codegen helper paths
- use ? instead of matching on convert_instruction
rustfmt- import struct_field_byte_offset directly
- drop riscv comments that repeat their code
- inline variables into format! strings
- apply rustfmt to transform and runtime modules
- move all inline module paths to file-scope imports across workspace
- apply more import stripping
- apply clippy lint suggestions (uninlined_format_args, redundant_closure)
- move inline use statements to file scope in simd.rs
- apply rustfmt
- move inline use statements to file/module scope
- move inline use statements to module scope, remove redundant comment
- rustfmt import ordering in aarch64 mod.rs
rustfmtrustfmtrustfmtrustfmt- rustfmt
rustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmt- codegen:
rustfmt rustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmtrustfmt- create tagged release with gh, not automatic-releases
- install 32-bit runtime for tagged release tests
- record crashed testcases and print their backtraces
- install weld and report only on windows and macos
- install 32-bit runtime for i686 tests
- pin setup-uv to v10.3.3
- install uv so tagged release runs wasm validation
- narrow permissions and bump action versions
- drop duplicate test and clippy builds
- merge clippy and fmt into one workflow
- drop conventional commit check
- fail tagged release when tag does not name lamina version
- install uv so wasm simd test runs
- reject commit subjects that are not conventional commits
- generate release notes from conventional commits
- capture macos crash report and backtrace on failure
- run testcases on linux, windows and macos
- fix back to automatic changelog generation
- mark lamina-c as not published
- resolve ras from registry in lamina-c
- resolve ras from registry, keep in-repo patches
- record registry source and checksum for lamina-ras in lock
- follow published versions in lamina-c deps
- lock lamina-ras to 0.1.4
- untrack compiled testcase programs
- require lamina-ras 0.1.4
- require lamina-ras 0.1.3
- depend on published lamina-ras instead of vendored copy
- use newer crate version
- add msrv
- release C Binding SDK release
- bump ras version
- mark version for later maintain
- cargo toml update
- add nightly feature
- add automation
- place
use_moldfeature - ir: drop integer literal range check
Other
- chore : Remove unused dependencies
- chore : Add missing code during merge
- chore : Add missing imports
- refactor : Change match to iterator
- refactor : import cleanup
- refactor : cargo fmt
- refactor : Consolidate frequently used path prefixes into imports
- refactor : Consolidate frequently used path prefixes into imports
- refactor : Consolidate frequently used path prefixes into imports
- refactor : Consolidate frequently used path prefixes into imports
- refactor : Integration of imports separated in test
- refactor : Remove path prefixes that are already imported
- refactor : Edit comments
- refact : Remove unnecessary path prefixes
- chore : Remove unused uses
- refactor : apply cargo fmt
- chore : code refact
- remove: migrate
rasto separate repo - remove: remove legacy codegen
- stye:
rustfmt - remove: remove useless testcase
- remove: remove ai generated codes
- remove: remove binary
- remove: remvoe cache file
- remove: remove mistaken commit
- remove: remove debug print
- refact : Code Cleanup
- remove: remove readptr from testcase
- remove: remove unneeded
readptr - remove: remove unneeded testcase
Full Changelog: v0.1.0...v0.2.0
C SDK 0.2.0
| Archive | Target | Surface |
|---|---|---|
lamina-c-0.2.0-stable-x86_64-linux.tar.gz |
x86_64-linux | Stable AOT (lamina.h) |
lamina-c-0.2.0-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.0-stable-x86_64-linux.tar.gz
cd lamina-c-0.2.0-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.0-stable-x86_64-linux.tar.gz.sha256