Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
68af0b5
remove old ISA; abstract ISA as much as possible
dr-orlovsky Oct 20, 2024
23b936c
epic: AluVM rewrite from scratch
dr-orlovsky Oct 20, 2024
a03daaf
isa: add ALU64 and GF instructions
dr-orlovsky Oct 21, 2024
4891df0
zkaluvm: inception :)
dr-orlovsky Oct 21, 2024
4ce41df
zkaluvm: refactoring field order into a registry
dr-orlovsky Oct 21, 2024
e313223
zkaluvm: complete initial GPA implementation
dr-orlovsky Oct 21, 2024
b170f5f
isa: complete ALU basic ISA execution
dr-orlovsky Oct 21, 2024
0584dca
isa: encode ALU instructions
dr-orlovsky Oct 21, 2024
824c824
isa: decode ALU instructions
dr-orlovsky Oct 22, 2024
b57aab8
stl: update libs
dr-orlovsky Oct 22, 2024
ed3602e
core: fix how cf and ch controls execution
dr-orlovsky Oct 22, 2024
fa12b0b
improve exports
dr-orlovsky Oct 23, 2024
60cbdab
Merge branch 'master' into refactor
dr-orlovsky Oct 31, 2024
180b251
tests: fix
dr-orlovsky Nov 2, 2024
d1a49b4
core: derive Ord and Hash for Config
dr-orlovsky Nov 2, 2024
c5b3c8d
core: add CoreConfig to strict encodable types
dr-orlovsky Nov 2, 2024
139ce27
core: derive serde for CoreConfig
dr-orlovsky Nov 2, 2024
3352f7f
core: reset operation
dr-orlovsky Nov 2, 2024
7331259
isa: more constants
dr-orlovsky Nov 2, 2024
10549a1
core: fix flag registers
dr-orlovsky Nov 2, 2024
5b3e941
isa: fix use of context associated type
dr-orlovsky Nov 2, 2024
8270c35
chore: fix use of std imports
dr-orlovsky Nov 3, 2024
2d85a0a
improve namings
dr-orlovsky Nov 3, 2024
2f2f56e
fix alloc/std ambiguity
dr-orlovsky Nov 3, 2024
2e0f15b
chore: update to baid64 v0.3
dr-orlovsky Nov 3, 2024
71db1b7
chore: update to strict types 2.8
dr-orlovsky Nov 4, 2024
97f6b47
isa: complete missed implementations
dr-orlovsky Nov 4, 2024
04a8dbb
chore: fix affiliation
dr-orlovsky Nov 4, 2024
015d437
masm: complete macro assembly for ALU128
dr-orlovsky Nov 4, 2024
936ea93
masm: complete macro assembly for GFA
dr-orlovsky Nov 4, 2024
4beb178
bytecode: test cover and debug
dr-orlovsky Nov 4, 2024
9f28ec7
chore: release v0.12.0-beta.1
dr-orlovsky Nov 4, 2024
e3c287b
remove everything except base architecture
dr-orlovsky Nov 12, 2024
86763eb
unite InstructionSet and Instruction traits
dr-orlovsky Nov 12, 2024
3c29721
make registers part of core extensions
dr-orlovsky Nov 12, 2024
2f0b92c
chore: housekeeping work
dr-orlovsky Nov 13, 2024
65f6143
chore: improve README
dr-orlovsky Nov 13, 2024
316612e
require ISA-specific registers to be always represented by an Option
dr-orlovsky Nov 13, 2024
f0f5c79
improve APIs
dr-orlovsky Nov 13, 2024
3fff0d9
isa: fix use of unstable core Error trait
dr-orlovsky Nov 13, 2024
b991cf4
core: improve Debug implementation
dr-orlovsky Nov 14, 2024
0f27af8
isa: derive Copy for Instr
dr-orlovsky Nov 14, 2024
81fce43
isa: fix size of internal instruction data for CtrlInstr
dr-orlovsky Nov 14, 2024
2d54ac0
vm: make VM context mutable during the instruction execution
dr-orlovsky Nov 14, 2024
d26c691
core: add conversion methods between cores with extensions
dr-orlovsky Nov 14, 2024
6931065
vm: remove context mutability
dr-orlovsky Nov 14, 2024
7457bbd
tests: fix
dr-orlovsky Nov 15, 2024
92bad20
chore: masm
dr-orlovsky Nov 15, 2024
802587f
chore: release v0.12.0-beta.2
dr-orlovsky Nov 15, 2024
9c412ec
chore: update dependencies. Release v0.12.0-beta.3
dr-orlovsky Nov 29, 2024
a489242
chore: bump MSRV due to Error in core
dr-orlovsky Dec 23, 2024
288cc00
chore: update dependencies
dr-orlovsky Dec 23, 2024
4f8f938
ci: remove non-existing elliptic curve features
dr-orlovsky Dec 23, 2024
a20dda9
ci: temporary remove codecove min coverage requirement
dr-orlovsky Dec 23, 2024
b35c8d5
chore: release v0.12.0-beta.4
dr-orlovsky Dec 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 4 additions & 19 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
branches:
- master
tags:
- 'v[0-9]+\.*'
- 'v[0-9]+.*'
pull_request:
branches:
- master
- develop
- 'v[0-9]+.[0-9]+'
- 'v[0-9]+.?*'

env:
CARGO_TERM_COLOR: always
Expand All @@ -35,9 +35,7 @@ jobs:
matrix:
feature:
- log
- ascii-armor
- secp256k1
- curve25519
- armor
- serde
- stl
steps:
Expand All @@ -47,19 +45,6 @@ jobs:
run: cargo check --workspace --no-default-features --features=std,${{matrix.feature}}
- name: Feature ${{matrix.feature}}
run: cargo check --workspace --features=${{matrix.feature}}
features-nostd:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
feature:
- secp256k1
- curve25519
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Feature ${{matrix.feature}}
run: cargo check --workspace --no-default-features --features=alloc,${{matrix.feature}}
platforms:
runs-on: ${{ matrix.os }}
strategy:
Expand All @@ -76,7 +61,7 @@ jobs:
strategy:
fail-fast: false
matrix:
toolchain: [ nightly, beta, stable, 1.77.0 ]
toolchain: [ nightly, beta, stable, 1.81.0 ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
branches:
- master
tags:
- 'v[0-9]+\.*'
- 'v[0-9]+.*'
pull_request:
branches:
- master
- develop
- 'v[0-9]+.[0-9]+'
- 'v[0-9]+.?*'

env:
CARGO_TERM_COLOR: always
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- master
- develop
- 'v[0-9]+.[0-9]+'
- 'v[0-9]+.?*'

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -38,3 +38,8 @@ jobs:
components: rust-docs
- name: Formatting
run: cargo +nightly doc --workspace --all-features
typos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crate-ci/typos@master
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
branches:
- master
tags:
- 'v[0-9]+\.*'
- 'v[0-9]+.*'
pull_request:
branches:
- master
- develop
- 'v[0-9]+.[0-9]+'
- 'v[0-9]+.?*'

env:
CARGO_TERM_COLOR: always
Expand Down
3 changes: 2 additions & 1 deletion .rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ max_width = 100
array_width = 100
attr_fn_like_width = 100
comment_width = 100
chain_width = 100
chain_width = 60
fn_call_width = 100
single_line_if_else_max_width = 100
struct_lit_width = 60

fn_single_line = true
format_code_in_doc_comments = true
Expand Down
Loading