Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
5705f06
chore: add xjb-as to util
JairusSW Jun 9, 2026
c778be9
chore: add liceses to NOTICE
JairusSW Jun 9, 2026
1fdc61d
chore: update changed tests
JairusSW Jun 9, 2026
09c3ef8
chore: simplify and use smaller tables
JairusSW Jun 16, 2026
7cd14a4
chore: use table from number instead
JairusSW Jun 16, 2026
e0646ff
chore: update notice
JairusSW Jun 16, 2026
650a7c3
chore: clean up
JairusSW Jun 16, 2026
759c01f
chore: clean up
JairusSW Jun 16, 2026
fa93c15
chore: rename to dtoa.ts and remove XJB_SIMD toggle
JairusSW Jun 17, 2026
d41ce13
Update std/assembly/util/dtoa.ts
JairusSW Jun 17, 2026
4aa4210
Update std/assembly/util/dtoa.ts
JairusSW Jun 17, 2026
48f3ee5
Update std/assembly/util/dtoa.ts
JairusSW Jun 17, 2026
5dd492b
Update std/assembly/util/dtoa.ts
JairusSW Jun 17, 2026
b1bcc18
Update std/assembly/util/dtoa.ts
JairusSW Jun 17, 2026
4bdb432
chore: update import and update test outputs
JairusSW Jun 17, 2026
76c4b11
Update std/assembly/util/dtoa.ts
JairusSW Jun 17, 2026
b9cf897
Update std/assembly/util/dtoa.ts
JairusSW Jun 17, 2026
87c12f1
Update std/assembly/util/dtoa.ts
JairusSW Jun 17, 2026
c97a0e9
Update std/assembly/util/dtoa.ts
JairusSW Jun 17, 2026
9721226
chore: add lazy decorators where needed, update styling, etc
JairusSW Jun 17, 2026
2dfdb0f
use let
MaxGraey Jun 18, 2026
f322f2d
Apply suggestion from @MaxGraey
MaxGraey Jun 18, 2026
422a611
chore: add some comments for more esoteric literals
JairusSW Jun 18, 2026
e7b2dd8
Merge branch 'jairus/switch-to-xjb' of github.com:JairusSW/assemblysc…
JairusSW Jun 18, 2026
795b262
chore: use named constants instead of esoteric literals
JairusSW Jun 18, 2026
209ed02
chore: dedupe constants
JairusSW Jun 18, 2026
fe03f90
chore: standardize naming convention
JairusSW Jun 18, 2026
29ac707
core: more styling stuff
JairusSW Jun 18, 2026
d5b0607
chore: remove dbl ternary
JairusSW Jun 18, 2026
8044b88
reformat
MaxGraey Jun 18, 2026
43dbf58
chore: use more descriptive names
JairusSW Jun 24, 2026
c5c6e07
Merge branch 'jairus/switch-to-xjb' of github.com:JairusSW/assemblysc…
JairusSW Jun 24, 2026
d93842f
fix: correct dtoa digit counts and shortest formatting
JairusSW Sep 21, 2026
644040a
Merge origin/main into jairus/switch-to-xjb
JairusSW Sep 21, 2026
a28f957
fix: finalize float formatting and review cleanup
JairusSW Sep 21, 2026
c13739d
Avoid emitting unused dtoa globals in debug output
JairusSW Sep 21, 2026
42ff464
Optimize float formatting fast paths and validate scalar/SIMD output
JairusSW Sep 21, 2026
859401d
Cover f32 exact-integer fast-path boundary
JairusSW Sep 21, 2026
cf6bad1
Optimize SIMD digit packing and normalized f64 formatting
JairusSW Sep 21, 2026
f516ed4
Use SIMD digit packing for long integer formatting
JairusSW Sep 21, 2026
c9f8b9c
Use full dtoa power cache in speed builds
JairusSW Sep 21, 2026
fdbc7ed
Speed up subnormal f32 digit scaling
JairusSW Sep 21, 2026
1079de4
Use compact power cache in all builds
JairusSW Sep 21, 2026
ed4390a
Reuse float power cache for common doubles
JairusSW Sep 21, 2026
055a82d
Share minor powers with float cache
JairusSW Sep 21, 2026
f39d7b7
Use one shared power table in every build
JairusSW Sep 21, 2026
dcab81e
Trim shared power table to common f64 range
JairusSW Sep 21, 2026
881a8ec
Use compact power cache outside common exponents
JairusSW Sep 21, 2026
84f5f2f
Test exact dtoa output and compact powers
JairusSW Sep 21, 2026
660bd25
Speed up exact-integer string formatting
JairusSW Sep 21, 2026
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
Prev Previous commit
Next Next commit
Avoid emitting unused dtoa globals in debug output
  • Loading branch information
JairusSW committed Sep 21, 2026
commit c13739d57b56743d4f423f825d3898342c2ba5ed
30 changes: 15 additions & 15 deletions std/assembly/util/dtoa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,34 @@ import { DIGITS, MAX_DOUBLE_LENGTH } from "./number";

// Fixed-point log significands shared by the dec-exp / binary-exp estimates below.
@lazy @inline const LOG10_2_SIGNIFICAND = 0x4D105; // ~(log10(2) * 2**20)
const LOG10_2_EXP = 20;
@lazy const LOG10_2_EXP = 20;
@lazy @inline const LOG2_POW10_SIGNIFICAND = 0x3526B; // ~(log2(10) * 2**16)
const LOG2_POW10_EXP = 16;
@lazy const LOG2_POW10_EXP = 16;

@lazy @inline const DIV10_EXP = 10;
const DIV10_SIG: u64 = (1 << DIV10_EXP) / 10 + 1;
@lazy const DIV10_SIG: u64 = (1 << DIV10_EXP) / 10 + 1;
@lazy @inline const NEG10: u64 = (1 << 8) - 10;

@lazy @inline const DIV100_EXP = 19;
const DIV100_SIG: u64 = (1 << DIV100_EXP) / 100 + 1;
@lazy const DIV100_SIG: u64 = (1 << DIV100_EXP) / 100 + 1;
@lazy @inline const NEG100: u64 = (1 << 16) - 100;

@lazy @inline const DIV10K_EXP = 40;
const DIV10K_SIG: u64 = ((<u64>1) << DIV10K_EXP) / 10000 + 1;
@lazy const DIV10K_SIG: u64 = ((<u64>1) << DIV10K_EXP) / 10000 + 1;
@lazy @inline const NEG10K: u64 = ((<u64>1) << 32) - 10000;

@lazy @inline export const BCD_ZEROS: u64 = 0x3030303030303030;

@lazy @inline export const DOUBLE_EXP_OFFSET = 1075; // exp_bias(1023) + num_sig_bits(52)
export const DOUBLE_SIGNIFICAND_SIZE = 52; // explicit mantissa bits
@lazy export const DOUBLE_SIGNIFICAND_SIZE = 52; // explicit mantissa bits
@lazy @inline export const DOUBLE_HIDDEN_BIT: u64 = (<u64>1) << DOUBLE_SIGNIFICAND_SIZE; // implicit leading 1
export const DOUBLE_SIGNIFICAND_MASK: u64 = DOUBLE_HIDDEN_BIT - 1;
@lazy export const DOUBLE_SIGNIFICAND_MASK: u64 = DOUBLE_HIDDEN_BIT - 1;
@lazy @inline export const EXTRA_SHIFT = 6;
export const BIASED_HALF: u64 = ((<u64>1) << 63) + 6;
@lazy export const BIASED_HALF: u64 = ((<u64>1) << 63) + 6;
@lazy @inline export const DOUBLE_MAX_DIGITS10 = 17;
// Fixed notation when decExp (= decimal-point position - 1) is in [-6, 20].
@lazy @inline export const MIN_FIXED_DEC_EXP = -6;
export const MAX_FIXED_DEC_EXP = 20;
@lazy export const MAX_FIXED_DEC_EXP = 20;

// Compact pow10 (Dougall Johnson's method, ported from vitaut/zmij)
// 10**i = top-128-bits(major[(i+10)/28] * minor[(i+10)%28]) minus a per-power round-down bit.
Expand Down Expand Up @@ -102,9 +102,9 @@ export const MAX_FIXED_DEC_EXP = 20;
]);

@lazy @inline const FLOAT_EXP_OFFSET = 150; // exp_bias(127) + num_sig_bits(23)
const FLOAT_SIGNIFICAND_SIZE = 23; // explicit mantissa bits
@lazy const FLOAT_SIGNIFICAND_SIZE = 23; // explicit mantissa bits
@lazy @inline const FLOAT_HIDDEN_BIT: u64 = (<u64>1) << FLOAT_SIGNIFICAND_SIZE; // implicit leading 1
const FLOAT_SIGNIFICAND_MASK: u32 = (<u32>1 << FLOAT_SIGNIFICAND_SIZE) - 1;
@lazy const FLOAT_SIGNIFICAND_MASK: u32 = (<u32>1 << FLOAT_SIGNIFICAND_SIZE) - 1;
@lazy @inline const FLOAT_BIT = 36; // xjb's fixed-point split for the f32 core
// xjb's c1, ASCII offset stripped so the `one` digit comes out numeric.
@lazy @inline const FLOAT_ONE_BIAS: u64 = ((<u64>1) << (FLOAT_BIT - 2)) - 7;
Expand All @@ -116,13 +116,13 @@ const FLOAT_SIGNIFICAND_MASK: u32 = (<u32>1 << FLOAT_SIGNIFICAND_SIZE) - 1;

// Shared results where the caller needs more than one return value.
@lazy export let gPow10Hi: u64 = 0;
let gBcdValue: u64 = 0;
@lazy let gBcdValue: u64 = 0;
@lazy export let gDigHi: u64 = 0;
export let gDigLo: u64 = 0;
@lazy export let gDigLo: u64 = 0;
@lazy export let gDigits: i32 = 0;
export let gSig: i64 = 0;
@lazy export let gSig: i64 = 0;
@lazy export let gExp: i32 = 0;
export let gLastDigit: i32 = 0;
@lazy export let gLastDigit: i32 = 0;
@lazy export let gHasLastDigit: bool = false;

// High 64 bits of the 128-bit product x * y. Matches umul128.
Expand Down
15 changes: 0 additions & 15 deletions tests/compiler/NonNullable.debug.wat
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,6 @@
(type $4 (func (param i32 i32 i32 i32 i32) (result i32)))
(type $5 (func (param i32 i32 i32 i32)))
(import "env" "abort" (func $~lib/builtins/abort (param i32 i32 i32 i32)))
(global $~lib/util/dtoa/LOG10_2_EXP i32 (i32.const 20))
(global $~lib/util/dtoa/LOG2_POW10_EXP i32 (i32.const 16))
(global $~lib/util/dtoa/DIV10_SIG i64 (i64.const 103))
(global $~lib/util/dtoa/DIV100_SIG i64 (i64.const 5243))
(global $~lib/util/dtoa/DIV10K_SIG i64 (i64.const 109951163))
(global $~lib/util/dtoa/DOUBLE_SIGNIFICAND_SIZE i32 (i32.const 52))
(global $~lib/util/dtoa/DOUBLE_SIGNIFICAND_MASK i64 (i64.const 4503599627370495))
(global $~lib/util/dtoa/BIASED_HALF i64 (i64.const -9223372036854775802))
(global $~lib/util/dtoa/MAX_FIXED_DEC_EXP i32 (i32.const 20))
(global $~lib/util/dtoa/FLOAT_SIGNIFICAND_SIZE i32 (i32.const 23))
(global $~lib/util/dtoa/FLOAT_SIGNIFICAND_MASK i32 (i32.const 8388607))
(global $~lib/util/dtoa/gBcdValue (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gDigLo (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gSig (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gLastDigit (mut i32) (i32.const 0))
(global $~lib/shared/runtime/Runtime.Stub i32 (i32.const 0))
(global $~lib/shared/runtime/Runtime.Minimal i32 (i32.const 1))
(global $~lib/shared/runtime/Runtime.Incremental i32 (i32.const 2))
Expand Down
15 changes: 0 additions & 15 deletions tests/compiler/assert-nonnull.debug.wat
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,6 @@
(global $~lib/shared/runtime/Runtime.Stub i32 (i32.const 0))
(global $~lib/shared/runtime/Runtime.Minimal i32 (i32.const 1))
(global $~lib/shared/runtime/Runtime.Incremental i32 (i32.const 2))
(global $~lib/util/dtoa/LOG10_2_EXP i32 (i32.const 20))
(global $~lib/util/dtoa/LOG2_POW10_EXP i32 (i32.const 16))
(global $~lib/util/dtoa/DIV10_SIG i64 (i64.const 103))
(global $~lib/util/dtoa/DIV100_SIG i64 (i64.const 5243))
(global $~lib/util/dtoa/DIV10K_SIG i64 (i64.const 109951163))
(global $~lib/util/dtoa/DOUBLE_SIGNIFICAND_SIZE i32 (i32.const 52))
(global $~lib/util/dtoa/DOUBLE_SIGNIFICAND_MASK i64 (i64.const 4503599627370495))
(global $~lib/util/dtoa/BIASED_HALF i64 (i64.const -9223372036854775802))
(global $~lib/util/dtoa/MAX_FIXED_DEC_EXP i32 (i32.const 20))
(global $~lib/util/dtoa/FLOAT_SIGNIFICAND_SIZE i32 (i32.const 23))
(global $~lib/util/dtoa/FLOAT_SIGNIFICAND_MASK i32 (i32.const 8388607))
(global $~lib/util/dtoa/gBcdValue (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gDigLo (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gSig (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gLastDigit (mut i32) (i32.const 0))
(global $~argumentsLength (mut i32) (i32.const 0))
(global $~lib/memory/__data_end i32 (i32.const 444))
(global $~lib/memory/__stack_pointer (mut i32) (i32.const 33212))
Expand Down
15 changes: 0 additions & 15 deletions tests/compiler/assignment-chain.debug.wat
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,6 @@
(global $~lib/shared/runtime/Runtime.Stub i32 (i32.const 0))
(global $~lib/shared/runtime/Runtime.Minimal i32 (i32.const 1))
(global $~lib/shared/runtime/Runtime.Incremental i32 (i32.const 2))
(global $~lib/util/dtoa/LOG10_2_EXP i32 (i32.const 20))
(global $~lib/util/dtoa/LOG2_POW10_EXP i32 (i32.const 16))
(global $~lib/util/dtoa/DIV10_SIG i64 (i64.const 103))
(global $~lib/util/dtoa/DIV100_SIG i64 (i64.const 5243))
(global $~lib/util/dtoa/DIV10K_SIG i64 (i64.const 109951163))
(global $~lib/util/dtoa/DOUBLE_SIGNIFICAND_SIZE i32 (i32.const 52))
(global $~lib/util/dtoa/DOUBLE_SIGNIFICAND_MASK i64 (i64.const 4503599627370495))
(global $~lib/util/dtoa/BIASED_HALF i64 (i64.const -9223372036854775802))
(global $~lib/util/dtoa/MAX_FIXED_DEC_EXP i32 (i32.const 20))
(global $~lib/util/dtoa/FLOAT_SIGNIFICAND_SIZE i32 (i32.const 23))
(global $~lib/util/dtoa/FLOAT_SIGNIFICAND_MASK i32 (i32.const 8388607))
(global $~lib/util/dtoa/gBcdValue (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gDigLo (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gSig (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gLastDigit (mut i32) (i32.const 0))
(global $~lib/rt/itcms/fromSpace (mut i32) (i32.const 0))
(global $~lib/rt/tlsf/ROOT (mut i32) (i32.const 0))
(global $~lib/native/ASC_LOW_MEMORY_LIMIT i32 (i32.const 0))
Expand Down
15 changes: 0 additions & 15 deletions tests/compiler/binary.debug.wat
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,6 @@
(type $3 (func (param i32 i32) (result i32)))
(global $binary/b (mut i32) (i32.const 0))
(global $binary/i (mut i32) (i32.const 0))
(global $~lib/util/dtoa/LOG10_2_EXP i32 (i32.const 20))
(global $~lib/util/dtoa/LOG2_POW10_EXP i32 (i32.const 16))
(global $~lib/util/dtoa/DIV10_SIG i64 (i64.const 103))
(global $~lib/util/dtoa/DIV100_SIG i64 (i64.const 5243))
(global $~lib/util/dtoa/DIV10K_SIG i64 (i64.const 109951163))
(global $~lib/util/dtoa/DOUBLE_SIGNIFICAND_SIZE i32 (i32.const 52))
(global $~lib/util/dtoa/DOUBLE_SIGNIFICAND_MASK i64 (i64.const 4503599627370495))
(global $~lib/util/dtoa/BIASED_HALF i64 (i64.const -9223372036854775802))
(global $~lib/util/dtoa/MAX_FIXED_DEC_EXP i32 (i32.const 20))
(global $~lib/util/dtoa/FLOAT_SIGNIFICAND_SIZE i32 (i32.const 23))
(global $~lib/util/dtoa/FLOAT_SIGNIFICAND_MASK i32 (i32.const 8388607))
(global $~lib/util/dtoa/gBcdValue (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gDigLo (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gSig (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gLastDigit (mut i32) (i32.const 0))
(global $~lib/native/ASC_SHRINK_LEVEL i32 (i32.const 0))
(global $binary/I (mut i64) (i64.const 0))
(global $~lib/util/math/log_tail (mut f64) (f64.const 0))
Expand Down
15 changes: 0 additions & 15 deletions tests/compiler/bindings/esm.debug.wat
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,6 @@
(global $~lib/shared/runtime/Runtime.Stub i32 (i32.const 0))
(global $~lib/shared/runtime/Runtime.Minimal i32 (i32.const 1))
(global $~lib/shared/runtime/Runtime.Incremental i32 (i32.const 2))
(global $~lib/util/dtoa/LOG10_2_EXP i32 (i32.const 20))
(global $~lib/util/dtoa/LOG2_POW10_EXP i32 (i32.const 16))
(global $~lib/util/dtoa/DIV10_SIG i64 (i64.const 103))
(global $~lib/util/dtoa/DIV100_SIG i64 (i64.const 5243))
(global $~lib/util/dtoa/DIV10K_SIG i64 (i64.const 109951163))
(global $~lib/util/dtoa/DOUBLE_SIGNIFICAND_SIZE i32 (i32.const 52))
(global $~lib/util/dtoa/DOUBLE_SIGNIFICAND_MASK i64 (i64.const 4503599627370495))
(global $~lib/util/dtoa/BIASED_HALF i64 (i64.const -9223372036854775802))
(global $~lib/util/dtoa/MAX_FIXED_DEC_EXP i32 (i32.const 20))
(global $~lib/util/dtoa/FLOAT_SIGNIFICAND_SIZE i32 (i32.const 23))
(global $~lib/util/dtoa/FLOAT_SIGNIFICAND_MASK i32 (i32.const 8388607))
(global $~lib/util/dtoa/gBcdValue (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gDigLo (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gSig (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gLastDigit (mut i32) (i32.const 0))
(global $~lib/rt/itcms/total (mut i32) (i32.const 0))
(global $~lib/rt/itcms/threshold (mut i32) (i32.const 0))
(global $~lib/rt/itcms/state (mut i32) (i32.const 0))
Expand Down
15 changes: 0 additions & 15 deletions tests/compiler/bindings/noExportRuntime.debug.wat
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,6 @@
(global $~lib/shared/runtime/Runtime.Stub i32 (i32.const 0))
(global $~lib/shared/runtime/Runtime.Minimal i32 (i32.const 1))
(global $~lib/shared/runtime/Runtime.Incremental i32 (i32.const 2))
(global $~lib/util/dtoa/LOG10_2_EXP i32 (i32.const 20))
(global $~lib/util/dtoa/LOG2_POW10_EXP i32 (i32.const 16))
(global $~lib/util/dtoa/DIV10_SIG i64 (i64.const 103))
(global $~lib/util/dtoa/DIV100_SIG i64 (i64.const 5243))
(global $~lib/util/dtoa/DIV10K_SIG i64 (i64.const 109951163))
(global $~lib/util/dtoa/DOUBLE_SIGNIFICAND_SIZE i32 (i32.const 52))
(global $~lib/util/dtoa/DOUBLE_SIGNIFICAND_MASK i64 (i64.const 4503599627370495))
(global $~lib/util/dtoa/BIASED_HALF i64 (i64.const -9223372036854775802))
(global $~lib/util/dtoa/MAX_FIXED_DEC_EXP i32 (i32.const 20))
(global $~lib/util/dtoa/FLOAT_SIGNIFICAND_SIZE i32 (i32.const 23))
(global $~lib/util/dtoa/FLOAT_SIGNIFICAND_MASK i32 (i32.const 8388607))
(global $~lib/util/dtoa/gBcdValue (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gDigLo (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gSig (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gLastDigit (mut i32) (i32.const 0))
(global $~lib/rt/itcms/total (mut i32) (i32.const 0))
(global $~lib/rt/itcms/threshold (mut i32) (i32.const 0))
(global $~lib/rt/itcms/state (mut i32) (i32.const 0))
Expand Down
15 changes: 0 additions & 15 deletions tests/compiler/bindings/raw.debug.wat
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,6 @@
(global $~lib/shared/runtime/Runtime.Stub i32 (i32.const 0))
(global $~lib/shared/runtime/Runtime.Minimal i32 (i32.const 1))
(global $~lib/shared/runtime/Runtime.Incremental i32 (i32.const 2))
(global $~lib/util/dtoa/LOG10_2_EXP i32 (i32.const 20))
(global $~lib/util/dtoa/LOG2_POW10_EXP i32 (i32.const 16))
(global $~lib/util/dtoa/DIV10_SIG i64 (i64.const 103))
(global $~lib/util/dtoa/DIV100_SIG i64 (i64.const 5243))
(global $~lib/util/dtoa/DIV10K_SIG i64 (i64.const 109951163))
(global $~lib/util/dtoa/DOUBLE_SIGNIFICAND_SIZE i32 (i32.const 52))
(global $~lib/util/dtoa/DOUBLE_SIGNIFICAND_MASK i64 (i64.const 4503599627370495))
(global $~lib/util/dtoa/BIASED_HALF i64 (i64.const -9223372036854775802))
(global $~lib/util/dtoa/MAX_FIXED_DEC_EXP i32 (i32.const 20))
(global $~lib/util/dtoa/FLOAT_SIGNIFICAND_SIZE i32 (i32.const 23))
(global $~lib/util/dtoa/FLOAT_SIGNIFICAND_MASK i32 (i32.const 8388607))
(global $~lib/util/dtoa/gBcdValue (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gDigLo (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gSig (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gLastDigit (mut i32) (i32.const 0))
(global $~lib/rt/itcms/total (mut i32) (i32.const 0))
(global $~lib/rt/itcms/threshold (mut i32) (i32.const 0))
(global $~lib/rt/itcms/state (mut i32) (i32.const 0))
Expand Down
15 changes: 0 additions & 15 deletions tests/compiler/builtins.debug.wat
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,6 @@
(global $builtins/s (mut i32) (i32.const 0))
(global $builtins/fn (mut i32) (i32.const 144))
(global $~argumentsLength (mut i32) (i32.const 0))
(global $~lib/util/dtoa/LOG10_2_EXP i32 (i32.const 20))
(global $~lib/util/dtoa/LOG2_POW10_EXP i32 (i32.const 16))
(global $~lib/util/dtoa/DIV10_SIG i64 (i64.const 103))
(global $~lib/util/dtoa/DIV100_SIG i64 (i64.const 5243))
(global $~lib/util/dtoa/DIV10K_SIG i64 (i64.const 109951163))
(global $~lib/util/dtoa/DOUBLE_SIGNIFICAND_SIZE i32 (i32.const 52))
(global $~lib/util/dtoa/DOUBLE_SIGNIFICAND_MASK i64 (i64.const 4503599627370495))
(global $~lib/util/dtoa/BIASED_HALF i64 (i64.const -9223372036854775802))
(global $~lib/util/dtoa/MAX_FIXED_DEC_EXP i32 (i32.const 20))
(global $~lib/util/dtoa/FLOAT_SIGNIFICAND_SIZE i32 (i32.const 23))
(global $~lib/util/dtoa/FLOAT_SIGNIFICAND_MASK i32 (i32.const 8388607))
(global $~lib/util/dtoa/gBcdValue (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gDigLo (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gSig (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gLastDigit (mut i32) (i32.const 0))
(global $~lib/shared/runtime/Runtime.Stub i32 (i32.const 0))
(global $~lib/shared/runtime/Runtime.Minimal i32 (i32.const 1))
(global $~lib/shared/runtime/Runtime.Incremental i32 (i32.const 2))
Expand Down
15 changes: 0 additions & 15 deletions tests/compiler/call-inferred.debug.wat
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,6 @@
(global $~lib/shared/runtime/Runtime.Stub i32 (i32.const 0))
(global $~lib/shared/runtime/Runtime.Minimal i32 (i32.const 1))
(global $~lib/shared/runtime/Runtime.Incremental i32 (i32.const 2))
(global $~lib/util/dtoa/LOG10_2_EXP i32 (i32.const 20))
(global $~lib/util/dtoa/LOG2_POW10_EXP i32 (i32.const 16))
(global $~lib/util/dtoa/DIV10_SIG i64 (i64.const 103))
(global $~lib/util/dtoa/DIV100_SIG i64 (i64.const 5243))
(global $~lib/util/dtoa/DIV10K_SIG i64 (i64.const 109951163))
(global $~lib/util/dtoa/DOUBLE_SIGNIFICAND_SIZE i32 (i32.const 52))
(global $~lib/util/dtoa/DOUBLE_SIGNIFICAND_MASK i64 (i64.const 4503599627370495))
(global $~lib/util/dtoa/BIASED_HALF i64 (i64.const -9223372036854775802))
(global $~lib/util/dtoa/MAX_FIXED_DEC_EXP i32 (i32.const 20))
(global $~lib/util/dtoa/FLOAT_SIGNIFICAND_SIZE i32 (i32.const 23))
(global $~lib/util/dtoa/FLOAT_SIGNIFICAND_MASK i32 (i32.const 8388607))
(global $~lib/util/dtoa/gBcdValue (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gDigLo (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gSig (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gLastDigit (mut i32) (i32.const 0))
(global $~lib/rt/itcms/fromSpace (mut i32) (i32.const 0))
(global $~lib/rt/tlsf/ROOT (mut i32) (i32.const 0))
(global $~lib/native/ASC_LOW_MEMORY_LIMIT i32 (i32.const 0))
Expand Down
15 changes: 0 additions & 15 deletions tests/compiler/call-rest.debug.wat
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,6 @@
(global $~lib/shared/runtime/Runtime.Stub i32 (i32.const 0))
(global $~lib/shared/runtime/Runtime.Minimal i32 (i32.const 1))
(global $~lib/shared/runtime/Runtime.Incremental i32 (i32.const 2))
(global $~lib/util/dtoa/LOG10_2_EXP i32 (i32.const 20))
(global $~lib/util/dtoa/LOG2_POW10_EXP i32 (i32.const 16))
(global $~lib/util/dtoa/DIV10_SIG i64 (i64.const 103))
(global $~lib/util/dtoa/DIV100_SIG i64 (i64.const 5243))
(global $~lib/util/dtoa/DIV10K_SIG i64 (i64.const 109951163))
(global $~lib/util/dtoa/DOUBLE_SIGNIFICAND_SIZE i32 (i32.const 52))
(global $~lib/util/dtoa/DOUBLE_SIGNIFICAND_MASK i64 (i64.const 4503599627370495))
(global $~lib/util/dtoa/BIASED_HALF i64 (i64.const -9223372036854775802))
(global $~lib/util/dtoa/MAX_FIXED_DEC_EXP i32 (i32.const 20))
(global $~lib/util/dtoa/FLOAT_SIGNIFICAND_SIZE i32 (i32.const 23))
(global $~lib/util/dtoa/FLOAT_SIGNIFICAND_MASK i32 (i32.const 8388607))
(global $~lib/util/dtoa/gBcdValue (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gDigLo (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gSig (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gLastDigit (mut i32) (i32.const 0))
(global $~argumentsLength (mut i32) (i32.const 0))
(global $~lib/rt/itcms/total (mut i32) (i32.const 0))
(global $~lib/rt/itcms/threshold (mut i32) (i32.const 0))
Expand Down
15 changes: 0 additions & 15 deletions tests/compiler/call-super.debug.wat
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,6 @@
(global $~lib/shared/runtime/Runtime.Stub i32 (i32.const 0))
(global $~lib/shared/runtime/Runtime.Minimal i32 (i32.const 1))
(global $~lib/shared/runtime/Runtime.Incremental i32 (i32.const 2))
(global $~lib/util/dtoa/LOG10_2_EXP i32 (i32.const 20))
(global $~lib/util/dtoa/LOG2_POW10_EXP i32 (i32.const 16))
(global $~lib/util/dtoa/DIV10_SIG i64 (i64.const 103))
(global $~lib/util/dtoa/DIV100_SIG i64 (i64.const 5243))
(global $~lib/util/dtoa/DIV10K_SIG i64 (i64.const 109951163))
(global $~lib/util/dtoa/DOUBLE_SIGNIFICAND_SIZE i32 (i32.const 52))
(global $~lib/util/dtoa/DOUBLE_SIGNIFICAND_MASK i64 (i64.const 4503599627370495))
(global $~lib/util/dtoa/BIASED_HALF i64 (i64.const -9223372036854775802))
(global $~lib/util/dtoa/MAX_FIXED_DEC_EXP i32 (i32.const 20))
(global $~lib/util/dtoa/FLOAT_SIGNIFICAND_SIZE i32 (i32.const 23))
(global $~lib/util/dtoa/FLOAT_SIGNIFICAND_MASK i32 (i32.const 8388607))
(global $~lib/util/dtoa/gBcdValue (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gDigLo (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gSig (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gLastDigit (mut i32) (i32.const 0))
(global $~lib/rt/itcms/fromSpace (mut i32) (i32.const 0))
(global $~lib/rt/tlsf/ROOT (mut i32) (i32.const 0))
(global $~lib/native/ASC_LOW_MEMORY_LIMIT i32 (i32.const 0))
Expand Down
15 changes: 0 additions & 15 deletions tests/compiler/class-implements.debug.wat
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,6 @@
(global $~lib/shared/runtime/Runtime.Stub i32 (i32.const 0))
(global $~lib/shared/runtime/Runtime.Minimal i32 (i32.const 1))
(global $~lib/shared/runtime/Runtime.Incremental i32 (i32.const 2))
(global $~lib/util/dtoa/LOG10_2_EXP i32 (i32.const 20))
(global $~lib/util/dtoa/LOG2_POW10_EXP i32 (i32.const 16))
(global $~lib/util/dtoa/DIV10_SIG i64 (i64.const 103))
(global $~lib/util/dtoa/DIV100_SIG i64 (i64.const 5243))
(global $~lib/util/dtoa/DIV10K_SIG i64 (i64.const 109951163))
(global $~lib/util/dtoa/DOUBLE_SIGNIFICAND_SIZE i32 (i32.const 52))
(global $~lib/util/dtoa/DOUBLE_SIGNIFICAND_MASK i64 (i64.const 4503599627370495))
(global $~lib/util/dtoa/BIASED_HALF i64 (i64.const -9223372036854775802))
(global $~lib/util/dtoa/MAX_FIXED_DEC_EXP i32 (i32.const 20))
(global $~lib/util/dtoa/FLOAT_SIGNIFICAND_SIZE i32 (i32.const 23))
(global $~lib/util/dtoa/FLOAT_SIGNIFICAND_MASK i32 (i32.const 8388607))
(global $~lib/util/dtoa/gBcdValue (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gDigLo (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gSig (mut i64) (i64.const 0))
(global $~lib/util/dtoa/gLastDigit (mut i32) (i32.const 0))
(global $~lib/rt/itcms/fromSpace (mut i32) (i32.const 0))
(global $~lib/rt/tlsf/ROOT (mut i32) (i32.const 0))
(global $~lib/native/ASC_LOW_MEMORY_LIMIT i32 (i32.const 0))
Expand Down
Loading
Loading