@@ -68,23 +68,23 @@ _Static_assert(
6868
6969// Verify offsets in jit_x86_64.erl
7070#if JIT_ARCH_TARGET == JIT_ARCH_X86_64 || JIT_ARCH_TARGET == JIT_ARCH_AARCH64
71- _Static_assert (offsetof(Context , e ) == 0x28 , "ctx->e is 0x28 in jit/src/jit_{aarch64,x86_64}.erl" );
72- _Static_assert (offsetof(Context , x ) == 0x30 , "ctx->x is 0x30 in jit/src/jit_{aarch64,x86_64}.erl" );
73- _Static_assert (offsetof(Context , cp ) == 0xB8 , "ctx->cp is 0xB8 in jit/src/jit_{aarch64,x86_64}.erl" );
74- _Static_assert (offsetof(Context , fr ) == 0xC0 , "ctx->fr is 0xC0 in jit/src/jit_{aarch64,x86_64}.erl" );
75- _Static_assert (offsetof(Context , bs ) == 0xC8 , "ctx->bs is 0xC8 in jit/src/jit_{aarch64,x86_64}.erl" );
76- _Static_assert (offsetof(Context , bs_offset ) == 0xD0 , "ctx->bs_offset is 0xD0 in jit/src/jit_{aarch64,x86_64}.erl" );
71+ _Static_assert (offsetof(Context , e ) == 0x50 , "ctx->e is 0x50 in jit/src/jit_{aarch64,x86_64}.erl" );
72+ _Static_assert (offsetof(Context , x ) == 0x58 , "ctx->x is 0x58 in jit/src/jit_{aarch64,x86_64}.erl" );
73+ _Static_assert (offsetof(Context , cp ) == 0xE0 , "ctx->cp is 0xE0 in jit/src/jit_{aarch64,x86_64}.erl" );
74+ _Static_assert (offsetof(Context , fr ) == 0xE8 , "ctx->fr is 0xE8 in jit/src/jit_{aarch64,x86_64}.erl" );
75+ _Static_assert (offsetof(Context , bs ) == 0xF0 , "ctx->bs is 0xF0 in jit/src/jit_{aarch64,x86_64}.erl" );
76+ _Static_assert (offsetof(Context , bs_offset ) == 0xF8 , "ctx->bs_offset is 0xF8 in jit/src/jit_{aarch64,x86_64}.erl" );
7777
7878_Static_assert (offsetof(JITState , module ) == 0x0 , "jit_state->module is 0x0 in jit/src/jit_{aarch64,x86_64}.erl" );
7979_Static_assert (offsetof(JITState , continuation ) == 0x8 , "jit_state->continuation is 0x8 in jit/src/jit_{aarch64,x86_64}.erl" );
8080_Static_assert (offsetof(JITState , remaining_reductions ) == 0x10 , "jit_state->remaining_reductions is 0x10 in jit/src/jit_{aarch64,x86_64}.erl" );
8181#elif JIT_ARCH_TARGET == JIT_ARCH_ARMV6M
82- _Static_assert (offsetof(Context , e ) == 0x14 , "ctx->e is 0x14 in jit/src/jit_armv6m.erl" );
83- _Static_assert (offsetof(Context , x ) == 0x18 , "ctx->x is 0x18 in jit/src/jit_armv6m.erl" );
84- _Static_assert (offsetof(Context , cp ) == 0x5C , "ctx->cp is 0x5C in jit/src/jit_armv6m.erl" );
85- _Static_assert (offsetof(Context , fr ) == 0x60 , "ctx->fr is 0x60 in jit/src/jit_armv6m.erl" );
86- _Static_assert (offsetof(Context , bs ) == 0x64 , "ctx->bs is 0x64 in jit/src/jit_armv6m.erl" );
87- _Static_assert (offsetof(Context , bs_offset ) == 0x68 , "ctx->bs_offset is 0x68 in jit/src/jit_armv6m.erl" );
82+ _Static_assert (offsetof(Context , e ) == 0x28 , "ctx->e is 0x28 in jit/src/jit_armv6m.erl" );
83+ _Static_assert (offsetof(Context , x ) == 0x2C , "ctx->x is 0x2C in jit/src/jit_armv6m.erl" );
84+ _Static_assert (offsetof(Context , cp ) == 0x70 , "ctx->cp is 0x70 in jit/src/jit_armv6m.erl" );
85+ _Static_assert (offsetof(Context , fr ) == 0x74 , "ctx->fr is 0x74 in jit/src/jit_armv6m.erl" );
86+ _Static_assert (offsetof(Context , bs ) == 0x78 , "ctx->bs is 0x78 in jit/src/jit_armv6m.erl" );
87+ _Static_assert (offsetof(Context , bs_offset ) == 0x7C , "ctx->bs_offset is 0x7C in jit/src/jit_armv6m.erl" );
8888
8989_Static_assert (offsetof(JITState , module ) == 0x0 , "jit_state->module is 0x0 in jit/src/jit_armv6m.erl" );
9090_Static_assert (offsetof(JITState , continuation ) == 0x4 , "jit_state->continuation is 0x4 in jit/src/jit_armv6m.erl" );
@@ -93,12 +93,12 @@ _Static_assert(offsetof(JITState, remaining_reductions) == 0x8, "jit_state->rema
9393_Static_assert (sizeof (size_t ) == 4 , "size_t is expected to be 32 bits" );
9494
9595#elif JIT_ARCH_TARGET == JIT_ARCH_RISCV32
96- _Static_assert (offsetof(Context , e ) == 0x14 , "ctx->e is 0x14 in jit/src/jit_riscv32.erl" );
97- _Static_assert (offsetof(Context , x ) == 0x18 , "ctx->x is 0x18 in jit/src/jit_riscv32.erl" );
98- _Static_assert (offsetof(Context , cp ) == 0x5C , "ctx->cp is 0x5C in jit/src/jit_riscv32.erl" );
99- _Static_assert (offsetof(Context , fr ) == 0x60 , "ctx->fr is 0x60 in jit/src/jit_riscv32.erl" );
100- _Static_assert (offsetof(Context , bs ) == 0x64 , "ctx->bs is 0x64 in jit/src/jit_riscv32.erl" );
101- _Static_assert (offsetof(Context , bs_offset ) == 0x68 , "ctx->bs_offset is 0x68 in jit/src/jit_riscv32.erl" );
96+ _Static_assert (offsetof(Context , e ) == 0x28 , "ctx->e is 0x28 in jit/src/jit_riscv32.erl" );
97+ _Static_assert (offsetof(Context , x ) == 0x2C , "ctx->x is 0x2C in jit/src/jit_riscv32.erl" );
98+ _Static_assert (offsetof(Context , cp ) == 0x70 , "ctx->cp is 0x70 in jit/src/jit_riscv32.erl" );
99+ _Static_assert (offsetof(Context , fr ) == 0x74 , "ctx->fr is 0x74 in jit/src/jit_riscv32.erl" );
100+ _Static_assert (offsetof(Context , bs ) == 0x78 , "ctx->bs is 0x78 in jit/src/jit_riscv32.erl" );
101+ _Static_assert (offsetof(Context , bs_offset ) == 0x7C , "ctx->bs_offset is 0x7C in jit/src/jit_riscv32.erl" );
102102
103103_Static_assert (offsetof(JITState , module ) == 0x0 , "jit_state->module is 0x0 in jit/src/jit_riscv32.erl" );
104104_Static_assert (offsetof(JITState , continuation ) == 0x4 , "jit_state->continuation is 0x4 in jit/src/jit_riscv32.erl" );
0 commit comments