wardite 0.9.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +191 -0
- data/Makefile +14 -0
- data/README.md +80 -1
- data/Rakefile +5 -0
- data/benchmark/README.md +500 -0
- data/benchmark/build_call_profile.rb +42 -0
- data/benchmark/call_cost_worker.rb +27 -0
- data/benchmark/compare.rb +93 -0
- data/benchmark/compare_call_types.rb +212 -0
- data/benchmark/compare_dispatch.rb +123 -0
- data/benchmark/compare_engines.rb +119 -0
- data/benchmark/compare_optimizations.rb +139 -0
- data/benchmark/engine_phases.rb +30 -0
- data/benchmark/figures/README.md +35 -0
- data/benchmark/figures/plot_spinel_comparison.py +137 -0
- data/benchmark/figures/spinel_new_vm_candlestick.png +0 -0
- data/benchmark/figures/spinel_new_vm_candlestick.svg +7615 -0
- data/benchmark/figures/spinel_new_vm_summary.csv +9 -0
- data/benchmark/figures/spinel_new_vm_summary.json +82 -0
- data/benchmark/float_m5.wat +42 -0
- data/benchmark/i32_call_arities.wat +89 -0
- data/benchmark/i32_calls.wat +174 -0
- data/benchmark/i32_memory.wat +58 -0
- data/benchmark/i32_mix.wat +80 -0
- data/benchmark/i64_m4.wat +55 -0
- data/benchmark/investigate_calls.rb +231 -0
- data/benchmark/investigate_generated_guards.rb +218 -0
- data/benchmark/m3_call_worker.rb +38 -0
- data/benchmark/measure_m1.rb +51 -0
- data/benchmark/measure_m2.rb +55 -0
- data/benchmark/measure_m3_calls.rb +89 -0
- data/benchmark/measure_m4.rb +134 -0
- data/benchmark/measure_m5_boundary.rb +41 -0
- data/benchmark/measure_wasi_write.rb +75 -0
- data/benchmark/optimization_worker.rb +23 -0
- data/benchmark/results/call_arities_exploratory_2026-11-04.json +4320 -0
- data/benchmark/results/call_arities_spinel_2026-11-04.json +1200 -0
- data/benchmark/results/call_cost_spinel_2026-11-04.json +2392 -0
- data/benchmark/results/call_protocol_exploratory_2026-11-04.json +3947 -0
- data/benchmark/results/call_protocol_profile_2026-11-04.json +383 -0
- data/benchmark/results/call_protocol_ruby_2026-11-04.json +1213 -0
- data/benchmark/results/call_protocol_spinel_2026-11-04.json +913 -0
- data/benchmark/results/call_types_ruby_2026-11-04.json +1212 -0
- data/benchmark/results/call_types_spinel_2026-11-04.json +923 -0
- data/benchmark/results/efflorescence-m1-cruby.json +799 -0
- data/benchmark/results/efflorescence-m1-spinel.json +799 -0
- data/benchmark/results/efflorescence-m2-bulk-loop.json +820 -0
- data/benchmark/results/efflorescence-m2-i32-cruby.json +799 -0
- data/benchmark/results/efflorescence-m2-i32-spinel.json +799 -0
- data/benchmark/results/efflorescence-m2-memory.json +408 -0
- data/benchmark/results/generated_guards_exploratory_2026-11-04.json +1225 -0
- data/benchmark/results/generated_guards_profile_2026-11-04.json +592 -0
- data/benchmark/results/generated_guards_spinel_2026-11-04.json +1650 -0
- data/benchmark/results/generated_guards_validation_2026-11-04.json +256 -0
- data/benchmark/results/inlining_engines_2026-11-04.json +241 -0
- data/benchmark/results/inlining_ruby_2026-11-04.json +1213 -0
- data/benchmark/results/inlining_spinel_2026-11-04.json +893 -0
- data/benchmark/results/operand_decode_exploratory_2026-11-04.json +1319 -0
- data/benchmark/results/operand_decode_ruby_2026-11-04.json +1213 -0
- data/benchmark/results/operand_decode_spinel_2026-11-04.json +924 -0
- data/benchmark/results/selective_reset_spinel_2026-11-04.json +454 -0
- data/benchmark/results/selective_reset_spinel_2026-11-04_exploratory.json +2679 -0
- data/benchmark/results/spinel_fetch_root_patch_2026-11-04.json +4523 -0
- data/benchmark/results/while_final_compiler_comparison_2026-11-04.json +324 -0
- data/benchmark/results/while_patched_external_2026-11-04.json +220 -0
- data/benchmark/results/while_user_unpatched_2026-11-04.json +230 -0
- data/benchmark/summarize_call_profile.py +54 -0
- data/benchmark/validate_m1_eh.rb +34 -0
- data/benchmark/validate_m2.rb +119 -0
- data/benchmark/validate_m3.rb +44 -0
- data/benchmark/validate_m4.rb +95 -0
- data/benchmark/validate_m5.rb +108 -0
- data/docs/adr/0001-efflorescence-m1-control-and-eh.md +319 -0
- data/docs/adr/0002-efflorescence-m2-memory-and-globals.md +185 -0
- data/docs/adr/0003-efflorescence-m3-host-and-indirect-calls.md +228 -0
- data/docs/adr/0004-efflorescence-m4-i64.md +202 -0
- data/docs/adr/0005-efflorescence-m5-floating-point.md +127 -0
- data/docs/adr/0006-efflorescence-m6-coverage-parity.md +101 -0
- data/docs/efflorescence-call-arities.md +115 -0
- data/docs/efflorescence-call-investigation.md +155 -0
- data/docs/efflorescence-call-transfer.md +128 -0
- data/docs/efflorescence-call-types.md +102 -0
- data/docs/efflorescence-coverage-ja.md +351 -0
- data/docs/efflorescence-generated-c-guards.md +405 -0
- data/docs/efflorescence-inlining.md +165 -0
- data/docs/efflorescence-ja.md +155 -0
- data/docs/efflorescence-m1.md +160 -0
- data/docs/efflorescence-m2.md +233 -0
- data/docs/efflorescence-m3.md +131 -0
- data/docs/efflorescence-m4.md +88 -0
- data/docs/efflorescence-m5.md +82 -0
- data/docs/efflorescence-m6.md +95 -0
- data/docs/efflorescence-operand-decoding.md +105 -0
- data/docs/efflorescence-phase2-ja.md +225 -0
- data/docs/efflorescence-phase2.md +240 -0
- data/docs/efflorescence-register-initialization.md +75 -0
- data/docs/efflorescence.md +144 -0
- data/docs/spinel-string-aset-inplace-proposal.md +200 -0
- data/lib/wardite/alu_f32.generated.rb +1 -0
- data/lib/wardite/alu_f64.generated.rb +1 -0
- data/lib/wardite/alu_i32.generated.rb +14 -9
- data/lib/wardite/alu_i64.generated.rb +18 -20
- data/lib/wardite/cli/cli.rb +61 -28
- data/lib/wardite/const.rb +1 -0
- data/lib/wardite/efflorescence/float_arithmetic.rb +216 -0
- data/lib/wardite/efflorescence/i64_arithmetic.rb +257 -0
- data/lib/wardite/efflorescence/inspection.rb +165 -0
- data/lib/wardite/efflorescence/ir.rb +1151 -0
- data/lib/wardite/efflorescence/optimizer.rb +580 -0
- data/lib/wardite/efflorescence/register_validation.rb +290 -0
- data/lib/wardite/efflorescence/store_access.rb +271 -0
- data/lib/wardite/efflorescence/translator.rb +859 -0
- data/lib/wardite/efflorescence/vm.rb +1006 -0
- data/lib/wardite/efflorescence/wasi.rb +108 -0
- data/lib/wardite/efflorescence.rb +11 -0
- data/lib/wardite/errors.rb +20 -0
- data/lib/wardite/float_bits.rb +46 -0
- data/lib/wardite/instruction.rb +35 -4
- data/lib/wardite/leb128.rb +33 -12
- data/lib/wardite/load.rb +203 -138
- data/lib/wardite/value.rb +169 -175
- data/lib/wardite/version.rb +1 -1
- data/lib/wardite/wasi/consts.rb +1 -0
- data/lib/wardite/wasm_module.rb +6 -3
- data/lib/wardite.rb +184 -70
- data/rbs_collection.lock.yaml +36 -96
- data/scripts/gen_alu.rb +66 -10
- data/sig/generated/wardite/cli/cli.rbs +8 -6
- data/sig/generated/wardite/const.rbs +2 -0
- data/sig/generated/wardite/efflorescence/float_arithmetic.rbs +65 -0
- data/sig/generated/wardite/efflorescence/i64_arithmetic.rbs +99 -0
- data/sig/generated/wardite/efflorescence/inspection.rbs +64 -0
- data/sig/generated/wardite/efflorescence/ir.rbs +881 -0
- data/sig/generated/wardite/efflorescence/optimizer.rbs +189 -0
- data/sig/generated/wardite/efflorescence/register_validation.rbs +76 -0
- data/sig/generated/wardite/efflorescence/store_access.rbs +134 -0
- data/sig/generated/wardite/efflorescence/translator.rbs +214 -0
- data/sig/generated/wardite/efflorescence/vm.rbs +179 -0
- data/sig/generated/wardite/efflorescence/wasi.rbs +47 -0
- data/sig/generated/wardite/errors.rbs +12 -0
- data/sig/generated/wardite/float_bits.rbs +30 -0
- data/sig/generated/wardite/instruction.rbs +22 -1
- data/sig/generated/wardite/leb128.rbs +3 -1
- data/sig/generated/wardite/load.rbs +29 -4
- data/sig/generated/wardite/value.rbs +70 -11
- data/sig/generated/wardite/wasi/consts.rbs +2 -0
- data/sig/generated/wardite.rbs +49 -12
- data/sig/vernier.rbs +2 -2
- data/spinel/README.md +30 -0
- data/spinel/bin/wardite.rb +6 -0
- data/spinel/spin.toml +7 -0
- metadata +126 -3
data/sig/generated/wardite.rbs
CHANGED
|
@@ -12,7 +12,7 @@ module Wardite
|
|
|
12
12
|
|
|
13
13
|
attr_accessor sections: Array[Section]
|
|
14
14
|
|
|
15
|
-
attr_accessor runtime: Runtime
|
|
15
|
+
attr_accessor runtime: Runtime | Efflorescence::VM
|
|
16
16
|
|
|
17
17
|
attr_accessor types: Array[Type]
|
|
18
18
|
|
|
@@ -20,13 +20,27 @@ module Wardite
|
|
|
20
20
|
|
|
21
21
|
attr_accessor exports: Exports
|
|
22
22
|
|
|
23
|
+
attr_reader tags: Array[Wardite::Efflorescence::Tag]
|
|
24
|
+
|
|
23
25
|
attr_reader import_object: Hash[Symbol, wasmModule]
|
|
24
26
|
|
|
25
27
|
attr_accessor wasi: ::Wardite::WasiSnapshotPreview1?
|
|
26
28
|
|
|
27
29
|
# @rbs import_object: Hash[Symbol, wasmModuleSrc]
|
|
30
|
+
# @rbs engine: Symbol
|
|
31
|
+
# @rbs disabled_optimizations: Array[Symbol]
|
|
32
|
+
# @rbs mir_profile: bool
|
|
28
33
|
# @rbs &blk: (Instance) -> void
|
|
29
|
-
def initialize: (Hash[Symbol, wasmModuleSrc] import_object) { (Instance) -> void } -> untyped
|
|
34
|
+
def initialize: (Hash[Symbol, wasmModuleSrc] import_object, ?engine: Symbol, ?disabled_optimizations: Array[Symbol], ?mir_profile: bool) { (Instance) -> void } -> untyped
|
|
35
|
+
|
|
36
|
+
# Run before allocating Store/Exports or executing a start function.
|
|
37
|
+
# @rbs engine: Symbol
|
|
38
|
+
# @rbs return: void
|
|
39
|
+
def check_engine_features: (Symbol engine) -> void
|
|
40
|
+
|
|
41
|
+
# Validate active segments before shared initialization can mutate memory.
|
|
42
|
+
# @rbs return: void
|
|
43
|
+
def check_memory_initialization: () -> void
|
|
30
44
|
|
|
31
45
|
# @rbs return: void
|
|
32
46
|
def check_data_count: () -> void
|
|
@@ -148,8 +162,9 @@ module Wardite
|
|
|
148
162
|
def method_missing: (Symbol name, *untyped args) -> untyped
|
|
149
163
|
|
|
150
164
|
# @rbs name: String|Symbol
|
|
165
|
+
# @rbs include_private: bool
|
|
151
166
|
# @rbs return: bool
|
|
152
|
-
def respond_to?: (String | Symbol name) -> bool
|
|
167
|
+
def respond_to?: (String | Symbol name, ?bool include_private) -> bool
|
|
153
168
|
|
|
154
169
|
# @rbs args: Array[Object]
|
|
155
170
|
# @rbs return: Object?
|
|
@@ -163,8 +178,8 @@ module Wardite
|
|
|
163
178
|
|
|
164
179
|
# @rbs callsig: Array[Symbol]
|
|
165
180
|
# @rbs retsig: Array[Symbol]
|
|
166
|
-
# @rbs
|
|
167
|
-
def initialize: (Array[Symbol] callsig, Array[Symbol] retsig) ->
|
|
181
|
+
# @rbs return: void
|
|
182
|
+
def initialize: (Array[Symbol] callsig, Array[Symbol] retsig) -> void
|
|
168
183
|
end
|
|
169
184
|
|
|
170
185
|
class Frame
|
|
@@ -187,8 +202,8 @@ module Wardite
|
|
|
187
202
|
# @rbs body: Array[[Symbol, Symbol, Array[Wardite::operandItem], Integer?, Integer?]]
|
|
188
203
|
# @rbs arity: Integer
|
|
189
204
|
# @rbs locals: Array[wasmValue]
|
|
190
|
-
# @rbs
|
|
191
|
-
def initialize: (Integer pc, Integer sp, Array[[ Symbol, Symbol, Array[Wardite::operandItem], Integer?, Integer? ]] body, Integer arity, Array[wasmValue] locals) ->
|
|
205
|
+
# @rbs return: void
|
|
206
|
+
def initialize: (Integer pc, Integer sp, Array[[ Symbol, Symbol, Array[Wardite::operandItem], Integer?, Integer? ]] body, Integer arity, Array[wasmValue] locals) -> void
|
|
192
207
|
end
|
|
193
208
|
|
|
194
209
|
class Label
|
|
@@ -218,6 +233,8 @@ module Wardite
|
|
|
218
233
|
|
|
219
234
|
attr_accessor memories: Array[Memory]
|
|
220
235
|
|
|
236
|
+
attr_reader data_segments: Array[String]
|
|
237
|
+
|
|
221
238
|
attr_accessor globals: Array[Global]
|
|
222
239
|
|
|
223
240
|
attr_accessor tables: Array[Table]
|
|
@@ -308,12 +325,24 @@ module Wardite
|
|
|
308
325
|
|
|
309
326
|
attr_accessor block_types: nil | Array[Integer]
|
|
310
327
|
|
|
328
|
+
attr_reader type_index: Integer
|
|
329
|
+
|
|
330
|
+
attr_reader parameter_types: Array[Symbol]
|
|
331
|
+
|
|
332
|
+
attr_reader result_types: Array[Symbol]
|
|
333
|
+
|
|
311
334
|
# @rbs return: Block
|
|
312
335
|
def self.void: () -> Block
|
|
313
336
|
|
|
314
337
|
# @rbs block_types: nil|Array[Integer]
|
|
338
|
+
# @rbs type_index: Integer
|
|
315
339
|
# @rbs return: void
|
|
316
|
-
def initialize: (?nil | Array[Integer] block_types) -> void
|
|
340
|
+
def initialize: (?nil | Array[Integer] block_types, ?type_index: Integer) -> void
|
|
341
|
+
|
|
342
|
+
# @rbs params: Array[Symbol]
|
|
343
|
+
# @rbs results: Array[Symbol]
|
|
344
|
+
# @rbs return: void
|
|
345
|
+
def resolve: (Array[Symbol] params, Array[Symbol] results) -> void
|
|
317
346
|
|
|
318
347
|
# @rbs return: bool
|
|
319
348
|
def void?: () -> bool
|
|
@@ -336,7 +365,10 @@ module Wardite
|
|
|
336
365
|
# @rbs return: exportHandle|nil
|
|
337
366
|
def []: (String name) -> (exportHandle | nil)
|
|
338
367
|
|
|
339
|
-
|
|
368
|
+
# @rbs name: String|Symbol
|
|
369
|
+
# @rbs include_private: bool
|
|
370
|
+
# @rbs return: bool
|
|
371
|
+
def respond_to?: (String | Symbol name, ?bool include_private) -> bool
|
|
340
372
|
|
|
341
373
|
def method_missing: (untyped name, *untyped _args) -> untyped
|
|
342
374
|
end
|
|
@@ -354,7 +386,7 @@ module Wardite
|
|
|
354
386
|
|
|
355
387
|
attr_accessor findex: Integer
|
|
356
388
|
|
|
357
|
-
|
|
389
|
+
@default_locals: Array[wasmValue]?
|
|
358
390
|
|
|
359
391
|
# @rbs callsig: Array[Symbol]
|
|
360
392
|
# @rbs retsig: Array[Symbol]
|
|
@@ -371,6 +403,10 @@ module Wardite
|
|
|
371
403
|
# @rbs return: Array[Integer]
|
|
372
404
|
def locals_count: () -> Array[Integer]
|
|
373
405
|
|
|
406
|
+
# Stack-engine values are boxed lazily; Efflorescence uses type metadata.
|
|
407
|
+
# @rbs return: Array[wasmValue]
|
|
408
|
+
def default_locals: () -> Array[wasmValue]
|
|
409
|
+
|
|
374
410
|
# @rbs return: Array[wasmValue]
|
|
375
411
|
def construct_default_locals: () -> Array[wasmValue]
|
|
376
412
|
|
|
@@ -392,9 +428,10 @@ module Wardite
|
|
|
392
428
|
|
|
393
429
|
# @rbs callsig: Array[Symbol]
|
|
394
430
|
# @rbs retsig: Array[Symbol]
|
|
395
|
-
# @rbs
|
|
431
|
+
# @rbs target_module: wasmModule
|
|
432
|
+
# @rbs name: Symbol
|
|
396
433
|
# @rbs return: void
|
|
397
|
-
def initialize: (
|
|
434
|
+
def initialize: (wasmModule target_module, Symbol name, Array[Symbol] callsig, Array[Symbol] retsig) -> void
|
|
398
435
|
|
|
399
436
|
# @rbs return: _WasmCallable
|
|
400
437
|
def callable: () -> _WasmCallable
|
data/sig/vernier.rbs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
module Vernier
|
|
2
|
-
def self.profile: (?out: String) { (
|
|
3
|
-
end
|
|
2
|
+
def self.profile: (?out: String) { () -> void } -> void
|
|
3
|
+
end
|
data/spinel/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Build with spin
|
|
2
|
+
|
|
3
|
+
This directory is a Spinel application using Wardite's existing `lib/` as a
|
|
4
|
+
local source dependency. Its executable uses the same CLI class as `exe/wardite`.
|
|
5
|
+
Keeping the application here avoids having spin automatically seed the compiler
|
|
6
|
+
with the RubyGem's `sig/` files or discover its test-unit tests as spin snapshots.
|
|
7
|
+
|
|
8
|
+
With spin `2026.10.25+1967` (`6e7fc1355`), run from this directory:
|
|
9
|
+
|
|
10
|
+
```sh
|
|
11
|
+
spin build wardite
|
|
12
|
+
./build/bin/wardite --no-wasi --invoke add ../test/add.wasm 100 200
|
|
13
|
+
# return value: I32(300)
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
No integer overflow flag is required: Wasm integer operations bound intermediate
|
|
17
|
+
values while Spinel's default overflow checks remain enabled. Inline RBS remains
|
|
18
|
+
enabled; Spinel warns about annotations it cannot represent and infers those
|
|
19
|
+
types instead.
|
|
20
|
+
|
|
21
|
+
`spin test` uses standalone programs or snapshots rather than test-unit. To run
|
|
22
|
+
the existing native regression tests against this binary, use the following
|
|
23
|
+
from the repository root after building:
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
WARDITE_SPINEL_BIN="$PWD/spinel/build/bin/wardite" bundle exec ruby -Ilib:test test/e2e/spinel_test.rb
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
The repository's `make spinel` and `make spinel-test` commands remain available
|
|
30
|
+
and use the same default integer overflow checks.
|
data/spinel/spin.toml
ADDED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wardite
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Uchio Kondo
|
|
@@ -17,9 +17,105 @@ executables:
|
|
|
17
17
|
extensions: []
|
|
18
18
|
extra_rdoc_files: []
|
|
19
19
|
files:
|
|
20
|
+
- LICENSE
|
|
21
|
+
- Makefile
|
|
20
22
|
- README.md
|
|
21
23
|
- Rakefile
|
|
22
24
|
- Steepfile
|
|
25
|
+
- benchmark/README.md
|
|
26
|
+
- benchmark/build_call_profile.rb
|
|
27
|
+
- benchmark/call_cost_worker.rb
|
|
28
|
+
- benchmark/compare.rb
|
|
29
|
+
- benchmark/compare_call_types.rb
|
|
30
|
+
- benchmark/compare_dispatch.rb
|
|
31
|
+
- benchmark/compare_engines.rb
|
|
32
|
+
- benchmark/compare_optimizations.rb
|
|
33
|
+
- benchmark/engine_phases.rb
|
|
34
|
+
- benchmark/figures/README.md
|
|
35
|
+
- benchmark/figures/plot_spinel_comparison.py
|
|
36
|
+
- benchmark/figures/spinel_new_vm_candlestick.png
|
|
37
|
+
- benchmark/figures/spinel_new_vm_candlestick.svg
|
|
38
|
+
- benchmark/figures/spinel_new_vm_summary.csv
|
|
39
|
+
- benchmark/figures/spinel_new_vm_summary.json
|
|
40
|
+
- benchmark/float_m5.wat
|
|
41
|
+
- benchmark/i32_call_arities.wat
|
|
42
|
+
- benchmark/i32_calls.wat
|
|
43
|
+
- benchmark/i32_memory.wat
|
|
44
|
+
- benchmark/i32_mix.wat
|
|
45
|
+
- benchmark/i64_m4.wat
|
|
46
|
+
- benchmark/investigate_calls.rb
|
|
47
|
+
- benchmark/investigate_generated_guards.rb
|
|
48
|
+
- benchmark/m3_call_worker.rb
|
|
49
|
+
- benchmark/measure_m1.rb
|
|
50
|
+
- benchmark/measure_m2.rb
|
|
51
|
+
- benchmark/measure_m3_calls.rb
|
|
52
|
+
- benchmark/measure_m4.rb
|
|
53
|
+
- benchmark/measure_m5_boundary.rb
|
|
54
|
+
- benchmark/measure_wasi_write.rb
|
|
55
|
+
- benchmark/optimization_worker.rb
|
|
56
|
+
- benchmark/results/call_arities_exploratory_2026-11-04.json
|
|
57
|
+
- benchmark/results/call_arities_spinel_2026-11-04.json
|
|
58
|
+
- benchmark/results/call_cost_spinel_2026-11-04.json
|
|
59
|
+
- benchmark/results/call_protocol_exploratory_2026-11-04.json
|
|
60
|
+
- benchmark/results/call_protocol_profile_2026-11-04.json
|
|
61
|
+
- benchmark/results/call_protocol_ruby_2026-11-04.json
|
|
62
|
+
- benchmark/results/call_protocol_spinel_2026-11-04.json
|
|
63
|
+
- benchmark/results/call_types_ruby_2026-11-04.json
|
|
64
|
+
- benchmark/results/call_types_spinel_2026-11-04.json
|
|
65
|
+
- benchmark/results/efflorescence-m1-cruby.json
|
|
66
|
+
- benchmark/results/efflorescence-m1-spinel.json
|
|
67
|
+
- benchmark/results/efflorescence-m2-bulk-loop.json
|
|
68
|
+
- benchmark/results/efflorescence-m2-i32-cruby.json
|
|
69
|
+
- benchmark/results/efflorescence-m2-i32-spinel.json
|
|
70
|
+
- benchmark/results/efflorescence-m2-memory.json
|
|
71
|
+
- benchmark/results/generated_guards_exploratory_2026-11-04.json
|
|
72
|
+
- benchmark/results/generated_guards_profile_2026-11-04.json
|
|
73
|
+
- benchmark/results/generated_guards_spinel_2026-11-04.json
|
|
74
|
+
- benchmark/results/generated_guards_validation_2026-11-04.json
|
|
75
|
+
- benchmark/results/inlining_engines_2026-11-04.json
|
|
76
|
+
- benchmark/results/inlining_ruby_2026-11-04.json
|
|
77
|
+
- benchmark/results/inlining_spinel_2026-11-04.json
|
|
78
|
+
- benchmark/results/operand_decode_exploratory_2026-11-04.json
|
|
79
|
+
- benchmark/results/operand_decode_ruby_2026-11-04.json
|
|
80
|
+
- benchmark/results/operand_decode_spinel_2026-11-04.json
|
|
81
|
+
- benchmark/results/selective_reset_spinel_2026-11-04.json
|
|
82
|
+
- benchmark/results/selective_reset_spinel_2026-11-04_exploratory.json
|
|
83
|
+
- benchmark/results/spinel_fetch_root_patch_2026-11-04.json
|
|
84
|
+
- benchmark/results/while_final_compiler_comparison_2026-11-04.json
|
|
85
|
+
- benchmark/results/while_patched_external_2026-11-04.json
|
|
86
|
+
- benchmark/results/while_user_unpatched_2026-11-04.json
|
|
87
|
+
- benchmark/summarize_call_profile.py
|
|
88
|
+
- benchmark/validate_m1_eh.rb
|
|
89
|
+
- benchmark/validate_m2.rb
|
|
90
|
+
- benchmark/validate_m3.rb
|
|
91
|
+
- benchmark/validate_m4.rb
|
|
92
|
+
- benchmark/validate_m5.rb
|
|
93
|
+
- docs/adr/0001-efflorescence-m1-control-and-eh.md
|
|
94
|
+
- docs/adr/0002-efflorescence-m2-memory-and-globals.md
|
|
95
|
+
- docs/adr/0003-efflorescence-m3-host-and-indirect-calls.md
|
|
96
|
+
- docs/adr/0004-efflorescence-m4-i64.md
|
|
97
|
+
- docs/adr/0005-efflorescence-m5-floating-point.md
|
|
98
|
+
- docs/adr/0006-efflorescence-m6-coverage-parity.md
|
|
99
|
+
- docs/efflorescence-call-arities.md
|
|
100
|
+
- docs/efflorescence-call-investigation.md
|
|
101
|
+
- docs/efflorescence-call-transfer.md
|
|
102
|
+
- docs/efflorescence-call-types.md
|
|
103
|
+
- docs/efflorescence-coverage-ja.md
|
|
104
|
+
- docs/efflorescence-generated-c-guards.md
|
|
105
|
+
- docs/efflorescence-inlining.md
|
|
106
|
+
- docs/efflorescence-ja.md
|
|
107
|
+
- docs/efflorescence-m1.md
|
|
108
|
+
- docs/efflorescence-m2.md
|
|
109
|
+
- docs/efflorescence-m3.md
|
|
110
|
+
- docs/efflorescence-m4.md
|
|
111
|
+
- docs/efflorescence-m5.md
|
|
112
|
+
- docs/efflorescence-m6.md
|
|
113
|
+
- docs/efflorescence-operand-decoding.md
|
|
114
|
+
- docs/efflorescence-phase2-ja.md
|
|
115
|
+
- docs/efflorescence-phase2.md
|
|
116
|
+
- docs/efflorescence-register-initialization.md
|
|
117
|
+
- docs/efflorescence.md
|
|
118
|
+
- docs/spinel-string-aset-inplace-proposal.md
|
|
23
119
|
- examples/.gitignore
|
|
24
120
|
- examples/add.wat
|
|
25
121
|
- examples/break.wat
|
|
@@ -53,7 +149,19 @@ files:
|
|
|
53
149
|
- lib/wardite/cli/cli.rb
|
|
54
150
|
- lib/wardite/const.rb
|
|
55
151
|
- lib/wardite/convert.generated.rb
|
|
152
|
+
- lib/wardite/efflorescence.rb
|
|
153
|
+
- lib/wardite/efflorescence/float_arithmetic.rb
|
|
154
|
+
- lib/wardite/efflorescence/i64_arithmetic.rb
|
|
155
|
+
- lib/wardite/efflorescence/inspection.rb
|
|
156
|
+
- lib/wardite/efflorescence/ir.rb
|
|
157
|
+
- lib/wardite/efflorescence/optimizer.rb
|
|
158
|
+
- lib/wardite/efflorescence/register_validation.rb
|
|
159
|
+
- lib/wardite/efflorescence/store_access.rb
|
|
160
|
+
- lib/wardite/efflorescence/translator.rb
|
|
161
|
+
- lib/wardite/efflorescence/vm.rb
|
|
162
|
+
- lib/wardite/efflorescence/wasi.rb
|
|
56
163
|
- lib/wardite/errors.rb
|
|
164
|
+
- lib/wardite/float_bits.rb
|
|
57
165
|
- lib/wardite/instruction.rb
|
|
58
166
|
- lib/wardite/leb128.rb
|
|
59
167
|
- lib/wardite/load.rb
|
|
@@ -89,7 +197,18 @@ files:
|
|
|
89
197
|
- sig/generated/wardite/cli/cli.rbs
|
|
90
198
|
- sig/generated/wardite/const.rbs
|
|
91
199
|
- sig/generated/wardite/convert.generated.rbs
|
|
200
|
+
- sig/generated/wardite/efflorescence/float_arithmetic.rbs
|
|
201
|
+
- sig/generated/wardite/efflorescence/i64_arithmetic.rbs
|
|
202
|
+
- sig/generated/wardite/efflorescence/inspection.rbs
|
|
203
|
+
- sig/generated/wardite/efflorescence/ir.rbs
|
|
204
|
+
- sig/generated/wardite/efflorescence/optimizer.rbs
|
|
205
|
+
- sig/generated/wardite/efflorescence/register_validation.rbs
|
|
206
|
+
- sig/generated/wardite/efflorescence/store_access.rbs
|
|
207
|
+
- sig/generated/wardite/efflorescence/translator.rbs
|
|
208
|
+
- sig/generated/wardite/efflorescence/vm.rbs
|
|
209
|
+
- sig/generated/wardite/efflorescence/wasi.rbs
|
|
92
210
|
- sig/generated/wardite/errors.rbs
|
|
211
|
+
- sig/generated/wardite/float_bits.rbs
|
|
93
212
|
- sig/generated/wardite/instruction.rbs
|
|
94
213
|
- sig/generated/wardite/leb128.rbs
|
|
95
214
|
- sig/generated/wardite/load.rbs
|
|
@@ -103,8 +222,12 @@ files:
|
|
|
103
222
|
- sig/generated/wardite/wasm_module.rbs
|
|
104
223
|
- sig/vernier.rbs
|
|
105
224
|
- sig/wardite.rbs
|
|
225
|
+
- spinel/README.md
|
|
226
|
+
- spinel/bin/wardite.rb
|
|
227
|
+
- spinel/spin.toml
|
|
106
228
|
homepage: https://github.com/udzura/wardite
|
|
107
|
-
licenses:
|
|
229
|
+
licenses:
|
|
230
|
+
- Apache-2.0
|
|
108
231
|
metadata:
|
|
109
232
|
homepage_uri: https://github.com/udzura/wardite
|
|
110
233
|
source_code_uri: https://github.com/udzura/wardite
|
|
@@ -122,7 +245,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
122
245
|
- !ruby/object:Gem::Version
|
|
123
246
|
version: '0'
|
|
124
247
|
requirements: []
|
|
125
|
-
rubygems_version:
|
|
248
|
+
rubygems_version: 4.0.23
|
|
126
249
|
specification_version: 4
|
|
127
250
|
summary: A pure-ruby webassembly runtime
|
|
128
251
|
test_files: []
|