From 4c2bcf0b191e0fe41595e913a7a78a5796f62d8e Mon Sep 17 00:00:00 2001 From: Drake Stapleton <213298340+drakestapleton@users.noreply.github.com> Date: Fri, 20 Nov 2026 16:39:30 -0600 Subject: [PATCH] Port OSC AArch64 register encoding and autodiff shape planning to Omega --- CONTRIBUTORS.md | 2 + docs/autodiff/M21_OMEGA_AUTODIFF.md | 3 +- om/compiler/osc_a64_fields.om | 181 +++++++++++++++++++++++++ om/units.sh | 4 +- src/autodiff/gradient_shape.om | 52 ++++++++ src/autodiff/omega_autodiff.c | 33 ++--- src/compiler/osc_a64.c | 196 ++++++++++------------------ src/omega_api_decl.h | 43 ++++++ src/omega_native.h | 14 +- src/omega_om_units.c | 172 +++++++++++++++++++++++- src/omega_om_units.ident | 3 +- tools/autodiff_mutations.sh | 28 +++- 12 files changed, 575 insertions(+), 156 deletions(-) create mode 100644 src/autodiff/gradient_shape.om diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 7afb66396..bc4c634cc 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -7,6 +7,8 @@ The current development method is [Human-Directed Agentic Engineering (HDAE)](RE | Model | What it did | |---|---| +| OpenAI Codex | Ported the OSC AArch64 fixed-opcode matcher, register encoding and typed-register decoding to seeded Omega. | +| OpenAI Codex | Ported M21 gradient unbroadcast reduction planning, reduced-axis restoration and shape matching to seeded Omega. | | OpenAI Codex | Ported OSC IR register dataflow, arena and pool discipline, structured contract validation, scoped symbol declarations, AArch64 move-wide constant selection, and CLI artifact entry serialization to seeded Omega. | | OpenAI Codex | Trained and tested the seeded Omega coding controller on Spark, including its learned second-example check and CPU behavior replay. | | OpenAI Codex | Brought the bundle corpus builder and compiler feedback harness from aien-train into Omega LLM with their original Git history. | diff --git a/docs/autodiff/M21_OMEGA_AUTODIFF.md b/docs/autodiff/M21_OMEGA_AUTODIFF.md index 79dc4383a..9f7485ffc 100644 --- a/docs/autodiff/M21_OMEGA_AUTODIFF.md +++ b/docs/autodiff/M21_OMEGA_AUTODIFF.md @@ -42,7 +42,8 @@ any edit of `src/tensor` or `src/train`. | File | Role | |---|---| | `src/autodiff/omega_autodiff.h` | The meaning: ops, ownership, determinism rules, per-op error contract | -| `src/autodiff/omega_autodiff.c` | The tape: recording, backward walk, unbroadcast, M22 flatten. No heap allocation | +| `src/autodiff/omega_autodiff.c` | Tape recording, reverse walk, tensor ownership and M22 flatten | +| `src/autodiff/gradient_shape.om` | Unbroadcast reduction order, shape equality and restoration of a reduced axis on the caller’s stack | | `tests/test_omega_autodiff.c` | Contract, bit-exact replay, finite-difference, determinism, error-path and leak checks | | `tools/autodiff_mutations.sh` | Source mutation sweep (12 mutants) | | `mk/autodiff.mk` | `make test-autodiff`, `make test-autodiff-mutations` (alias `autodiff-mutants`) | diff --git a/om/compiler/osc_a64_fields.om b/om/compiler/osc_a64_fields.om index ea40a71a0..e8f63cd07 100644 --- a/om/compiler/osc_a64_fields.om +++ b/om/compiler/osc_a64_fields.om @@ -22,7 +22,25 @@ note bridge c-define OSC_A64_ERR_WRITEBACK_ALIAS 16 note bridge c-define OSC_A64_ERR_LOAD_ALIAS 17 note bridge c-define OSC_A64_ERR_BRANCH_OFFSET 18 note bridge c-define OSC_A64_ERR_BRANCH_COND 19 +note bridge c-define OSC_A64_ERR_UNUSED_REG 32 +note bridge c-define OSC_A64_ERR_REG_SP 36 +note bridge c-define OSC_A64_ERR_REG_ZR 40 +note bridge c-define OSC_A64_ERR_BAD_REG 44 om2 +layout a64spec 24 +field base uint at 8 little +field form uchar at 12 little +field role uchar 4 at 13 little +field flags uchar at 17 little +end +layout a64insn 24 +field opcode uchar at 0 little +field reg uchar 4 at 1 little +field shift uchar at 5 little +field cond uchar at 6 little +field imm long at 8 little +field imm2 long at 16 little +end layout a64field 40 field rd uint at 0 little field rn uint at 4 little @@ -341,3 +359,166 @@ export fn osc_a64_materialize value ulong plan edit ulong 4 to ulong end ret count end + +note The descriptor table is indexed in public opcode order. Class masks +note select the variable bits excluded from the fixed opcode comparison. +fn a64_mask form ulong to ulong + if eq form CLS_RRR_SH + ret 0x00dfffff + end + if eq form CLS_RI + ret 0x007fffff + end + if eq form CLS_R4 + ret 0x001f7fff + end + if eq form CLS_MULH + ret 0x001f03ff + end + if eq form CLS_R3 + ret 0x001f03ff + end + if eq form CLS_BFM + ret 0x003fffff + end + if eq form CLS_CSINC + ret 0x001ff3ff + end + if eq form CLS_MOV16 + ret 0x007fffff + end + if eq form CLS_MEM + ret 0x003fffff + end + if eq form CLS_PAIR + ret 0x003fffff + end + if eq form CLS_B26 + ret 0x03ffffff + end + if eq form CLS_BCOND + ret 0x00ffffef + end + if eq form CLS_CB + ret 0x00ffffff + end + if eq form CLS_BREG + ret 0x000003e0 + end + if eq form CLS_BRK + ret 0x001fffe0 + end + ret 0 +end + +fn a64_encode_registers spec view a64spec insn view a64insn fields edit a64field to ulong + regs = new uint 4 0 + for i ulong 4 + if and eq get spec role i 0 ne get insn reg i 0 + ret shl add 32 i 32 + end + end + for i ulong 4 + role = get spec role i + regno = get insn reg i + if le regno 30 + put regs i uint regno + else + if eq regno 33 + if ne role 2 + ret shl add 36 i 32 + end + else + if eq regno 32 + if ne role 1 + ret shl add 40 i 32 + end + else + ret shl add 44 i 32 + end + end + put regs i 31 + end + end + put fields rd get regs 0 + put fields rn get regs 1 + put fields rm get regs 2 + put fields ra get regs 3 + put fields shift uint get insn shift + put fields cond uint get insn cond + put fields imm get insn imm + put fields imm2 get insn imm2 + ret osc_a64_checked_word ulong get spec form ulong get spec base fields ulong get spec flags +end + +export fn osc_a64_write spec view uchar 24 insn view uchar 24 to ulong + fields = new uchar 40 0 + ret a64_encode_registers spec insn fields +end + +fn a64_decode_register role uchar bits uint to uchar + if eq role 0 + ret 0 + end + if lt bits 31 + ret uchar bits + end + if eq role 1 + ret 32 + end + if eq role 2 + ret 33 + end + ret 255 +end + +fn a64_try_opcode word ulong op ulong spec view a64spec insn edit a64insn fields edit a64field to ulong + form = ulong get spec form + base = ulong get spec base + if eq osc_a64_canonical_word form base word ulong get spec flags fields 0 + ret 0 + end + put insn opcode uchar op + put insn reg 0 a64_decode_register get spec role 0 get fields rd + put insn reg 1 a64_decode_register get spec role 1 get fields rn + put insn reg 2 a64_decode_register get spec role 2 get fields rm + put insn reg 3 a64_decode_register get spec role 3 get fields ra + put insn shift uchar get fields shift + put insn cond uchar get fields cond + put insn imm get fields imm + put insn imm2 get fields imm2 + ret 1 +end + +fn a64_matches specs view uchar * pos ulong word ulong to bool + form = ulong get specs add pos 12 + base = ulong get specs add pos 8 + base = or base shl ulong get specs add pos 9 8 + base = or base shl ulong get specs add pos 10 16 + base = or base shl ulong get specs add pos 11 24 + ret and ne form 0 eq and word xor a64_mask form 0xffffffff base +end + +fn a64_copy_spec specs view uchar * pos ulong spec edit uchar 24 to void + for i ulong 10 + put spec add 8 i get specs add add pos 8 i + end +end + +export fn osc_a64_read word ulong specs view uchar * insn edit uchar 24 to ulong + fields = new uchar 40 0 + spec = new uchar 24 0 + n = div len specs 24 + op = ulong 1 + while lt op n bound 255 + pos = mul op 24 + if a64_matches specs pos word + a64_copy_spec specs pos spec + if ne a64_try_opcode word op spec insn fields 0 + ret 1 + end + end + op = add op 1 + end + ret 0 +end diff --git a/om/units.sh b/om/units.sh index 5ba77af28..d83b346d7 100755 --- a/om/units.sh +++ b/om/units.sh @@ -28,7 +28,7 @@ NATIVE_PIN=2c1bf63798336e899704217d98f909b31e567289650751a55d83255c7eb8f27d ROOT=$(cd "$(dirname "$0")/.." && pwd) # One generated library for all units: the bindings share one ABI runtime (ombr_enter). # om/encoder/bw_enc_sm121.om: the sm_121 instruction encoder, twin of aien-dev/CUDApp's (mk/om-encoder.mk). -UNITS="${OMEGA_UNITS:-om/sha256/sha256-om2.om om/blake3/b3unit.om om/encoder/bw_enc_sm121.om om/gpu/bw_qmd.om om/gpu/bw_sched.om om/gpu/q38_plan.om om/gpu/cg_pf.om om/gpu/cg_bf16.om om/gpu/cg_gemm.om om/gpu/cg_moe2.om om/gpu/cg_moe.om om/gpu/cg_qmma.om om/gpu/cg_pfhost.om om/gpu/cg_gpu_attn.om om/runtime/rx_regulate.om om/runtime/rx_mid.om om/runtime/rx_cortex_rec.om om/runtime/rx_plan_core.om om/runtime/rx_projection.om om/runtime/rx_capq_core.om om/runtime/rx_costmodel_core.om om/runtime/rx_route_core.om om/runtime/rx_world_core.om om/runtime/rx_skillroute_core.om om/runtime/rx_fusion_core.om om/compiler/osc_literal.om om/compiler/osc_type.om om/compiler/osc_expr.om om/compiler/osc_scalar.om om/compiler/osc_a64_fields.om om/compiler/osc_statement.om om/compiler/osc_ownership.om om/compiler/osc_scope.om om/compiler/osc_pool.om om/compiler/osc_trace.om om/compiler/osc_lifetimes.om om/compiler/osc_flow.om om/compiler/osc_artifact.om src/tensor/tensor_shape.om src/train/sgd_update.om}" +UNITS="${OMEGA_UNITS:-om/sha256/sha256-om2.om om/blake3/b3unit.om om/encoder/bw_enc_sm121.om om/gpu/bw_qmd.om om/gpu/bw_sched.om om/gpu/q38_plan.om om/gpu/cg_pf.om om/gpu/cg_bf16.om om/gpu/cg_gemm.om om/gpu/cg_moe2.om om/gpu/cg_moe.om om/gpu/cg_qmma.om om/gpu/cg_pfhost.om om/gpu/cg_gpu_attn.om om/runtime/rx_regulate.om om/runtime/rx_mid.om om/runtime/rx_cortex_rec.om om/runtime/rx_plan_core.om om/runtime/rx_projection.om om/runtime/rx_capq_core.om om/runtime/rx_costmodel_core.om om/runtime/rx_route_core.om om/runtime/rx_world_core.om om/runtime/rx_skillroute_core.om om/runtime/rx_fusion_core.om om/compiler/osc_literal.om om/compiler/osc_type.om om/compiler/osc_expr.om om/compiler/osc_scalar.om om/compiler/osc_a64_fields.om om/compiler/osc_statement.om om/compiler/osc_ownership.om om/compiler/osc_scope.om om/compiler/osc_pool.om om/compiler/osc_trace.om om/compiler/osc_lifetimes.om om/compiler/osc_flow.om om/compiler/osc_artifact.om src/tensor/tensor_shape.om src/train/sgd_update.om src/autodiff/gradient_shape.om}" # The units the freestanding GPU link needs (the encoder, codegen, matmul and realize files hash with sha256_*; qmd packs QMDs). FS_UNITS="om/sha256/sha256-om2.om om/gpu/bw_qmd.om om/gpu/cg_gpu_attn.om" DEST="${OMEGA_UNITS_DEST:-$ROOT/src}" @@ -49,7 +49,7 @@ for u in $UNITS; do [ $abi = 1 ] || printf 'omega-unit %s %s\n' "$name" "$OMC_PIN"; } > "$T/u.in" cat "$T/u.in" >> "$T/units.in" if [ "$src" -ef "$ROOT/src/tensor/tensor_shape.om" ] || [ "$src" -ef "$ROOT/om/compiler/osc_flow.om" ] || - [ "$src" -ef "$ROOT/om/compiler/osc_artifact.om" ]; then + [ "$src" -ef "$ROOT/om/compiler/osc_artifact.om" ] || [ "$src" -ef "$ROOT/src/autodiff/gradient_shape.om" ]; then cat "$T/u.in" >> "$T/leaf.in" else cat "$T/u.in" >> "$T/host.in" diff --git a/src/autodiff/gradient_shape.om b/src/autodiff/gradient_shape.om new file mode 100644 index 000000000..03a1e3e6c --- /dev/null +++ b/src/autodiff/gradient_shape.om @@ -0,0 +1,52 @@ +note SPDX-License-Identifier: Apache-2.0 +note An M21 unbroadcast first removes excess leading axes, then sums expanded +note singleton dimensions left to right with the axis retained. A step is +note twice its axis plus one when the reduction keeps the dimension. +om2 + +export fn ad_unbroadcast_steps source view ulong * target view ulong * steps edit uchar 8 to long +requires le len source 8 +requires le len target 8 + if lt len source len target + ret -1 + end + leading = sub len source len target + for i ulong leading + put steps i 0 + end + count = leading + for axis ulong len target + note MUT:UNBROADCAST + if and eq get target axis 1 ne get source add leading axis 1 + put steps count uchar add mul axis 2 1 + count = add count 1 + end + end + ret long count +end + +export fn ad_same_shape lhs view ulong * rhs view ulong * to ulong +requires le len lhs 8 +requires le len rhs 8 + if ne len lhs len rhs + ret 0 + end + for d ulong len lhs + if ne get lhs d get rhs d + ret 0 + end + end + ret 1 +end + +export fn ad_restore_axis shape view ulong * axis ulong restored edit ulong * to void +requires le len shape 8 +requires eq len shape len restored + for d ulong len shape + if eq d axis + put restored d 1 + else + put restored d get shape d + end + end +end diff --git a/src/autodiff/omega_autodiff.c b/src/autodiff/omega_autodiff.c index b7ab09ea7..820a90c24 100644 --- a/src/autodiff/omega_autodiff.c +++ b/src/autodiff/omega_autodiff.c @@ -24,6 +24,9 @@ * calls (the MAX routing step only compares and moves values). */ #include "omega_autodiff.h" +#include "omega_api_decl.h" + +_Static_assert(OMEGA_TENSOR_MAX_RANK == 8, "gradient_shape.om uses eight reduction steps"); #include @@ -61,10 +64,7 @@ static uint32_t push(OmegaAdTape *t, OmegaAdOp op, uint32_t in0, uint32_t in1, u } static bool same_shape(const OmegaTensorInfo *x, const OmegaTensorInfo *y) { - if (x->rank != y->rank) return false; - for (uint32_t d = 0; d < x->rank; d++) - if (x->shape[d] != y->shape[d]) return false; - return true; + return ad_same_shape(x->shape, x->rank, y->shape, y->rank); } /* Rank-0 F32 constant. */ @@ -94,27 +94,18 @@ static int unbroadcast(OmegaAdTape *t, OmegaTensor full, const OmegaTensorInfo * OmegaTensorInfo ci; int rc = omega_tensor_info(t->ctx, cur, &ci); if (rc) { rel(t, cur); return rc; } - if (ci.rank < target->rank) { rel(t, cur); return OMEGA_AD_ERR_SHAPE; } - while (ci.rank > target->rank) { - OmegaTensor nx; - rc = omega_tensor_reduce(t->ctx, OMEGA_TR_SUM, cur, 0, false, &nx); + uint8_t steps[OMEGA_TENSOR_MAX_RANK]; + int64_t count = ad_unbroadcast_steps(ci.shape, ci.rank, target->shape, target->rank, steps); + if (count < 0) { rel(t, cur); return OMEGA_AD_ERR_SHAPE; } + for (int64_t i = 0; i < count; i++) { + OmegaTensor next; + rc = omega_tensor_reduce(t->ctx, OMEGA_TR_SUM, cur, steps[i] / 2, steps[i] & 1, &next); rel(t, cur); if (rc) return rc; - cur = nx; + cur = next; rc = omega_tensor_info(t->ctx, cur, &ci); if (rc) { rel(t, cur); return rc; } } - for (uint32_t d = 0; d < target->rank; d++) { - if (target->shape[d] == 1 && ci.shape[d] != 1) { /* MUT:UNBROADCAST */ - OmegaTensor nx; - rc = omega_tensor_reduce(t->ctx, OMEGA_TR_SUM, cur, d, true, &nx); - rel(t, cur); - if (rc) return rc; - cur = nx; - rc = omega_tensor_info(t->ctx, cur, &ci); - if (rc) { rel(t, cur); return rc; } - } - } *out = cur; return OMEGA_AD_OK; } @@ -213,7 +204,7 @@ static int expand_reduced(OmegaAdTape *t, const OmegaAdNode *n, OmegaTensor *out if (!rc) rc = omega_tensor_info(t->ctx, n->grad, &gi); if (rc) return rc; uint64_t kshape[OMEGA_TENSOR_MAX_RANK]; - for (uint32_t d = 0; d < ai.rank; d++) kshape[d] = (d == n->axis) ? 1 : ai.shape[d]; + ad_restore_axis(ai.shape, ai.rank, n->axis, kshape, ai.rank); OmegaTensor r, b; rc = omega_tensor_reshape(t->ctx, n->grad, ai.rank, kshape, &r); if (rc) return rc; diff --git a/src/compiler/osc_a64.c b/src/compiler/osc_a64.c index ac810b2c7..c32707e0b 100644 --- a/src/compiler/osc_a64.c +++ b/src/compiler/osc_a64.c @@ -39,77 +39,68 @@ typedef struct { const char *name; uint32_t base; uint8_t cls; - uint8_t kd, kn, km, ka; + uint8_t kd, kn, km, ka, flags; /* bit 0 writeback, bit 1 load pair */ } OpInfo; static const OpInfo OPS[OSC_A64_NOPS] = { - [OSC_A64_ADD_REG] = {"add", 0x8B000000u, CLS_RRR_SH, K_ZR, K_ZR, K_ZR, K_NONE}, - [OSC_A64_SUB_REG] = {"sub", 0xCB000000u, CLS_RRR_SH, K_ZR, K_ZR, K_ZR, K_NONE}, - [OSC_A64_ADDS_REG] = {"adds", 0xAB000000u, CLS_RRR_SH, K_ZR, K_ZR, K_ZR, K_NONE}, - [OSC_A64_SUBS_REG] = {"subs", 0xEB000000u, CLS_RRR_SH, K_ZR, K_ZR, K_ZR, K_NONE}, - [OSC_A64_ADD_IMM] = {"add", 0x91000000u, CLS_RI, K_SP, K_SP, K_NONE, K_NONE}, - [OSC_A64_SUB_IMM] = {"sub", 0xD1000000u, CLS_RI, K_SP, K_SP, K_NONE, K_NONE}, - [OSC_A64_ADDS_IMM] = {"adds", 0xB1000000u, CLS_RI, K_ZR, K_SP, K_NONE, K_NONE}, - [OSC_A64_SUBS_IMM] = {"subs", 0xF1000000u, CLS_RI, K_ZR, K_SP, K_NONE, K_NONE}, - [OSC_A64_MADD] = {"madd", 0x9B000000u, CLS_R4, K_ZR, K_ZR, K_ZR, K_ZR}, - [OSC_A64_MSUB] = {"msub", 0x9B008000u, CLS_R4, K_ZR, K_ZR, K_ZR, K_ZR}, - [OSC_A64_SMULH] = {"smulh", 0x9B407C00u, CLS_MULH, K_ZR, K_ZR, K_ZR, K_NONE}, - [OSC_A64_UMULH] = {"umulh", 0x9BC07C00u, CLS_MULH, K_ZR, K_ZR, K_ZR, K_NONE}, - [OSC_A64_SDIV] = {"sdiv", 0x9AC00C00u, CLS_R3, K_ZR, K_ZR, K_ZR, K_NONE}, - [OSC_A64_UDIV] = {"udiv", 0x9AC00800u, CLS_R3, K_ZR, K_ZR, K_ZR, K_NONE}, - [OSC_A64_LSLV] = {"lslv", 0x9AC02000u, CLS_R3, K_ZR, K_ZR, K_ZR, K_NONE}, - [OSC_A64_LSRV] = {"lsrv", 0x9AC02400u, CLS_R3, K_ZR, K_ZR, K_ZR, K_NONE}, - [OSC_A64_ASRV] = {"asrv", 0x9AC02800u, CLS_R3, K_ZR, K_ZR, K_ZR, K_NONE}, - [OSC_A64_AND_REG] = {"and", 0x8A000000u, CLS_RRR_SH, K_ZR, K_ZR, K_ZR, K_NONE}, - [OSC_A64_ORR_REG] = {"orr", 0xAA000000u, CLS_RRR_SH, K_ZR, K_ZR, K_ZR, K_NONE}, - [OSC_A64_EOR_REG] = {"eor", 0xCA000000u, CLS_RRR_SH, K_ZR, K_ZR, K_ZR, K_NONE}, - [OSC_A64_ORN_REG] = {"orn", 0xAA200000u, CLS_RRR_SH, K_ZR, K_ZR, K_ZR, K_NONE}, - [OSC_A64_SBFM] = {"sbfm", 0x93400000u, CLS_BFM, K_ZR, K_ZR, K_NONE, K_NONE}, - [OSC_A64_UBFM] = {"ubfm", 0xD3400000u, CLS_BFM, K_ZR, K_ZR, K_NONE, K_NONE}, - [OSC_A64_CSINC] = {"csinc", 0x9A800400u, CLS_CSINC, K_ZR, K_ZR, K_ZR, K_NONE}, - [OSC_A64_MOVZ] = {"movz", 0xD2800000u, CLS_MOV16, K_ZR, K_NONE, K_NONE, K_NONE}, - [OSC_A64_MOVN] = {"movn", 0x92800000u, CLS_MOV16, K_ZR, K_NONE, K_NONE, K_NONE}, - [OSC_A64_MOVK] = {"movk", 0xF2800000u, CLS_MOV16, K_ZR, K_NONE, K_NONE, K_NONE}, - [OSC_A64_LDR_UOFF] = {"ldr", 0xF9400000u, CLS_MEM, K_ZR, K_SP, K_NONE, K_NONE}, - [OSC_A64_STR_UOFF] = {"str", 0xF9000000u, CLS_MEM, K_ZR, K_SP, K_NONE, K_NONE}, - [OSC_A64_STP_OFF] = {"stp", 0xA9000000u, CLS_PAIR, K_ZR, K_SP, K_NONE, K_ZR}, - [OSC_A64_STP_PRE] = {"stp!", 0xA9800000u, CLS_PAIR, K_ZR, K_SP, K_NONE, K_ZR}, - [OSC_A64_STP_POST] = {"stp+", 0xA8800000u, CLS_PAIR, K_ZR, K_SP, K_NONE, K_ZR}, - [OSC_A64_LDP_OFF] = {"ldp", 0xA9400000u, CLS_PAIR, K_ZR, K_SP, K_NONE, K_ZR}, - [OSC_A64_LDP_PRE] = {"ldp!", 0xA9C00000u, CLS_PAIR, K_ZR, K_SP, K_NONE, K_ZR}, - [OSC_A64_LDP_POST] = {"ldp+", 0xA8C00000u, CLS_PAIR, K_ZR, K_SP, K_NONE, K_ZR}, - [OSC_A64_B] = {"b", 0x14000000u, CLS_B26, K_NONE, K_NONE, K_NONE, K_NONE}, - [OSC_A64_BL] = {"bl", 0x94000000u, CLS_B26, K_NONE, K_NONE, K_NONE, K_NONE}, - [OSC_A64_BCOND] = {"b.cond",0x54000000u, CLS_BCOND, K_NONE, K_NONE, K_NONE, K_NONE}, - [OSC_A64_CBZ] = {"cbz", 0xB4000000u, CLS_CB, K_ZR, K_NONE, K_NONE, K_NONE}, - [OSC_A64_CBNZ] = {"cbnz", 0xB5000000u, CLS_CB, K_ZR, K_NONE, K_NONE, K_NONE}, - [OSC_A64_BLR] = {"blr", 0xD63F0000u, CLS_BREG, K_NONE, K_X, K_NONE, K_NONE}, - [OSC_A64_RET] = {"ret", 0xD65F0000u, CLS_BREG, K_NONE, K_X, K_NONE, K_NONE}, - [OSC_A64_BRK] = {"brk", 0xD4200000u, CLS_BRK, K_NONE, K_NONE, K_NONE, K_NONE}, - [OSC_A64_LDRB_REG] = {"ldrb", 0x38606800u, CLS_R3, K_ZR, K_SP, K_ZR, K_NONE}, + [OSC_A64_ADD_REG] = {"add", 0x8B000000u, CLS_RRR_SH, K_ZR, K_ZR, K_ZR, K_NONE, 0}, + [OSC_A64_SUB_REG] = {"sub", 0xCB000000u, CLS_RRR_SH, K_ZR, K_ZR, K_ZR, K_NONE, 0}, + [OSC_A64_ADDS_REG] = {"adds", 0xAB000000u, CLS_RRR_SH, K_ZR, K_ZR, K_ZR, K_NONE, 0}, + [OSC_A64_SUBS_REG] = {"subs", 0xEB000000u, CLS_RRR_SH, K_ZR, K_ZR, K_ZR, K_NONE, 0}, + [OSC_A64_ADD_IMM] = {"add", 0x91000000u, CLS_RI, K_SP, K_SP, K_NONE, K_NONE, 0}, + [OSC_A64_SUB_IMM] = {"sub", 0xD1000000u, CLS_RI, K_SP, K_SP, K_NONE, K_NONE, 0}, + [OSC_A64_ADDS_IMM] = {"adds", 0xB1000000u, CLS_RI, K_ZR, K_SP, K_NONE, K_NONE, 0}, + [OSC_A64_SUBS_IMM] = {"subs", 0xF1000000u, CLS_RI, K_ZR, K_SP, K_NONE, K_NONE, 0}, + [OSC_A64_MADD] = {"madd", 0x9B000000u, CLS_R4, K_ZR, K_ZR, K_ZR, K_ZR, 0}, + [OSC_A64_MSUB] = {"msub", 0x9B008000u, CLS_R4, K_ZR, K_ZR, K_ZR, K_ZR, 0}, + [OSC_A64_SMULH] = {"smulh", 0x9B407C00u, CLS_MULH, K_ZR, K_ZR, K_ZR, K_NONE, 0}, + [OSC_A64_UMULH] = {"umulh", 0x9BC07C00u, CLS_MULH, K_ZR, K_ZR, K_ZR, K_NONE, 0}, + [OSC_A64_SDIV] = {"sdiv", 0x9AC00C00u, CLS_R3, K_ZR, K_ZR, K_ZR, K_NONE, 0}, + [OSC_A64_UDIV] = {"udiv", 0x9AC00800u, CLS_R3, K_ZR, K_ZR, K_ZR, K_NONE, 0}, + [OSC_A64_LSLV] = {"lslv", 0x9AC02000u, CLS_R3, K_ZR, K_ZR, K_ZR, K_NONE, 0}, + [OSC_A64_LSRV] = {"lsrv", 0x9AC02400u, CLS_R3, K_ZR, K_ZR, K_ZR, K_NONE, 0}, + [OSC_A64_ASRV] = {"asrv", 0x9AC02800u, CLS_R3, K_ZR, K_ZR, K_ZR, K_NONE, 0}, + [OSC_A64_AND_REG] = {"and", 0x8A000000u, CLS_RRR_SH, K_ZR, K_ZR, K_ZR, K_NONE, 0}, + [OSC_A64_ORR_REG] = {"orr", 0xAA000000u, CLS_RRR_SH, K_ZR, K_ZR, K_ZR, K_NONE, 0}, + [OSC_A64_EOR_REG] = {"eor", 0xCA000000u, CLS_RRR_SH, K_ZR, K_ZR, K_ZR, K_NONE, 0}, + [OSC_A64_ORN_REG] = {"orn", 0xAA200000u, CLS_RRR_SH, K_ZR, K_ZR, K_ZR, K_NONE, 0}, + [OSC_A64_SBFM] = {"sbfm", 0x93400000u, CLS_BFM, K_ZR, K_ZR, K_NONE, K_NONE, 0}, + [OSC_A64_UBFM] = {"ubfm", 0xD3400000u, CLS_BFM, K_ZR, K_ZR, K_NONE, K_NONE, 0}, + [OSC_A64_CSINC] = {"csinc", 0x9A800400u, CLS_CSINC, K_ZR, K_ZR, K_ZR, K_NONE, 0}, + [OSC_A64_MOVZ] = {"movz", 0xD2800000u, CLS_MOV16, K_ZR, K_NONE, K_NONE, K_NONE, 0}, + [OSC_A64_MOVN] = {"movn", 0x92800000u, CLS_MOV16, K_ZR, K_NONE, K_NONE, K_NONE, 0}, + [OSC_A64_MOVK] = {"movk", 0xF2800000u, CLS_MOV16, K_ZR, K_NONE, K_NONE, K_NONE, 0}, + [OSC_A64_LDR_UOFF] = {"ldr", 0xF9400000u, CLS_MEM, K_ZR, K_SP, K_NONE, K_NONE, 0}, + [OSC_A64_STR_UOFF] = {"str", 0xF9000000u, CLS_MEM, K_ZR, K_SP, K_NONE, K_NONE, 0}, + [OSC_A64_STP_OFF] = {"stp", 0xA9000000u, CLS_PAIR, K_ZR, K_SP, K_NONE, K_ZR, 0}, + [OSC_A64_STP_PRE] = {"stp!", 0xA9800000u, CLS_PAIR, K_ZR, K_SP, K_NONE, K_ZR, 1}, + [OSC_A64_STP_POST] = {"stp+", 0xA8800000u, CLS_PAIR, K_ZR, K_SP, K_NONE, K_ZR, 1}, + [OSC_A64_LDP_OFF] = {"ldp", 0xA9400000u, CLS_PAIR, K_ZR, K_SP, K_NONE, K_ZR, 2}, + [OSC_A64_LDP_PRE] = {"ldp!", 0xA9C00000u, CLS_PAIR, K_ZR, K_SP, K_NONE, K_ZR, 3}, + [OSC_A64_LDP_POST] = {"ldp+", 0xA8C00000u, CLS_PAIR, K_ZR, K_SP, K_NONE, K_ZR, 3}, + [OSC_A64_B] = {"b", 0x14000000u, CLS_B26, K_NONE, K_NONE, K_NONE, K_NONE, 0}, + [OSC_A64_BL] = {"bl", 0x94000000u, CLS_B26, K_NONE, K_NONE, K_NONE, K_NONE, 0}, + [OSC_A64_BCOND] = {"b.cond",0x54000000u, CLS_BCOND, K_NONE, K_NONE, K_NONE, K_NONE, 0}, + [OSC_A64_CBZ] = {"cbz", 0xB4000000u, CLS_CB, K_ZR, K_NONE, K_NONE, K_NONE, 0}, + [OSC_A64_CBNZ] = {"cbnz", 0xB5000000u, CLS_CB, K_ZR, K_NONE, K_NONE, K_NONE, 0}, + [OSC_A64_BLR] = {"blr", 0xD63F0000u, CLS_BREG, K_NONE, K_X, K_NONE, K_NONE, 0}, + [OSC_A64_RET] = {"ret", 0xD65F0000u, CLS_BREG, K_NONE, K_X, K_NONE, K_NONE, 0}, + [OSC_A64_BRK] = {"brk", 0xD4200000u, CLS_BRK, K_NONE, K_NONE, K_NONE, K_NONE, 0}, + [OSC_A64_LDRB_REG] = {"ldrb", 0x38606800u, CLS_R3, K_ZR, K_SP, K_ZR, K_NONE, 0}, }; -/* variable-field mask per class (bits not fixed by the opcode) */ -static uint32_t cls_varmask(int cls) { - switch (cls) { - case CLS_RRR_SH: return 0x00DFFFFFu; /* shift 23:22, Rm 20:16, imm6 15:10, Rn, Rd */ - case CLS_RI: return 0x007FFFFFu; /* sh 22, imm12 21:10, Rn, Rd */ - case CLS_R4: return 0x001F7FFFu; /* Rm, Ra 14:10, Rn, Rd */ - case CLS_MULH: return 0x001F03FFu; - case CLS_R3: return 0x001F03FFu; - case CLS_BFM: return 0x003FFFFFu; - case CLS_CSINC: return 0x001FF3FFu; /* Rm, cond 15:12, Rn, Rd */ - case CLS_MOV16: return 0x007FFFFFu; /* hw 22:21, imm16 20:5, Rd */ - case CLS_MEM: return 0x003FFFFFu; - case CLS_PAIR: return 0x003FFFFFu; /* imm7 21:15, Rt2 14:10, Rn, Rt */ - case CLS_B26: return 0x03FFFFFFu; - case CLS_BCOND: return 0x00FFFFEFu; /* imm19 23:5, cond 3:0 (bit 4 fixed 0) */ - case CLS_CB: return 0x00FFFFFFu; - case CLS_BREG: return 0x000003E0u; - case CLS_BRK: return 0x001FFFE0u; - default: return 0; - } -} +/* The seeded codec reads these two fixed records as byte spans. */ +_Static_assert(sizeof(OpInfo) == 24 && offsetof(OpInfo, base) == 8 && + offsetof(OpInfo, cls) == 12 && offsetof(OpInfo, kd) == 13 && + offsetof(OpInfo, kn) == 14 && offsetof(OpInfo, km) == 15 && + offsetof(OpInfo, ka) == 16 && offsetof(OpInfo, flags) == 17, "AArch64 opcode descriptor ABI"); +_Static_assert(sizeof(OscA64Insn) == 24 && offsetof(OscA64Insn, op) == 0 && + offsetof(OscA64Insn, rd) == 1 && offsetof(OscA64Insn, rn) == 2 && + offsetof(OscA64Insn, rm) == 3 && offsetof(OscA64Insn, ra) == 4 && + offsetof(OscA64Insn, shift) == 5 && offsetof(OscA64Insn, cond) == 6 && + offsetof(OscA64Insn, imm) == 8 && offsetof(OscA64Insn, imm2) == 16, + "AArch64 instruction ABI"); +_Static_assert(OSC_A64_XZR == 32 && OSC_A64_SP == 33, "AArch64 typed register values"); static int fail(char *err, size_t n, const char *fmt, ...) { if (err && n) { @@ -121,29 +112,6 @@ static int fail(char *err, size_t n, const char *fmt, ...) { return -1; } -/* map typed operand -> 5-bit field, refusing the wrong kind */ -static int regfield(int kind, int r, uint32_t *f, const char *pos, const char *op, char *err, size_t n) { - if (r >= 0 && r <= 30) { *f = (uint32_t)r; return 0; } - if (kind == K_ZR && r == OSC_A64_XZR) { *f = 31; return 0; } - if (kind == K_SP && r == OSC_A64_SP) { *f = 31; return 0; } - if (r == OSC_A64_SP) return fail(err, n, "%s: %s cannot be SP", op, pos); - if (r == OSC_A64_XZR) return fail(err, n, "%s: %s cannot be XZR", op, pos); - return fail(err, n, "%s: %s register %d out of range", op, pos, r); -} - -static int unreg(int kind, uint32_t f) { - if (f < 31) return (int)f; - if (kind == K_ZR) return OSC_A64_XZR; - if (kind == K_SP) return OSC_A64_SP; - return 255; /* not encodable: re-encode check refuses */ -} - -static unsigned pair_flags(int op) { - int writeback = op == OSC_A64_STP_PRE || op == OSC_A64_STP_POST || op == OSC_A64_LDP_PRE || op == OSC_A64_LDP_POST; - int loadpair = op == OSC_A64_LDP_OFF || op == OSC_A64_LDP_PRE || op == OSC_A64_LDP_POST; - return (unsigned)writeback | ((unsigned)loadpair << 1); -} - int osc_a64_encode(const OscA64Insn *in, uint32_t *word, char *err, size_t n) { if (!in || !word) return fail(err, n, "null"); int op = in->op; @@ -151,19 +119,17 @@ int osc_a64_encode(const OscA64Insn *in, uint32_t *word, char *err, size_t n) { return fail(err, n, "unknown op %d", op); const OpInfo *oi = &OPS[op]; const char *nm = oi->name; - uint32_t rd = 0, rn = 0, rm = 0, ra = 0; - /* unused register / field positions must be zero (canonical form) */ - if (oi->kd == K_NONE && in->rd) return fail(err, n, "%s: rd unused but set", nm); - if (oi->kn == K_NONE && in->rn) return fail(err, n, "%s: rn unused but set", nm); - if (oi->km == K_NONE && in->rm) return fail(err, n, "%s: rm unused but set", nm); - if (oi->ka == K_NONE && in->ra) return fail(err, n, "%s: ra unused but set", nm); - if (oi->kd != K_NONE && regfield(oi->kd, in->rd, &rd, "rd", nm, err, n)) return -1; - if (oi->kn != K_NONE && regfield(oi->kn, in->rn, &rn, "rn", nm, err, n)) return -1; - if (oi->km != K_NONE && regfield(oi->km, in->rm, &rm, "rm", nm, err, n)) return -1; - if (oi->ka != K_NONE && regfield(oi->ka, in->ra, &ra, "ra", nm, err, n)) return -1; - const OscA64Fields f = {.rd = rd, .rn = rn, .rm = rm, .ra = ra, .shift = in->shift, - .cond = in->cond, .imm = in->imm, .imm2 = in->imm2}; - uint64_t packed = osc_a64_checked_word(oi->cls, oi->base, &f, pair_flags(op)); + uint64_t packed = osc_a64_write((const uint8_t *)oi, (const uint8_t *)in); + unsigned code = (unsigned)(packed >> 32); + if (code >= OSC_A64_ERR_UNUSED_REG && code < OSC_A64_ERR_BAD_REG + 4) { + const char *const positions[] = {"rd", "rn", "rm", "ra"}; + const unsigned regs[] = {in->rd, in->rn, in->rm, in->ra}; + unsigned i = (code - OSC_A64_ERR_UNUSED_REG) % 4; + if (code < OSC_A64_ERR_REG_SP) return fail(err, n, "%s: %s unused but set", nm, positions[i]); + if (code < OSC_A64_ERR_REG_ZR) return fail(err, n, "%s: %s cannot be SP", nm, positions[i]); + if (code < OSC_A64_ERR_BAD_REG) return fail(err, n, "%s: %s cannot be XZR", nm, positions[i]); + return fail(err, n, "%s: %s register %u out of range", nm, positions[i], regs[i]); + } switch (packed >> 32) { case 0: break; case OSC_A64_ERR_UNUSED_SHIFT: @@ -215,28 +181,10 @@ int osc_a64_reencode(const OscA64Insn *in, uint32_t *word) { } int osc_a64_decode(uint32_t w, OscA64Insn *out) { - for (int op = 1; op < OSC_A64_NOPS; op++) { - const OpInfo *oi = &OPS[op]; - if (!oi->name) continue; - if ((w & ~cls_varmask(oi->cls)) != oi->base) continue; - OscA64Insn d; - memset(&d, 0, sizeof d); - d.op = (uint8_t)op; - OscA64Fields f; - if (!osc_a64_canonical_word(oi->cls, oi->base, w, pair_flags(op), &f)) continue; - if (!out) return 0; - if (oi->kd != K_NONE) d.rd = (uint8_t)unreg(oi->kd, f.rd); - if (oi->kn != K_NONE) d.rn = (uint8_t)unreg(oi->kn, f.rn); - if (oi->km != K_NONE) d.rm = (uint8_t)unreg(oi->km, f.rm); - if (oi->ka != K_NONE) d.ra = (uint8_t)unreg(oi->ka, f.ra); - d.shift = (uint8_t)f.shift; - d.cond = (uint8_t)f.cond; - d.imm = f.imm; - d.imm2 = f.imm2; - *out = d; - return 0; - } - return -1; + OscA64Insn decoded = {0}; + if (!osc_a64_read(w, (const uint8_t *)OPS, sizeof OPS, (uint8_t *)&decoded)) return -1; + if (out) *out = decoded; + return 0; } const char *osc_a64_op_name(int op) { diff --git a/src/omega_api_decl.h b/src/omega_api_decl.h index f5faed81c..ba56342f4 100644 --- a/src/omega_api_decl.h +++ b/src/omega_api_decl.h @@ -422,6 +422,39 @@ uint64_t osc_return_ensures(const uint8_t *o_nodes, size_t o_nodes_len, const ui #define OSC_A64_ERR_LOAD_ALIAS 17 #define OSC_A64_ERR_BRANCH_OFFSET 18 #define OSC_A64_ERR_BRANCH_COND 19 +#define OSC_A64_ERR_UNUSED_REG 32 +#define OSC_A64_ERR_REG_SP 36 +#define OSC_A64_ERR_REG_ZR 40 +#define OSC_A64_ERR_BAD_REG 44 +typedef struct { + uint8_t ombr_pad0[8]; + uint32_t base; + uint8_t form; + uint8_t role[4]; + uint8_t flags; + uint8_t ombr_pad18[6]; +} a64spec; +OMBR_ASSERT(sizeof(a64spec) == 24, "layout a64spec size"); +OMBR_ASSERT(offsetof(a64spec, base) == 8, "layout a64spec field base"); +OMBR_ASSERT(offsetof(a64spec, form) == 12, "layout a64spec field form"); +OMBR_ASSERT(offsetof(a64spec, role) == 13, "layout a64spec field role"); +OMBR_ASSERT(offsetof(a64spec, flags) == 17, "layout a64spec field flags"); +typedef struct { + uint8_t opcode; + uint8_t reg[4]; + uint8_t shift; + uint8_t cond; + uint8_t ombr_pad7[1]; + int64_t imm; + int64_t imm2; +} a64insn; +OMBR_ASSERT(sizeof(a64insn) == 24, "layout a64insn size"); +OMBR_ASSERT(offsetof(a64insn, opcode) == 0, "layout a64insn field opcode"); +OMBR_ASSERT(offsetof(a64insn, reg) == 1, "layout a64insn field reg"); +OMBR_ASSERT(offsetof(a64insn, shift) == 5, "layout a64insn field shift"); +OMBR_ASSERT(offsetof(a64insn, cond) == 6, "layout a64insn field cond"); +OMBR_ASSERT(offsetof(a64insn, imm) == 8, "layout a64insn field imm"); +OMBR_ASSERT(offsetof(a64insn, imm2) == 16, "layout a64insn field imm2"); typedef struct { uint32_t rd; uint32_t rn; @@ -453,6 +486,10 @@ uint64_t osc_a64_checked_word(uint64_t o_form, uint64_t o_base, const OscA64Fiel uint64_t osc_a64_canonical_word(uint64_t o_form, uint64_t o_base, uint64_t o_word, uint64_t o_flags, OscA64Fields *o_fields); /* export fn osc_a64_materialize value ulong plan edit ulong 4 to ulong */ uint64_t osc_a64_materialize(uint64_t o_value, uint64_t o_plan[4]); +/* export fn osc_a64_write spec view uchar 24 insn view uchar 24 to ulong */ +uint64_t osc_a64_write(const uint8_t o_spec[24], const uint8_t o_insn[24]); +/* export fn osc_a64_read word ulong specs view uchar * insn edit uchar 24 to ulong */ +uint64_t osc_a64_read(uint64_t o_word, const uint8_t *o_specs, size_t o_specs_len, uint8_t o_insn[24]); #define OSC_FOR_WINDOW 7 #define OSC_FOR_NAME 1 #define OSC_FOR_IN 2 @@ -821,6 +858,12 @@ int64_t tg_sgd_mode(uint64_t o_learning, uint64_t o_momentum); void tg_update_velocity(uint32_t *o_velocity, size_t o_velocity_len, const uint32_t *o_gradient, size_t o_gradient_len, uint64_t o_bits); /* export fn tg_update_params params edit uint * direction view uint * bits ulong to void */ void tg_update_params(uint32_t *o_params, size_t o_params_len, const uint32_t *o_direction, size_t o_direction_len, uint64_t o_bits); +/* export fn ad_unbroadcast_steps source view ulong * target view ulong * steps edit uchar 8 to long */ +int64_t ad_unbroadcast_steps(const uint64_t *o_source, size_t o_source_len, const uint64_t *o_target, size_t o_target_len, uint8_t o_steps[8]); +/* export fn ad_same_shape lhs view ulong * rhs view ulong * to ulong */ +uint64_t ad_same_shape(const uint64_t *o_lhs, size_t o_lhs_len, const uint64_t *o_rhs, size_t o_rhs_len); +/* export fn ad_restore_axis shape view ulong * axis ulong restored edit ulong * to void */ +void ad_restore_axis(const uint64_t *o_shape, size_t o_shape_len, uint64_t o_axis, uint64_t *o_restored, size_t o_restored_len); #ifdef __cplusplus } #endif diff --git a/src/omega_native.h b/src/omega_native.h index 93e3fdcfd..f522771e6 100644 --- a/src/omega_native.h +++ b/src/omega_native.h @@ -263,7 +263,7 @@ uint32_t omega2_osc_call_requires(uint64_t *result, const uint8_t *o_nodes, uint uint32_t omega2_osc_slice_args(uint64_t *result, const uint32_t *o_types, uint64_t o_types_len, const uint64_t *o_args, uint64_t o_args_len); /* export fn osc_return_ensures nodes view uchar * selectors view uint 3 bindings edit contract stack edit ulong * to ulong */ uint32_t omega2_osc_return_ensures(uint64_t *result, const uint8_t *o_nodes, uint64_t o_nodes_len, const uint32_t *o_selectors, uint64_t o_selectors_len, uint8_t *o_bindings, uint64_t *o_stack, uint64_t o_stack_len); -#define OMEGA2_IDENT_osc_a64_fields "omega-ident 1 unit=osc_a64_fields abi=2 profile=OM-2 src=d9d0e019a3837fcab5e7614debd0ebc833199d67cd505797c44b75eea3da1c41 omc=b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2" +#define OMEGA2_IDENT_osc_a64_fields "omega-ident 1 unit=osc_a64_fields abi=2 profile=OM-2 src=783248eccea83a576c65630099d70e544ce260a609a0dba83cac8f8663d96aab omc=b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2" const char *omega2_ident_osc_a64_fields(void); /* export fn osc_a64_pack_fields form ulong base ulong f view a64field to ulong */ uint32_t omega2_osc_a64_pack_fields(uint64_t *result, uint64_t o_form, uint64_t o_base, const uint8_t *o_f); @@ -277,6 +277,10 @@ uint32_t omega2_osc_a64_checked_word(uint64_t *result, uint64_t o_form, uint64_t uint32_t omega2_osc_a64_canonical_word(uint64_t *result, uint64_t o_form, uint64_t o_base, uint64_t o_word, uint64_t o_flags, uint8_t *o_fields); /* export fn osc_a64_materialize value ulong plan edit ulong 4 to ulong */ uint32_t omega2_osc_a64_materialize(uint64_t *result, uint64_t o_value, uint64_t *o_plan, uint64_t o_plan_len); +/* export fn osc_a64_write spec view uchar 24 insn view uchar 24 to ulong */ +uint32_t omega2_osc_a64_write(uint64_t *result, const uint8_t *o_spec, uint64_t o_spec_len, const uint8_t *o_insn, uint64_t o_insn_len); +/* export fn osc_a64_read word ulong specs view uchar * insn edit uchar 24 to ulong */ +uint32_t omega2_osc_a64_read(uint64_t *result, uint64_t o_word, const uint8_t *o_specs, uint64_t o_specs_len, uint8_t *o_insn, uint64_t o_insn_len); #define OMEGA2_IDENT_osc_statement "omega-ident 1 unit=osc_statement abi=2 profile=OM-2 src=a7b0105f7f6556f4b78142c36b3208d8d5072df232898491f5fc010a7903c914 omc=b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2" const char *omega2_ident_osc_statement(void); /* export fn osc_for_range kinds view ushort 7 values view ulong 7 limit ulong range edit forrange to ulong */ @@ -419,6 +423,14 @@ uint32_t omega2_tg_sgd_mode(uint64_t *result, uint64_t o_learning, uint64_t o_mo uint32_t omega2_tg_update_velocity(uint64_t *result, uint32_t *o_velocity, uint64_t o_velocity_len, const uint32_t *o_gradient, uint64_t o_gradient_len, uint64_t o_bits); /* export fn tg_update_params params edit uint * direction view uint * bits ulong to void */ uint32_t omega2_tg_update_params(uint64_t *result, uint32_t *o_params, uint64_t o_params_len, const uint32_t *o_direction, uint64_t o_direction_len, uint64_t o_bits); +#define OMEGA2_IDENT_gradient_shape "omega-ident 1 unit=gradient_shape abi=2 profile=OM-2 src=72bbfb692f58df6113c6b9d3ab7028ec40185ada88baafd773e02145ddde8d62 omc=b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2" +const char *omega2_ident_gradient_shape(void); +/* export fn ad_unbroadcast_steps source view ulong * target view ulong * steps edit uchar 8 to long */ +uint32_t omega2_ad_unbroadcast_steps(uint64_t *result, const uint64_t *o_source, uint64_t o_source_len, const uint64_t *o_target, uint64_t o_target_len, uint8_t *o_steps, uint64_t o_steps_len); +/* export fn ad_same_shape lhs view ulong * rhs view ulong * to ulong */ +uint32_t omega2_ad_same_shape(uint64_t *result, const uint64_t *o_lhs, uint64_t o_lhs_len, const uint64_t *o_rhs, uint64_t o_rhs_len); +/* export fn ad_restore_axis shape view ulong * axis ulong restored edit ulong * to void */ +uint32_t omega2_ad_restore_axis(uint64_t *result, const uint64_t *o_shape, uint64_t o_shape_len, uint64_t o_axis, uint64_t *o_restored, uint64_t o_restored_len); #ifdef __cplusplus } #endif diff --git a/src/omega_om_units.c b/src/omega_om_units.c index 31904d570..d01bf3490 100644 --- a/src/omega_om_units.c +++ b/src/omega_om_units.c @@ -2541,8 +2541,8 @@ __attribute__((visibility("default"))) uint32_t omega2_osc_return_ensures(uint64 return OMEGA_BAD_ARG; return ombr2_run(ombr2_entry_osc_return_ensures, a, result, 1, ou, no); } -__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_code_osc_a64_fields\n.hidden ombr2_code_osc_a64_fields\nombr2_code_osc_a64_fields:\n.byte 0x06,0x00,0x00,0x14,0xa4,0x00,0x00,0x14,0x84,0x01,0x00,0x14,0x94,0x02,0x00,0x14,0xc2,0x02,0x00,0x14,0xf7,0x02,0x00,0x14,0x04,0x00,0x80,0xd2,0x45,0x68,0x64,0xb8,0xe3,0x03,0x05,0xaa,0x85,0x00,0x80,0xd2,0x46,0x68,0x65,0xb8,0xc4,0xe8,0x7b,0xd3,0x06,0x01,0x80,0xd2,0x48,0x68,0x66,0xb8,0x05,0xbd,0x70,0xd3,0x88,0x01,0x80,0xd2,0x49,0x68,0x68,0xb8,0x26,0xd5,0x76,0xd3,0x09,0x03,0x80,0xd2,0x4a,0x68,0x69,0xf8,0xe8,0x03,0x0a,0xaa,0x0a,0x04,0x80,0xd2,0x4b,0x68,0x6a,0xf8,0xe9,0x03,0x0b,0xaa,0x1f,0x04,0x00,0xf1,0x61,0x01,0x00,0x54,0x8b,0x00,0x05,0xaa,0x6a,0x00,0x0b,0xaa,0x0c,0x02,0x80,0xd2,0x4d,0x68,0x6c,0xb8,0xae,0xa5,0x6a,0xd3,0x0f,0xd5,0x76,0xd3,0xcb,0x01,0x0f,0xaa,0x4c,0x01,0x0b,0xaa,0x20,0x00,0x0c,0xaa,0xc0,0x03,0x5f,0xd6,0x1f,0x08,0x00,0xf1,0x01,0x01,0x00,0x54,0x6a,0x00,0x04,0xaa,0x2b,0xa5,0x6a,0xd3,0x0c,0xd5,0x76,0xd3,0x6d,0x01,0x0c,0xaa,0x4e,0x01,0x0d,0xaa,0x20,0x00,0x0e,0xaa,0xc0,0x03,0x5f,0xd6,0x1f,0x0c,0x00,0xf1,0xc1,0x00,0x00,0x54,0x6a,0x00,0x04,0xaa,0xab,0x00,0x06,0xaa,0x4c,0x01,0x0b,0xaa,0x20,0x00,0x0c,0xaa,0xc0,0x03,0x5f,0xd6,0x1f,0x10,0x00,0xf1,0xea,0x17,0x9f,0x9a,0x1f,0x14,0x00,0xf1,0xeb,0x17,0x9f,0x9a,0x4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xd3,0xeb,0xff,0x9f,0xd2,0xeb,0x7f,0xa0,0xf2,0x4c,0x01,0x0b,0x8a,0x20,0x00,0x0c,0xaa,0xc0,0x03,0x5f,0xd6,0x1f,0x30,0x00,0xf1,0xea,0x17,0x9f,0x9a,0x1f,0x34,0x00,0xf1,0xeb,0x17,0x9f,0x9a,0x4c,0x01,0x0b,0xaa,0x0c,0x02,0x00,0xb4,0x0b,0xfd,0x42,0xd3,0xec,0xff,0x9f,0xd2,0xec,0x00,0xa0,0xf2,0x6d,0x01,0x0c,0x8a,0xaa,0xe9,0x7b,0xd3,0x1f,0x30,0x00,0xf1,0xc1,0x00,0x00,0x54,0x8b,0x02,0x80,0xd2,0x4c,0x68,0x6b,0xb8,0x4d,0x01,0x0c,0xaa,0x20,0x00,0x0d,0xaa,0xc0,0x03,0x5f,0xd6,0x4b,0x01,0x03,0xaa,0x20,0x00,0x0b,0xaa,0xc0,0x03,0x5f,0xd6,0x1f,0x38,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x04,0xaa,0xc0,0x03,0x5f,0xd6,0x1f,0x3c,0x00,0xf1,0x81,0x00,0x00,0x54,0x0a,0xe9,0x7b,0xd3,0x20,0x00,0x0a,0xaa,0xc0,0x03,0x5f,0xd6,0x8e,0x00,0x00,0x54,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0xa1,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x03,0x00,0x01,0xca,0x64,0x00,0x01,0xcb,0x5f,0x00,0x01,0xf1,0xe2,0x00,0x00,0x54,0x85,0x20,0xc2,0x9a,0xe0,0x03,0x05,0xaa,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0xe1,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0xe3,0x03,0x80,0xd2,0x24,0x00,0x03,0x8a,0x85,0xfc,0x60,0xd3,0x85,0x1b,0x00,0xb5,0x06,0x00,0x80,0xd2,0x44,0x68,0x26,0xb8,0x23,0xfc,0x45,0xd3,0xe4,0x03,0x80,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xfc,0x60,0xd3,0xa6,0x1a,0x00,0xb5,0x88,0x00,0x80,0xd2,0x45,0x68,0x28,0xb8,0x23,0xfc,0x50,0xd3,0xe4,0x03,0x80,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xfc,0x60,0xd3,0xc6,0x19,0x00,0xb5,0x08,0x01,0x80,0xd2,0x45,0x68,0x28,0xb8,0x23,0xfc,0x4a,0xd3,0xe4,0x03,0x80,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xfc,0x60,0xd3,0xe6,0x18,0x00,0xb5,0x88,0x01,0x80,0xd2,0x45,0x68,0x28,0xb8,0x03,0x00,0x80,0xd2,0x04,0x02,0x80,0xd2,0x43,0x68,0x24,0xb8,0x03,0x00,0x80,0xd2,0x84,0x02,0x80,0xd2,0x43,0x68,0x24,0xb8,0x03,0x00,0x80,0xd2,0x04,0x03,0x80,0xd2,0x43,0x68,0x24,0xf8,0x03,0x00,0x80,0xd2,0x04,0x04,0x80,0xd2,0x43,0x68,0x24,0xf8,0x1f,0x04,0x00,0xf1,0xe1,0x01,0x00,0x54,0x23,0xfc,0x56,0xd3,0x64,0x00,0x80,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xfc,0x60,0xd3,0x46,0x16,0x00,0xb5,0x08,0x02,0x80,0xd2,0x45,0x68,0x28,0xb8,0x23,0xfc,0x4a,0xd3,0xe4,0x07,0x80,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xfc,0x7f,0xd3,0x66,0x15,0x00,0xb5,0x08,0x03,0x80,0xd2,0x45,0x68,0x28,0xf8,0x1f,0x08,0x00,0xf1,0xe1,0x01,0x00,0x54,0x23,0xfc,0x4a,0xd3,0xe4,0xff,0x81,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xfc,0x7f,0xd3,0x46,0x14,0x00,0xb5,0x08,0x03,0x80,0xd2,0x45,0x68,0x28,0xf8,0x23,0xfc,0x56,0xd3,0x24,0x00,0x80,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xfc,0x7f,0xd3,0x66,0x13,0x00,0xb5,0x08,0x04,0x80,0xd2,0x45,0x68,0x28,0xf8,0x1f,0x18,0x00,0xf1,0xe1,0x01,0x00,0x54,0x23,0xfc,0x50,0xd3,0xe4,0x07,0x80,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xfc,0x7f,0xd3,0x46,0x12,0x00,0xb5,0x08,0x03,0x80,0xd2,0x45,0x68,0x28,0xf8,0x23,0xfc,0x4a,0xd3,0xe4,0x07,0x80,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xfc,0x7f,0xd3,0x66,0x11,0x00,0xb5,0x08,0x04,0x80,0xd2,0x45,0x68,0x28,0xf8,0x1f,0x1c,0x00,0xf1,0x01,0x01,0x00,0x54,0x23,0xfc,0x4c,0xd3,0xe4,0x01,0x80,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xfc,0x60,0xd3,0x46,0x10,0x00,0xb5,0x88,0x02,0x80,0xd2,0x45,0x68,0x28,0xb8,0x1f,0x20,0x00,0xf1,0x01,0x02,0x00,0x54,0x23,0xfc,0x45,0xd3,0xe4,0xff,0x9f,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xfc,0x7f,0xd3,0x26,0x0f,0x00,0xb5,0x08,0x03,0x80,0xd2,0x45,0x68,0x28,0xf8,0x23,0xfc,0x55,0xd3,0x64,0x00,0x80,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xec,0x7c,0xd3,0xc8,0xfc,0x7f,0xd3,0x28,0x0e,0x00,0xb5,0x09,0x04,0x80,0xd2,0x46,0x68,0x29,0xf8,0x1f,0x24,0x00,0xf1,0x21,0x01,0x00,0x54,0x23,0xfc,0x4a,0xd3,0xe4,0xff,0x81,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xf0,0x7d,0xd3,0xc8,0xfc,0x7f,0xd3,0xe8,0x0c,0x00,0xb5,0x09,0x03,0x80,0xd2,0x46,0x68,0x29,0xf8,0x1f,0x28,0x00,0xf1,0x01,0x03,0x00,0x54,0x23,0xfc,0x4f,0xd3,0xe4,0x0f,0x80,0xd2,0x65,0x00,0x04,0x8a,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xfe,0x1b,0x00,0xf9,0xe0,0x17,0x40,0xf9,0x01,0x08,0x80,0xd2,0x62,0x00,0x80,0xd2,0x69,0xff,0xff,0x97,0xe3,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xfe,0x1b,0x40,0xf9,0xff,0x03,0x01,0x91,0x04,0x03,0x80,0xd2,0x43,0x68,0x24,0xf8,0x1f,0x2c,0x00,0xf1,0xe1,0x02,0x00,0x54,0xe3,0xff,0x9f,0xd2,0xe3,0x7f,0xa0,0xf2,0x24,0x00,0x03,0x8a,0xff,0xc3,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xfe,0x17,0x00,0xf9,0xe0,0x13,0x40,0xf9,0x01,0x40,0xa0,0xd2,0x42,0x00,0x80,0xd2,0x51,0xff,0xff,0x97,0xe3,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xfe,0x17,0x40,0xf9,0xff,0xc3,0x00,0x91,0x04,0x03,0x80,0xd2,0x43,0x68,0x24,0xf8,0x1f,0x30,0x00,0xf1,0xe3,0x17,0x9f,0x9a,0x1f,0x34,0x00,0xf1,0xe4,0x17,0x9f,0x9a,0x65,0x00,0x04,0xaa,0x25,0x04,0x00,0xb4,0x23,0xfc,0x45,0xd3,0xe4,0xff,0x9f,0xd2,0xe4,0x00,0xa0,0xf2,0x65,0x00,0x04,0x8a,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xfe,0x1b,0x00,0xf9,0xe0,0x17,0x40,0xf9,0x81,0x00,0xa0,0xd2,0x42,0x00,0x80,0xd2,0x33,0xff,0xff,0x97,0xe3,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xfe,0x1b,0x40,0xf9,0xff,0x03,0x01,0x91,0x04,0x03,0x80,0xd2,0x43,0x68,0x24,0xf8,0x1f,0x30,0x00,0xf1,0xe1,0x00,0x00,0x54,0xe3,0x01,0x80,0xd2,0x24,0x00,0x03,0x8a,0x85,0xfc,0x60,0xd3,0x05,0x02,0x00,0xb5,0x86,0x02,0x80,0xd2,0x44,0x68,0x26,0xb8,0x1f,0x3c,0x00,0xf1,0x01,0x01,0x00,0x54,0x23,0xfc,0x45,0xd3,0xe4,0xff,0x9f,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xfc,0x7f,0xd3,0xe6,0x00,0x00,0xb5,0x08,0x03,0x80,0xd2,0x45,0x68,0x28,0xf8,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0xa1,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x05,0x03,0x80,0xd2,0x24,0x68,0x65,0xf8,0x06,0x04,0x80,0xd2,0x25,0x68,0x66,0xf8,0x1f,0x04,0x00,0xf1,0xe6,0x07,0x9f,0x9a,0x08,0x02,0x80,0xd2,0x29,0x68,0x68,0xb8,0x3f,0x01,0x00,0xf1,0xea,0x07,0x9f,0x9a,0xcb,0x00,0x0a,0x8a,0x6b,0x00,0x00,0xb4,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x86,0x02,0x80,0xd2,0x28,0x68,0x66,0xb8,0x1f,0x01,0x00,0xf1,0xe9,0x07,0x9f,0x9a,0x1f,0x1c,0x00,0xf1,0xea,0x07,0x9f,0x9a,0x1f,0x30,0x00,0xf1,0xeb,0x07,0x9f,0x9a,0x4c,0x01,0x0b,0x8a,0x2d,0x01,0x0c,0x8a,0x6d,0x00,0x00,0xb4,0x40,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xbf,0x00,0x00,0xf1,0x80,0x01,0x00,0x54,0x1f,0x08,0x00,0xf1,0xe6,0x07,0x9f,0x9a,0x1f,0x18,0x00,0xf1,0xe8,0x07,0x9f,0x9a,0x1f,0x20,0x00,0xf1,0xe9,0x07,0x9f,0x9a,0x0a,0x01,0x09,0x8a,0xcb,0x00,0x0a,0x8a,0x6b,0x00,0x00,0xb4,0x60,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x9f,0x00,0x00,0xf1,0x80,0x02,0x00,0x54,0x1f,0x0c,0x00,0xf1,0xe6,0x17,0x9f,0x9a,0x1f,0x10,0x00,0xf1,0xe8,0x17,0x9f,0x9a,0x1f,0x14,0x00,0xf1,0xe9,0x17,0x9f,0x9a,0x0a,0x01,0x09,0xaa,0xcb,0x00,0x0a,0xaa,0x6b,0x00,0x00,0xb4,0x80,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x1c,0x00,0xf1,0xe6,0x17,0x9f,0x9a,0x1f,0x38,0x00,0xf1,0xe8,0x17,0x9f,0x9a,0xc9,0x00,0x08,0xaa,0x69,0x00,0x00,0xb4,0x80,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x04,0x00,0xf1,0xe1,0x01,0x00,0x54,0x06,0x02,0x80,0xd2,0x28,0x68,0x66,0xb8,0x1f,0x09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b,0x00,0x0a,0x8a,0x7f,0x01,0x00,0xf1,0xec,0x07,0x9f,0x9a,0x2d,0x01,0x0c,0xaa,0x0e,0x01,0x0d,0xaa,0x6e,0x00,0x00,0xb4,0xe0,0x01,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x5f,0x00,0x00,0xf1,0xe6,0x07,0x9f,0x9a,0x88,0x00,0x80,0xd2,0x29,0x68,0x68,0xb8,0x3f,0x7d,0x00,0xf1,0xea,0x07,0x9f,0x9a,0xcb,0x00,0x0a,0x8a,0xeb,0x01,0x00,0xb4,0x88,0x00,0x80,0xd2,0x26,0x68,0x68,0xb8,0x08,0x00,0x80,0xd2,0x29,0x68,0x68,0xb8,0xdf,0x00,0x09,0xeb,0xea,0x17,0x9f,0x9a,0x8b,0x01,0x80,0xd2,0x2c,0x68,0x6b,0xb8,0xdf,0x00,0x0c,0xeb,0xed,0x17,0x9f,0x9a,0x4e,0x01,0x0d,0xaa,0x6e,0x00,0x00,0xb4,0x00,0x02,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x7f,0x00,0x00,0xf1,0xe6,0x07,0x9f,0x9a,0x08,0x00,0x80,0xd2,0x29,0x68,0x68,0xb8,0x8a,0x01,0x80,0xd2,0x2b,0x68,0x6a,0xb8,0x3f,0x01,0x0b,0xeb,0xec,0x17,0x9f,0x9a,0xcd,0x00,0x0c,0x8a,0x6d,0x00,0x00,0xb4,0x20,0x02,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x2c,0x00,0xf1,0x41,0x02,0x00,0x54,0xe6,0xff,0x9f,0x92,0x06,0x00,0xbf,0xf2,0x9f,0x00,0x06,0xeb,0xe8,0xa7,0x9f,0x9a,0x89,0xff,0x9f,0xd2,0xe9,0xff,0xa0,0xf2,0x9f,0x00,0x09,0xeb,0xea,0xd7,0x9f,0x9a,0x6b,0x00,0x80,0xd2,0x8c,0x00,0x0b,0x8a,0x9f,0x01,0x00,0xf1,0xed,0x07,0x9f,0x9a,0x4e,0x01,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x40,0xf9,0xde,0xfe,0xff,0x97,0xe4,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xfe,0x23,0x40,0xf9,0xff,0x43,0x01,0x91,0x9f,0x00,0x00,0xf1,0x60,0x00,0x00,0x54,0x80,0x7c,0x60,0xd3,0xc0,0x03,0x5f,0xd6,0xff,0xc3,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xfe,0x17,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0x48,0xfd,0xff,0x97,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xfe,0x17,0x40,0xf9,0xff,0xc3,0x00,0x91,0xc0,0x03,0x5f,0xd6,0xff,0xc3,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xfe,0x17,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x0b,0x40,0xf9,0xe2,0x13,0x40,0xf9,0xd5,0xfd,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xfe,0x17,0x40,0xf9,0xff,0xc3,0x00,0x91,0x1f,0x38,0x00,0xf1,0xe5,0x17,0x9f,0x9a,0x86,0x00,0x80,0xd2,0x88,0x68,0x66,0xb8,0x1f,0x7d,0x00,0xf1,0xe9,0x17,0x9f,0x9a,0xaa,0x00,0x09,0x8a,0x6a,0x00,0x00,0xb4,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xff,0xc3,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xfe,0x17,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x13,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xaa,0xff,0xff,0x97,0xe5,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xfe,0x17,0x40,0xf9,0xff,0xc3,0x00,0x91,0xbf,0x00,0x02,0xeb,0x60,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x02,0x00,0x80,0xd2,0x03,0x00,0x80,0xd2,0x04,0x00,0x80,0xd2,0x9f,0x10,0x00,0xf1,0x42,0x02,0x00,0x54,0x06,0x02,0x80,0xd2,0x88,0x7c,0x06,0x9b,0x1f,0x01,0x01,0xf1,0xc2,0x07,0x00,0x54,0x09,0x24,0xc8,0x9a,0xea,0xff,0x9f,0xd2,0x25,0x01,0x0a,0x8a,0xbf,0x00,0x00,0xf1,0x41,0x00,0x00,0x54,0x42,0x04,0x00,0x91,0xe6,0xff,0x9f,0xd2,0xbf,0x00,0x06,0xeb,0x41,0x00,0x00,0x54,0x63,0x04,0x00,0x91,0x84,0x04,0x00,0x91,0x9f,0x10,0x00,0xf1,0x03,0xfe,0xff,0x54,0x04,0x00,0x80,0xd2,0x25,0x03,0x80,0xd2,0x7f,0x00,0x02,0xeb,0x69,0x00,0x00,0x54,0xe4,0xff,0x9f,0xd2,0x45,0x03,0x80,0xd2,0x06,0x00,0x80,0xd2,0x08,0x00,0x80,0xd2,0x1f,0x11,0x00,0xf1,0x42,0x03,0x00,0x54,0x0a,0x02,0x80,0xd2,0x09,0x7d,0x0a,0x9b,0x3f,0x01,0x01,0xf1,0x62,0x04,0x00,0x54,0x0b,0x24,0xc9,0x9a,0xec,0xff,0x9f,0xd2,0x6a,0x01,0x0c,0x8a,0x5f,0x01,0x04,0xeb,0xc0,0x01,0x00,0x54,0x6b,0x03,0x80,0xd2,0xdf,0x00,0x00,0xf1,0x61,0x00,0x00,0x54,0xeb,0x03,0x05,0xaa,0x4a,0x01,0x04,0xca,0x2d,0xbd,0x70,0xd3,0x4c,0x01,0x0d,0xaa,0x6d,0x7d,0x60,0xd3,0xae,0x01,0x0c,0xaa,0xdf,0x10,0x00,0xf1,0x22,0x02,0x00,0x54,0x2e,0x78,0x26,0xf8,0xc6,0x04,0x00,0x91,0x08,0x05,0x00,0x91,0x1f,0x11,0x00,0xf1,0x03,0xfd,0xff,0x54,0xdf,0x00,0x00,0xf1,0xa1,0x00,0x00,0x54,0xa8,0x7c,0x60,0xd3,0x28,0x00,0x00,0xf9,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x06,0xaa,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0xe1,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17\n.previous\n"); -static const char ombr2_ident_osc_a64_fields[] = "omega-ident 1 unit=osc_a64_fields abi=2 profile=OM-2 src=d9d0e019a3837fcab5e7614debd0ebc833199d67cd505797c44b75eea3da1c41 omc=b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2"; +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_code_osc_a64_fields\n.hidden ombr2_code_osc_a64_fields\nombr2_code_osc_a64_fields:\n.byte 0x08,0x00,0x00,0x14,0xa6,0x00,0x00,0x14,0x86,0x01,0x00,0x14,0x96,0x02,0x00,0x14,0xc4,0x02,0x00,0x14,0xf9,0x02,0x00,0x14,0x21,0x04,0x00,0x14,0x6c,0x05,0x00,0x14,0x04,0x00,0x80,0xd2,0x45,0x68,0x64,0xb8,0xe3,0x03,0x05,0xaa,0x85,0x00,0x80,0xd2,0x46,0x68,0x65,0xb8,0xc4,0xe8,0x7b,0xd3,0x06,0x01,0x80,0xd2,0x48,0x68,0x66,0xb8,0x05,0xbd,0x70,0xd3,0x88,0x01,0x80,0xd2,0x49,0x68,0x68,0xb8,0x26,0xd5,0x76,0xd3,0x09,0x03,0x80,0xd2,0x4a,0x68,0x69,0xf8,0xe8,0x03,0x0a,0xaa,0x0a,0x04,0x80,0xd2,0x4b,0x68,0x6a,0xf8,0xe9,0x03,0x0b,0xaa,0x1f,0x04,0x00,0xf1,0x61,0x01,0x00,0x54,0x8b,0x00,0x05,0xaa,0x6a,0x00,0x0b,0xaa,0x0c,0x02,0x80,0xd2,0x4d,0x68,0x6c,0xb8,0xae,0xa5,0x6a,0xd3,0x0f,0xd5,0x76,0xd3,0xcb,0x01,0x0f,0xaa,0x4c,0x01,0x0b,0xaa,0x20,0x00,0x0c,0xaa,0xc0,0x03,0x5f,0xd6,0x1f,0x08,0x00,0xf1,0x01,0x01,0x00,0x54,0x6a,0x00,0x04,0xaa,0x2b,0xa5,0x6a,0xd3,0x0c,0xd5,0x76,0xd3,0x6d,0x01,0x0c,0xaa,0x4e,0x01,0x0d,0xaa,0x20,0x00,0x0e,0xaa,0xc0,0x03,0x5f,0xd6,0x1f,0x0c,0x00,0xf1,0xc1,0x00,0x00,0x54,0x6a,0x00,0x04,0xaa,0xab,0x00,0x06,0xaa,0x4c,0x01,0x0b,0xaa,0x20,0x00,0x0c,0xaa,0xc0,0x03,0x5f,0xd6,0x1f,0x10,0x00,0xf1,0xea,0x17,0x9f,0x9a,0x1f,0x14,0x00,0xf1,0xeb,0x17,0x9f,0x9a,0x4c,0x01,0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b,0xff,0x9f,0xd2,0xeb,0x7f,0xa0,0xf2,0x4c,0x01,0x0b,0x8a,0x20,0x00,0x0c,0xaa,0xc0,0x03,0x5f,0xd6,0x1f,0x30,0x00,0xf1,0xea,0x17,0x9f,0x9a,0x1f,0x34,0x00,0xf1,0xeb,0x17,0x9f,0x9a,0x4c,0x01,0x0b,0xaa,0x0c,0x02,0x00,0xb4,0x0b,0xfd,0x42,0xd3,0xec,0xff,0x9f,0xd2,0xec,0x00,0xa0,0xf2,0x6d,0x01,0x0c,0x8a,0xaa,0xe9,0x7b,0xd3,0x1f,0x30,0x00,0xf1,0xc1,0x00,0x00,0x54,0x8b,0x02,0x80,0xd2,0x4c,0x68,0x6b,0xb8,0x4d,0x01,0x0c,0xaa,0x20,0x00,0x0d,0xaa,0xc0,0x03,0x5f,0xd6,0x4b,0x01,0x03,0xaa,0x20,0x00,0x0b,0xaa,0xc0,0x03,0x5f,0xd6,0x1f,0x38,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x04,0xaa,0xc0,0x03,0x5f,0xd6,0x1f,0x3c,0x00,0xf1,0x81,0x00,0x00,0x54,0x0a,0xe9,0x7b,0xd3,0x20,0x00,0x0a,0xaa,0xc0,0x03,0x5f,0xd6,0x8e,0x00,0x00,0x54,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0xa1,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x03,0x00,0x01,0xca,0x64,0x00,0x01,0xcb,0x5f,0x00,0x01,0xf1,0xe2,0x00,0x00,0x54,0x85,0x20,0xc2,0x9a,0xe0,0x03,0x05,0xaa,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0xe1,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0xe3,0x03,0x80,0xd2,0x24,0x00,0x03,0x8a,0x85,0xfc,0x60,0xd3,0x85,0x1b,0x00,0xb5,0x06,0x00,0x80,0xd2,0x44,0x68,0x26,0xb8,0x23,0xfc,0x45,0xd3,0xe4,0x03,0x80,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xfc,0x60,0xd3,0xa6,0x1a,0x00,0xb5,0x88,0x00,0x80,0xd2,0x45,0x68,0x28,0xb8,0x23,0xfc,0x50,0xd3,0xe4,0x03,0x80,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xfc,0x60,0xd3,0xc6,0x19,0x00,0xb5,0x08,0x01,0x80,0xd2,0x45,0x68,0x28,0xb8,0x23,0xfc,0x4a,0xd3,0xe4,0x03,0x80,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xfc,0x60,0xd3,0xe6,0x18,0x00,0xb5,0x88,0x01,0x80,0xd2,0x45,0x68,0x28,0xb8,0x03,0x00,0x80,0xd2,0x04,0x02,0x80,0xd2,0x43,0x68,0x24,0xb8,0x03,0x00,0x80,0xd2,0x84,0x02,0x80,0xd2,0x43,0x68,0x24,0xb8,0x03,0x00,0x80,0xd2,0x04,0x03,0x80,0xd2,0x43,0x68,0x24,0xf8,0x03,0x00,0x80,0xd2,0x04,0x04,0x80,0xd2,0x43,0x68,0x24,0xf8,0x1f,0x04,0x00,0xf1,0xe1,0x01,0x00,0x54,0x23,0xfc,0x56,0xd3,0x64,0x00,0x80,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xfc,0x60,0xd3,0x46,0x16,0x00,0xb5,0x08,0x02,0x80,0xd2,0x45,0x68,0x28,0xb8,0x23,0xfc,0x4a,0xd3,0xe4,0x07,0x80,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xfc,0x7f,0xd3,0x66,0x15,0x00,0xb5,0x08,0x03,0x80,0xd2,0x45,0x68,0x28,0xf8,0x1f,0x08,0x00,0xf1,0xe1,0x01,0x00,0x54,0x23,0xfc,0x4a,0xd3,0xe4,0xff,0x81,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xfc,0x7f,0xd3,0x46,0x14,0x00,0xb5,0x08,0x03,0x80,0xd2,0x45,0x68,0x28,0xf8,0x23,0xfc,0x56,0xd3,0x24,0x00,0x80,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xfc,0x7f,0xd3,0x66,0x13,0x00,0xb5,0x08,0x04,0x80,0xd2,0x45,0x68,0x28,0xf8,0x1f,0x18,0x00,0xf1,0xe1,0x01,0x00,0x54,0x23,0xfc,0x50,0xd3,0xe4,0x07,0x80,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xfc,0x7f,0xd3,0x46,0x12,0x00,0xb5,0x08,0x03,0x80,0xd2,0x45,0x68,0x28,0xf8,0x23,0xfc,0x4a,0xd3,0xe4,0x07,0x80,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xfc,0x7f,0xd3,0x66,0x11,0x00,0xb5,0x08,0x04,0x80,0xd2,0x45,0x68,0x28,0xf8,0x1f,0x1c,0x00,0xf1,0x01,0x01,0x00,0x54,0x23,0xfc,0x4c,0xd3,0xe4,0x01,0x80,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xfc,0x60,0xd3,0x46,0x10,0x00,0xb5,0x88,0x02,0x80,0xd2,0x45,0x68,0x28,0xb8,0x1f,0x20,0x00,0xf1,0x01,0x02,0x00,0x54,0x23,0xfc,0x45,0xd3,0xe4,0xff,0x9f,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xfc,0x7f,0xd3,0x26,0x0f,0x00,0xb5,0x08,0x03,0x80,0xd2,0x45,0x68,0x28,0xf8,0x23,0xfc,0x55,0xd3,0x64,0x00,0x80,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xec,0x7c,0xd3,0xc8,0xfc,0x7f,0xd3,0x28,0x0e,0x00,0xb5,0x09,0x04,0x80,0xd2,0x46,0x68,0x29,0xf8,0x1f,0x24,0x00,0xf1,0x21,0x01,0x00,0x54,0x23,0xfc,0x4a,0xd3,0xe4,0xff,0x81,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xf0,0x7d,0xd3,0xc8,0xfc,0x7f,0xd3,0xe8,0x0c,0x00,0xb5,0x09,0x03,0x80,0xd2,0x46,0x68,0x29,0xf8,0x1f,0x28,0x00,0xf1,0x01,0x03,0x00,0x54,0x23,0xfc,0x4f,0xd3,0xe4,0x0f,0x80,0xd2,0x65,0x00,0x04,0x8a,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xfe,0x1b,0x00,0xf9,0xe0,0x17,0x40,0xf9,0x01,0x08,0x80,0xd2,0x62,0x00,0x80,0xd2,0x69,0xff,0xff,0x97,0xe3,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xfe,0x1b,0x40,0xf9,0xff,0x03,0x01,0x91,0x04,0x03,0x80,0xd2,0x43,0x68,0x24,0xf8,0x1f,0x2c,0x00,0xf1,0xe1,0x02,0x00,0x54,0xe3,0xff,0x9f,0xd2,0xe3,0x7f,0xa0,0xf2,0x24,0x00,0x03,0x8a,0xff,0xc3,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xfe,0x17,0x00,0xf9,0xe0,0x13,0x40,0xf9,0x01,0x40,0xa0,0xd2,0x42,0x00,0x80,0xd2,0x51,0xff,0xff,0x97,0xe3,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xfe,0x17,0x40,0xf9,0xff,0xc3,0x00,0x91,0x04,0x03,0x80,0xd2,0x43,0x68,0x24,0xf8,0x1f,0x30,0x00,0xf1,0xe3,0x17,0x9f,0x9a,0x1f,0x34,0x00,0xf1,0xe4,0x17,0x9f,0x9a,0x65,0x00,0x04,0xaa,0x25,0x04,0x00,0xb4,0x23,0xfc,0x45,0xd3,0xe4,0xff,0x9f,0xd2,0xe4,0x00,0xa0,0xf2,0x65,0x00,0x04,0x8a,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xfe,0x1b,0x00,0xf9,0xe0,0x17,0x40,0xf9,0x81,0x00,0xa0,0xd2,0x42,0x00,0x80,0xd2,0x33,0xff,0xff,0x97,0xe3,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xfe,0x1b,0x40,0xf9,0xff,0x03,0x01,0x91,0x04,0x03,0x80,0xd2,0x43,0x68,0x24,0xf8,0x1f,0x30,0x00,0xf1,0xe1,0x00,0x00,0x54,0xe3,0x01,0x80,0xd2,0x24,0x00,0x03,0x8a,0x85,0xfc,0x60,0xd3,0x05,0x02,0x00,0xb5,0x86,0x02,0x80,0xd2,0x44,0x68,0x26,0xb8,0x1f,0x3c,0x00,0xf1,0x01,0x01,0x00,0x54,0x23,0xfc,0x45,0xd3,0xe4,0xff,0x9f,0xd2,0x65,0x00,0x04,0x8a,0xa6,0xfc,0x7f,0xd3,0xe6,0x00,0x00,0xb5,0x08,0x03,0x80,0xd2,0x45,0x68,0x28,0xf8,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0xa1,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x05,0x03,0x80,0xd2,0x24,0x68,0x65,0xf8,0x06,0x04,0x80,0xd2,0x25,0x68,0x66,0xf8,0x1f,0x04,0x00,0xf1,0xe6,0x07,0x9f,0x9a,0x08,0x02,0x80,0xd2,0x29,0x68,0x68,0xb8,0x3f,0x01,0x00,0xf1,0xea,0x07,0x9f,0x9a,0xcb,0x00,0x0a,0x8a,0x6b,0x00,0x00,0xb4,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x86,0x02,0x80,0xd2,0x28,0x68,0x66,0xb8,0x1f,0x01,0x00,0xf1,0xe9,0x07,0x9f,0x9a,0x1f,0x1c,0x00,0xf1,0xea,0x07,0x9f,0x9a,0x1f,0x30,0x00,0xf1,0xeb,0x07,0x9f,0x9a,0x4c,0x01,0x0b,0x8a,0x2d,0x01,0x0c,0x8a,0x6d,0x00,0x00,0xb4,0x40,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xbf,0x00,0x00,0xf1,0x80,0x01,0x00,0x54,0x1f,0x08,0x00,0xf1,0xe6,0x07,0x9f,0x9a,0x1f,0x18,0x00,0xf1,0xe8,0x07,0x9f,0x9a,0x1f,0x20,0x00,0xf1,0xe9,0x07,0x9f,0x9a,0x0a,0x01,0x09,0x8a,0xcb,0x00,0x0a,0x8a,0x6b,0x00,0x00,0xb4,0x60,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x9f,0x00,0x00,0xf1,0x80,0x02,0x00,0x54,0x1f,0x0c,0x00,0xf1,0xe6,0x17,0x9f,0x9a,0x1f,0x10,0x00,0xf1,0xe8,0x17,0x9f,0x9a,0x1f,0x14,0x00,0xf1,0xe9,0x17,0x9f,0x9a,0x0a,0x01,0x09,0xaa,0xcb,0x00,0x0a,0xaa,0x6b,0x00,0x00,0xb4,0x80,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x1c,0x00,0xf1,0xe6,0x17,0x9f,0x9a,0x1f,0x38,0x00,0xf1,0xe8,0x17,0x9f,0x9a,0xc9,0x00,0x08,0xaa,0x69,0x00,0x00,0xb4,0x80,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x04,0x00,0xf1,0xe1,0x01,0x00,0x54,0x06,0x02,0x80,0xd2,0x28,0x68,0x66,0xb8,0x1f,0x09,0x00,0x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,0xde,0xfe,0xff,0x97,0xe4,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xfe,0x23,0x40,0xf9,0xff,0x43,0x01,0x91,0x9f,0x00,0x00,0xf1,0x60,0x00,0x00,0x54,0x80,0x7c,0x60,0xd3,0xc0,0x03,0x5f,0xd6,0xff,0xc3,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xfe,0x17,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0x48,0xfd,0xff,0x97,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xfe,0x17,0x40,0xf9,0xff,0xc3,0x00,0x91,0xc0,0x03,0x5f,0xd6,0xff,0xc3,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xfe,0x17,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x0b,0x40,0xf9,0xe2,0x13,0x40,0xf9,0xd5,0xfd,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xfe,0x17,0x40,0xf9,0xff,0xc3,0x00,0x91,0x1f,0x38,0x00,0xf1,0xe5,0x17,0x9f,0x9a,0x86,0x00,0x80,0xd2,0x88,0x68,0x66,0xb8,0x1f,0x7d,0x00,0xf1,0xe9,0x17,0x9f,0x9a,0xaa,0x00,0x09,0x8a,0x6a,0x00,0x00,0xb4,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xff,0xc3,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xfe,0x17,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x13,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xaa,0xff,0xff,0x97,0xe5,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xfe,0x17,0x40,0xf9,0xff,0xc3,0x00,0x91,0xbf,0x00,0x02,0xeb,0x60,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x02,0x00,0x80,0xd2,0x03,0x00,0x80,0xd2,0x04,0x00,0x80,0xd2,0x9f,0x10,0x00,0xf1,0x42,0x02,0x00,0x54,0x06,0x02,0x80,0xd2,0x88,0x7c,0x06,0x9b,0x1f,0x01,0x01,0xf1,0xc2,0x07,0x00,0x54,0x09,0x24,0xc8,0x9a,0xea,0xff,0x9f,0xd2,0x25,0x01,0x0a,0x8a,0xbf,0x00,0x00,0xf1,0x41,0x00,0x00,0x54,0x42,0x04,0x00,0x91,0xe6,0xff,0x9f,0xd2,0xbf,0x00,0x06,0xeb,0x41,0x00,0x00,0x54,0x63,0x04,0x00,0x91,0x84,0x04,0x00,0x91,0x9f,0x10,0x00,0xf1,0x03,0xfe,0xff,0x54,0x04,0x00,0x80,0xd2,0x25,0x03,0x80,0xd2,0x7f,0x00,0x02,0xeb,0x69,0x00,0x00,0x54,0xe4,0xff,0x9f,0xd2,0x45,0x03,0x80,0xd2,0x06,0x00,0x80,0xd2,0x08,0x00,0x80,0xd2,0x1f,0x11,0x00,0xf1,0x42,0x03,0x00,0x54,0x0a,0x02,0x80,0xd2,0x09,0x7d,0x0a,0x9b,0x3f,0x01,0x01,0xf1,0x62,0x04,0x00,0x54,0x0b,0x24,0xc9,0x9a,0xec,0xff,0x9f,0xd2,0x6a,0x01,0x0c,0x8a,0x5f,0x01,0x04,0xeb,0xc0,0x01,0x00,0x54,0x6b,0x03,0x80,0xd2,0xdf,0x00,0x00,0xf1,0x61,0x00,0x00,0x54,0xeb,0x03,0x05,0xaa,0x4a,0x01,0x04,0xca,0x2d,0xbd,0x70,0xd3,0x4c,0x01,0x0d,0xaa,0x6d,0x7d,0x60,0xd3,0xae,0x01,0x0c,0xaa,0xdf,0x10,0x00,0xf1,0x22,0x02,0x00,0x54,0x2e,0x78,0x26,0xf8,0xc6,0x04,0x00,0x91,0x08,0x05,0x00,0x91,0x1f,0x11,0x00,0xf1,0x03,0xfd,0xff,0x54,0xdf,0x00,0x00,0xf1,0xa1,0x00,0x00,0x54,0xa8,0x7c,0x60,0xd3,0x28,0x00,0x00,0xf9,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x06,0xaa,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0xe1,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0x1f,0x04,0x00,0xf1,0x81,0x00,0x00,0x54,0xe0,0xff,0x9f,0xd2,0xe0,0x1b,0xa0,0xf2,0xc0,0x03,0x5f,0xd6,0x1f,0x08,0x00,0xf1,0x81,0x00,0x00,0x54,0xe0,0xff,0x9f,0xd2,0xe0,0x0f,0xa0,0xf2,0xc0,0x03,0x5f,0xd6,0x1f,0x0c,0x00,0xf1,0x81,0x00,0x00,0x54,0xe0,0xff,0x8f,0xd2,0xe0,0x03,0xa0,0xf2,0xc0,0x03,0x5f,0xd6,0x1f,0x10,0x00,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,0xd2,0xe0,0x03,0xa0,0xf2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x04,0x00,0x80,0xd2,0xff,0x43,0x00,0xd1,0xe3,0x03,0x00,0x91,0x05,0x00,0x80,0xd2,0x64,0x78,0x25,0xb8,0xa5,0x04,0x00,0x91,0xbf,0x10,0x00,0xf1,0xa3,0xff,0xff,0x54,0x04,0x00,0x80,0xd2,0x9f,0x10,0x00,0xf1,0x22,0x03,0x00,0x54,0x9f,0x10,0x00,0xf1,0xe2,0x10,0x00,0x54,0xa5,0x01,0x80,0xd2,0xa5,0x00,0x04,0x8b,0x06,0x68,0x65,0x38,0xdf,0x00,0x00,0xf1,0xe8,0x17,0x9f,0x9a,0x9f,0x10,0x00,0xf1,0x02,0x10,0x00,0x54,0x29,0x00,0x80,0xd2,0x29,0x01,0x04,0x8b,0x2a,0x68,0x69,0x38,0x5f,0x01,0x00,0xf1,0xeb,0x07,0x9f,0x9a,0x0c,0x01,0x0b,0x8a,0xcc,0x00,0x00,0xb4,0x05,0x04,0x80,0xd2,0xa6,0x00,0x04,0x8b,0xc0,0x7c,0x60,0xd3,0xff,0x43,0x00,0x91,0xc0,0x03,0x5f,0xd6,0x84,0x04,0x00,0x91,0x9f,0x10,0x00,0xf1,0x23,0xfd,0xff,0x54,0x04,0x00,0x80,0xd2,0x9f,0x10,0x00,0xf1,0x22,0x06,0x00,0x54,0x9f,0x10,0x00,0xf1,0x82,0x0d,0x00,0x54,0xa6,0x01,0x80,0xd2,0xc6,0x00,0x04,0x8b,0x05,0x68,0x66,0x38,0x9f,0x10,0x00,0xf1,0xe2,0x0c,0x00,0x54,0x28,0x00,0x80,0xd2,0x08,0x01,0x04,0x8b,0x26,0x68,0x68,0x38,0xdf,0x78,0x00,0xf1,0xa8,0x00,0x00,0x54,0x9f,0x10,0x00,0xf1,0x02,0x0c,0x00,0x54,0x66,0x78,0x24,0xb8,0x1e,0x00,0x00,0x14,0xdf,0x84,0x00,0xf1,0x21,0x01,0x00,0x54,0xbf,0x08,0x00,0xf1,0xc0,0x00,0x00,0x54,0x88,0x04,0x80,0xd2,0x09,0x01,0x04,0x8b,0x20,0x7d,0x60,0xd3,0xff,0x43,0x00,0x91,0xc0,0x03,0x5f,0xd6,0x10,0x00,0x00,0x14,0xdf,0x80,0x00,0xf1,0x21,0x01,0x00,0x54,0xbf,0x04,0x00,0xf1,0xc0,0x00,0x00,0x54,0x08,0x05,0x80,0xd2,0x09,0x01,0x04,0x8b,0x20,0x7d,0x60,0xd3,0xff,0x43,0x00,0x91,0xc0,0x03,0x5f,0xd6,0x06,0x00,0x00,0x14,0x88,0x05,0x80,0xd2,0x09,0x01,0x04,0x8b,0x20,0x7d,0x60,0xd3,0xff,0x43,0x00,0x91,0xc0,0x03,0x5f,0xd6,0xe8,0x03,0x80,0xd2,0x9f,0x10,0x00,0xf1,0x42,0x08,0x00,0x54,0x68,0x78,0x24,0xb8,0x84,0x04,0x00,0x91,0x9f,0x10,0x00,0xf1,0x23,0xfa,0xff,0x54,0x64,0x00,0x40,0xb9,0x05,0x00,0x80,0xd2,0x44,0x68,0x25,0xb8,0x64,0x04,0x40,0xb9,0x85,0x00,0x80,0xd2,0x44,0x68,0x25,0xb8,0x64,0x08,0x40,0xb9,0x05,0x01,0x80,0xd2,0x44,0x68,0x25,0xb8,0x64,0x0c,0x40,0xb9,0x85,0x01,0x80,0xd2,0x44,0x68,0x25,0xb8,0xa4,0x00,0x80,0xd2,0x25,0x68,0x64,0x38,0x06,0x02,0x80,0xd2,0x45,0x68,0x26,0xb8,0xc4,0x00,0x80,0xd2,0x25,0x68,0x64,0x38,0x86,0x02,0x80,0xd2,0x45,0x68,0x26,0xb8,0x04,0x01,0x80,0xd2,0x25,0x68,0x64,0xf8,0x06,0x03,0x80,0xd2,0x45,0x68,0x26,0xf8,0x04,0x02,0x80,0xd2,0x25,0x68,0x64,0xf8,0x06,0x04,0x80,0xd2,0x45,0x68,0x26,0xf8,0x84,0x01,0x80,0xd2,0x05,0x68,0x64,0x38,0x06,0x01,0x80,0xd2,0x08,0x68,0x66,0xb8,0x29,0x02,0x80,0xd2,0x0a,0x68,0x69,0x38,0xff,0x83,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xfe,0x2b,0x00,0xf9,0xe0,0x17,0x40,0xf9,0xe1,0x1f,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x27,0x40,0xf9,0x7f,0xfe,0xff,0x97,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xfe,0x2b,0x40,0xf9,0xff,0x83,0x01,0x91,0xff,0x43,0x00,0x91,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x03,0x00,0x80,0xd2,0xff,0xc3,0x00,0xd1,0xe2,0x03,0x00,0x91,0x04,0x00,0x80,0xd2,0x43,0x68,0x24,0x38,0x84,0x04,0x00,0x91,0x9f,0xa0,0x00,0xf1,0xa3,0xff,0xff,0x54,0xff,0x83,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xfe,0x0f,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0x5b,0xff,0xff,0x97,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xfe,0x0f,0x40,0xf9,0xff,0x83,0x00,0x91,0xff,0xc3,0x00,0x91,0xc0,0x03,0x5f,0xd6,0x1f,0x00,0x00,0xf1,0x61,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x3f,0x7c,0x00,0xf1,0xa2,0x00,0x00,0x54,0x22,0xfc,0x48,0xd3,0x02,0x02,0x00,0xb5,0xe0,0x03,0x01,0xaa,0xc0,0x03,0x5f,0xd6,0x1f,0x04,0x00,0xf1,0x61,0x00,0x00,0x54,0x00,0x04,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x08,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x04,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xe0,0x1f,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0xa1,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x86,0x01,0x80,0xd2,0x48,0x68,0x66,0x38,0xe5,0x03,0x08,0xaa,0x08,0x01,0x80,0xd2,0x49,0x68,0x68,0xb8,0xe6,0x03,0x09,0xaa,0x28,0x02,0x80,0xd2,0x49,0x68,0x68,0x38,0xff,0x43,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xfe,0x27,0x00,0xf9,0xe0,0x17,0x40,0xf9,0xe1,0x1b,0x40,0xf9,0xe2,0x03,0x40,0xf9,0xe3,0x23,0x40,0xf9,0xe4,0x13,0x40,0xf9,0x59,0xfe,0xff,0x97,0xe8,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xfe,0x27,0x40,0xf9,0xff,0x43,0x01,0x91,0x1f,0x01,0x00,0xf1,0x61,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x28,0xfc,0x48,0xd3,0x88,0x13,0x00,0xb5,0x09,0x00,0x80,0xd2,0x61,0x68,0x29,0x38,0xa8,0x01,0x80,0xd2,0x49,0x68,0x68,0x38,0x0a,0x00,0x80,0xd2,0x8b,0x68,0x6a,0xb8,0xff,0x83,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xeb,0x2b,0x00,0xf9,0xfe,0x2f,0x00,0xf9,0xe0,0x23,0x40,0xf9,0xe1,0x2b,0x40,0xf9,0xa9,0xff,0xff,0x97,0xe8,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xfe,0x2f,0x40,0xf9,0xff,0x83,0x01,0x91,0x29,0x00,0x80,0xd2,0x68,0x68,0x29,0x38,0xc8,0x01,0x80,0xd2,0x49,0x68,0x68,0x38,0x8a,0x00,0x80,0xd2,0x8b,0x68,0x6a,0xb8,0xff,0x83,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xeb,0x2b,0x00,0xf9,0xfe,0x2f,0x00,0xf9,0xe0,0x23,0x40,0xf9,0xe1,0x2b,0x40,0xf9,0x89,0xff,0xff,0x97,0xe8,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xfe,0x2f,0x40,0xf9,0xff,0x83,0x01,0x91,0x49,0x00,0x80,0xd2,0x68,0x68,0x29,0x38,0xe8,0x01,0x80,0xd2,0x49,0x68,0x68,0x38,0x0a,0x01,0x80,0xd2,0x8b,0x68,0x6a,0xb8,0xff,0x83,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xeb,0x2b,0x00,0xf9,0xfe,0x2f,0x00,0xf9,0xe0,0x23,0x40,0xf9,0xe1,0x2b,0x40,0xf9,0x69,0xff,0xff,0x97,0xe8,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xfe,0x2f,0x40,0xf9,0xff,0x83,0x01,0x91,0x69,0x00,0x80,0xd2,0x68,0x68,0x29,0x38,0x08,0x02,0x80,0xd2,0x49,0x68,0x68,0x38,0x8a,0x01,0x80,0xd2,0x8b,0x68,0x6a,0xb8,0xff,0x83,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xeb,0x2b,0x00,0xf9,0xfe,0x2f,0x00,0xf9,0xe0,0x23,0x40,0xf9,0xe1,0x2b,0x40,0xf9,0x49,0xff,0xff,0x97,0xe8,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xfe,0x2f,0x40,0xf9,0xff,0x83,0x01,0x91,0x89,0x00,0x80,0xd2,0x68,0x68,0x29,0x38,0x08,0x02,0x80,0xd2,0x89,0x68,0x68,0xb8,0x2a,0xfd,0x48,0xd3,0xca,0x02,0x00,0xb5,0xab,0x00,0x80,0xd2,0x69,0x68,0x2b,0x38,0x88,0x02,0x80,0xd2,0x89,0x68,0x68,0xb8,0x2a,0xfd,0x48,0xd3,0x0a,0x02,0x00,0xb5,0xcb,0x00,0x80,0xd2,0x69,0x68,0x2b,0x38,0x08,0x03,0x80,0xd2,0x89,0x68,0x68,0xf8,0x0a,0x01,0x80,0xd2,0x69,0x68,0x2a,0xf8,0x08,0x04,0x80,0xd2,0x89,0x68,0x68,0xf8,0x0a,0x02,0x80,0xd2,0x69,0x68,0x2a,0xf8,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0xa1,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x45,0x30,0x00,0x91,0xbf,0x00,0x01,0xeb,0x82,0x07,0x00,0x54,0x06,0x68,0x65,0x38,0xe4,0x03,0x06,0xaa,0x46,0x20,0x00,0x91,0xdf,0x00,0x01,0xeb,0xe2,0x06,0x00,0x54,0x08,0x68,0x66,0x38,0xe5,0x03,0x08,0xaa,0x46,0x24,0x00,0x91,0xdf,0x00,0x01,0xeb,0x42,0x06,0x00,0x54,0x08,0x68,0x66,0x38,0x09,0xdd,0x78,0xd3,0xa5,0x00,0x09,0xaa,0x46,0x28,0x00,0x91,0xdf,0x00,0x01,0xeb,0x82,0x05,0x00,0x54,0x08,0x68,0x66,0x38,0x09,0xbd,0x70,0xd3,0xa5,0x00,0x09,0xaa,0x46,0x2c,0x00,0x91,0xdf,0x00,0x01,0xeb,0xc2,0x04,0x00,0x54,0x08,0x68,0x66,0x38,0x09,0x9d,0x68,0xd3,0xa5,0x00,0x09,0xaa,0x9f,0x00,0x00,0xf1,0xe6,0x07,0x9f,0x9a,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xfe,0x1f,0x00,0xf9,0xe0,0x13,0x40,0xf9,0x01,0xfe,0xff,0x97,0xe8,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xfe,0x1f,0x40,0xf9,0xff,0x03,0x01,0x91,0xe9,0xff,0x9f,0xd2,0xe9,0xff,0xbf,0xf2,0x0a,0x01,0x09,0xca,0x6b,0x00,0x0a,0x8a,0x7f,0x01,0x05,0xeb,0xec,0x17,0x9f,0x9a,0xc0,0x00,0x0c,0x8a,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x04,0x00,0x80,0xd2,0x9f,0x28,0x00,0xf1,0xc2,0x01,0x00,0x54,0x05,0x01,0x80,0xd2,0xa6,0x00,0x04,0x8b,0x48,0x20,0x00,0x91,0x09,0x01,0x04,0x8b,0x3f,0x01,0x01,0xeb,0x82,0x01,0x00,0x54,0x0a,0x68,0x69,0x38,0xdf,0x60,0x00,0xf1,0x22,0x01,0x00,0x54,0x6a,0x68,0x26,0x38,0x84,0x04,0x00,0x91,0x9f,0x28,0x00,0xf1,0x83,0xfe,0xff,0x54,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x05,0x00,0x80,0xd2,0xff,0xc3,0x00,0xd1,0xe4,0x03,0x00,0x91,0x06,0x00,0x80,0xd2,0x85,0x68,0x26,0x38,0xc6,0x04,0x00,0x91,0xdf,0xa0,0x00,0xf1,0xa3,0xff,0xff,0x54,0x06,0x00,0x80,0xd2,0xff,0x83,0x00,0xd1,0xe5,0x03,0x00,0x91,0x08,0x00,0x80,0xd2,0xa6,0x68,0x28,0x38,0x08,0x05,0x00,0x91,0x1f,0x61,0x00,0xf1,0xa3,0xff,0xff,0x54,0x08,0x03,0x80,0xd2,0x46,0x08,0xc8,0x9a,0x28,0x00,0x80,0xd2,0x09,0x00,0x80,0xd2,0x1f,0x01,0x06,0xeb,0x02,0x0d,0x00,0x54,0x3f,0xfd,0x03,0xf1,0x82,0x0d,0x00,0x54,0x29,0x05,0x00,0x91,0x0b,0x03,0x80,0xd2,0x0a,0x7d,0x0b,0x9b,0xff,0x83,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xfe,0x2b,0x00,0xf9,0xe0,0x07,0x40,0xf9,0xe1,0x0b,0x40,0xf9,0xe2,0x27,0x40,0xf9,0xe3,0x03,0x40,0xf9,0x7f,0xff,0xff,0x97,0xeb,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xea,0x27,0x40,0xf9,0xfe,0x2b,0x40,0xf9,0xff,0x83,0x01,0x91,0x4b,0x08,0x00,0xb4,0xff,0x83,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xfe,0x2b,0x00,0xf9,0xe0,0x07,0x40,0xf9,0xe1,0x0b,0x40,0xf9,0xe2,0x27,0x40,0xf9,0xe3,0x17,0x40,0xf9,0xa0,0xff,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xea,0x27,0x40,0xf9,0xfe,0x2b,0x40,0xf9,0xff,0x83,0x01,0x91,0xff,0x83,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xfe,0x2b,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x1f,0x40,0xf9,0xe2,0x17,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0x7c,0xfe,0xff,0x97,0xeb,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xea,0x27,0x40,0xf9,0xfe,0x2b,0x40,0xf9,0xff,0x83,0x01,0x91,0x7f,0x01,0x00,0xf1,0x80,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xff,0x43,0x01,0x91,0xc0,0x03,0x5f,0xd6,0x08,0x05,0x00,0x91,0x98,0xff,0xff,0x17,0x00,0x00,0x80,0xd2,0xff,0x43,0x01,0x91,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x81,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17\n.previous\n"); +static const char ombr2_ident_osc_a64_fields[] = "omega-ident 1 unit=osc_a64_fields abi=2 profile=OM-2 src=783248eccea83a576c65630099d70e544ce260a609a0dba83cac8f8663d96aab omc=b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2"; __attribute__((visibility("default"))) const char *omega2_ident_osc_a64_fields(void) { return ombr2_ident_osc_a64_fields; @@ -2676,6 +2676,52 @@ __attribute__((visibility("default"))) uint32_t omega2_osc_a64_materialize(uint6 return OMEGA_BAD_ARG; return ombr2_run(ombr2_entry_osc_a64_materialize, a, result, 1, ou, no); } +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_osc_a64_write\n.hidden ombr2_entry_osc_a64_write\nombr2_entry_osc_a64_write:\nhint #34\nb ombr2_code_osc_a64_fields+24\n.previous\n"); +extern const unsigned char ombr2_entry_osc_a64_write[] __attribute__((visibility("hidden"))); +/* export fn osc_a64_write spec view uchar 24 insn view uchar 24 to ulong */ +__attribute__((visibility("default"))) uint32_t omega2_osc_a64_write(uint64_t *result, const uint8_t *o_spec, uint64_t o_spec_len, const uint8_t *o_insn, uint64_t o_insn_len) +{ + ombr_span sp[7]; + unsigned ns = 0; + uint64_t a[6] = {0}; + ombr2_out ou[6] = {{0, 0, 0}}; + unsigned no = 0; + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) + return OMEGA_BAD_ARG; + if (ombr_span_add(sp, &ns, o_spec, o_spec_len, 24u, 1u, 0)) + return OMEGA_BAD_ARG; + a[0] = (uint64_t)(uintptr_t)o_spec; + if (ombr_span_add(sp, &ns, o_insn, o_insn_len, 24u, 1u, 0)) + return OMEGA_BAD_ARG; + a[1] = (uint64_t)(uintptr_t)o_insn; + if (ombr2_overlap(sp, ns)) + return OMEGA_BAD_ARG; + return ombr2_run(ombr2_entry_osc_a64_write, a, result, 1, ou, no); +} +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_osc_a64_read\n.hidden ombr2_entry_osc_a64_read\nombr2_entry_osc_a64_read:\nhint #34\nb ombr2_code_osc_a64_fields+28\n.previous\n"); +extern const unsigned char ombr2_entry_osc_a64_read[] __attribute__((visibility("hidden"))); +/* export fn osc_a64_read word ulong specs view uchar * insn edit uchar 24 to ulong */ +__attribute__((visibility("default"))) uint32_t omega2_osc_a64_read(uint64_t *result, uint64_t o_word, const uint8_t *o_specs, uint64_t o_specs_len, uint8_t *o_insn, uint64_t o_insn_len) +{ + ombr_span sp[7]; + unsigned ns = 0; + uint64_t a[6] = {0}; + ombr2_out ou[6] = {{0, 0, 0}}; + unsigned no = 0; + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) + return OMEGA_BAD_ARG; + a[0] = o_word; + if (ombr2_view(sp, &ns, o_specs, o_specs_len, 1u, 0)) + return OMEGA_BAD_ARG; + a[1] = (uint64_t)(uintptr_t)o_specs; + a[2] = o_specs_len; + if (ombr_span_add(sp, &ns, o_insn, o_insn_len, 24u, 1u, 1)) + return OMEGA_BAD_ARG; + a[3] = (uint64_t)(uintptr_t)o_insn; + if (ombr2_overlap(sp, ns)) + return OMEGA_BAD_ARG; + return ombr2_run(ombr2_entry_osc_a64_read, a, result, 1, ou, no); +} __asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_code_osc_statement\n.hidden ombr2_code_osc_statement\nombr2_code_osc_statement:\n.byte 0x43,0x00,0x00,0x14,0xc0,0x00,0x00,0x14,0x1d,0x01,0x00,0x14,0xa3,0x01,0x00,0x14,0x1c,0x02,0x00,0x14,0x05,0x00,0x80,0xd2,0x46,0x68,0x65,0xb8,0xe4,0x03,0x06,0xaa,0x9f,0x1c,0x00,0xf1,0xc2,0x06,0x00,0x54,0x06,0x78,0x64,0x78,0xdf,0xac,0x00,0xf1,0xe5,0x17,0x9f,0x9a,0xc5,0x00,0x00,0xb4,0x84,0x04,0x00,0x91,0x86,0xfc,0x60,0xd3,0x26,0x06,0x00,0xb5,0x08,0x00,0x80,0xd2,0x44,0x68,0x28,0xb8,0x9f,0x1c,0x00,0xf1,0x62,0x05,0x00,0x54,0x06,0x78,0x64,0x78,0xdf,0x08,0x00,0xf1,0x60,0x00,0x00,0x54,0x60,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x9f,0x1c,0x00,0xf1,0x82,0x04,0x00,0x54,0x26,0x78,0x64,0xf8,0xe9,0xff,0x9f,0x92,0x09,0x00,0xa0,0xf2,0x09,0x00,0xc0,0xf2,0x09,0x00,0xf0,0xf2,0x28,0x05,0x00,0xd1,0xa5,0x00,0x00,0xb4,0xe8,0xff,0x9f,0x92,0x08,0x00,0xa0,0xf2,0x08,0x00,0xc0,0xf2,0x08,0x00,0xf0,0xf2,0xdf,0x00,0x08,0xeb,0x69,0x00,0x00,0x54,0x80,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x65,0x00,0x00,0xb4,0x09,0x00,0x80,0xd2,0x26,0x01,0x06,0xcb,0x7f,0x00,0x00,0xf1,0x80,0x00,0x00,0x54,0x09,0x02,0x80,0xd2,0x46,0x68,0x29,0xf8,0x03,0x00,0x00,0x14,0x09,0x01,0x80,0xd2,0x46,0x68,0x29,0xf8,0x89,0x04,0x00,0x91,0x2a,0xfd,0x60,0xd3,0x4a,0x01,0x00,0xb5,0x0b,0x00,0x80,0xd2,0x49,0x68,0x2b,0xb8,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0xa1,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0x04,0x00,0x80,0xd2,0x05,0x00,0x80,0xd2,0x64,0x68,0x25,0xb8,0x04,0x00,0x80,0xd2,0x85,0x00,0x80,0xd2,0x64,0x68,0x25,0xb8,0x04,0x00,0x80,0xd2,0x05,0x01,0x80,0xd2,0x64,0x68,0x25,0xf8,0x04,0x00,0x80,0xd2,0x05,0x02,0x80,0xd2,0x64,0x68,0x25,0xf8,0x04,0x00,0x40,0x79,0x9f,0x04,0x00,0xf1,0x60,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x24,0x00,0x80,0xd2,0x05,0x00,0x80,0xd2,0x64,0x68,0x25,0xb8,0x04,0x04,0x40,0x79,0x9f,0x38,0x00,0xf1,0x60,0x00,0x00,0x54,0x40,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x44,0x00,0x80,0xd2,0x05,0x00,0x80,0xd2,0x64,0x68,0x25,0xb8,0x44,0x00,0x80,0xd2,0x85,0x00,0x80,0xd2,0x64,0x68,0x25,0xb8,0xff,0xc3,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xfe,0x17,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0f,0x40,0xf9,0x03,0x00,0x80,0xd2,0x98,0xff,0xff,0x97,0xe4,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xfe,0x17,0x40,0xf9,0xff,0xc3,0x00,0x91,0x9f,0x00,0x00,0xf1,0x60,0x00,0x00,0x54,0xe0,0x03,0x04,0xaa,0xc0,0x03,0x5f,0xd6,0x06,0x00,0x80,0xd2,0x68,0x68,0x66,0xb8,0xe5,0x03,0x08,0xaa,0xbf,0x1c,0x00,0xf1,0x02,0x08,0x00,0x54,0x06,0x78,0x65,0x78,0xdf,0xa0,0x00,0xf1,0x60,0x00,0x00,0x54,0xa0,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xa6,0x04,0x00,0x91,0xc8,0xfc,0x60,0xd3,0x48,0x07,0x00,0xb5,0x09,0x00,0x80,0xd2,0x66,0x68,0x29,0xb8,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xfe,0x1b,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0f,0x40,0xf9,0x23,0x00,0x80,0xd2,0x71,0xff,0xff,0x97,0xe4,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xfe,0x1b,0x40,0xf9,0xff,0x03,0x01,0x91,0x9f,0x00,0x00,0xf1,0x60,0x00,0x00,0x54,0xe0,0x03,0x04,0xaa,0xc0,0x03,0x5f,0xd6,0x08,0x01,0x80,0xd2,0x66,0x68,0x68,0xf8,0x09,0x02,0x80,0xd2,0x68,0x68,0x69,0xf8,0xe9,0xff,0x9f,0x92,0x09,0x00,0xa0,0xf2,0x09,0x00,0xc0,0xf2,0x09,0x00,0xf0,0xf2,0x0a,0x01,0x09,0xca,0xeb,0xff,0x9f,0x92,0x0b,0x00,0xa0,0xf2,0x0b,0x00,0xc0,0xf2,0x0b,0x00,0xf0,0xf2,0xcc,0x00,0x0b,0xca,0x5f,0x01,0x0c,0xeb,0xed,0x27,0x9f,0x9a,0x0e,0x01,0x06,0xcb,0xdf,0x01,0x02,0xeb,0xef,0x97,0x9f,0x9a,0xb1,0x01,0x0f,0xaa,0x71,0x00,0x00,0xb4,0xc0,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0xa1,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0x84,0x01,0x80,0xd2,0x1f,0x00,0x04,0xeb,0x60,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x44,0x00,0x80,0xd2,0x3f,0x00,0x04,0xeb,0x60,0x00,0x00,0x54,0x40,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x5f,0x00,0x00,0xf1,0xe4,0x17,0x9f,0x9a,0x5f,0x00,0x03,0xeb,0xe5,0x97,0x9f,0x9a,0x86,0x00,0x05,0xaa,0x66,0x00,0x00,0xb4,0x60,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x05,0x00,0x80,0xd2,0x06,0x00,0x80,0xd2,0xbf,0x00,0x04,0xeb,0x82,0x02,0x00,0x54,0x08,0x48,0x88,0xd2,0xe8,0x01,0xa0,0xf2,0xdf,0x00,0x08,0xeb,0x82,0x03,0x00,0x54,0xc6,0x04,0x00,0x91,0x48,0x00,0x05,0x8b,0x1f,0x01,0x01,0xeb,0xc2,0x02,0x00,0x54,0x09,0x68,0x68,0x38,0x6a,0x00,0x05,0x8b,0x5f,0x01,0x01,0xeb,0x42,0x02,0x00,0x54,0x0b,0x68,0x6a,0x38,0x3f,0x01,0x0b,0xeb,0x60,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xa5,0x04,0x00,0x91,0xec,0xff,0xff,0x17,0x46,0x00,0x04,0x8b,0xdf,0x00,0x01,0xeb,0x02,0x01,0x00,0x54,0x08,0x68,0x66,0x38,0x1f,0x01,0x00,0xf1,0xe0,0x17,0x9f,0x9a,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0xe5,0x03,0x01,0xaa,0x66,0x00,0x04,0xcb,0xbf,0x00,0x06,0xeb,0x43,0x00,0x00,0x54,0xc5,0x04,0x00,0xd1,0x08,0x00,0x80,0xd2,0x09,0x00,0x80,0xd2,0x1f,0x01,0x05,0xeb,0xe2,0x01,0x00,0x54,0x0a,0x48,0x88,0xd2,0xea,0x01,0xa0,0xf2,0x3f,0x01,0x0a,0xeb,0xe2,0x02,0x00,0x54,0x29,0x05,0x00,0x91,0x8a,0x00,0x08,0x8b,0x1f,0x01,0x01,0xeb,0x22,0x02,0x00,0x54,0x0b,0x68,0x68,0x38,0x5f,0x01,0x03,0xeb,0xc2,0x01,0x00,0x54,0x4b,0x68,0x2a,0x38,0x08,0x05,0x00,0x91,0xf1,0xff,0xff,0x17,0x89,0x00,0x05,0x8b,0x0a,0x00,0x80,0xd2,0x3f,0x01,0x03,0xeb,0xe2,0x00,0x00,0x54,0x4a,0x68,0x29,0x38,0xe0,0x03,0x05,0xaa,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0x06,0x00,0x80,0xd2,0x88,0x01,0x80,0xd2,0x06,0x68,0x28,0xb8,0x88,0x00,0x80,0xd2,0x09,0x68,0x68,0xb8,0xe6,0x03,0x09,0xaa,0x09,0x01,0x80,0xd2,0x0a,0x68,0x69,0xb8,0xe8,0x03,0x0a,0xaa,0x09,0x00,0x80,0xd2,0x0a,0x68,0x69,0xb8,0x5f,0x01,0x00,0xf1,0x60,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x29,0x00,0x80,0xd2,0x3f,0x00,0x09,0xeb,0x60,0x00,0x00,0x54,0x40,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xbf,0x00,0x00,0xf1,0x61,0x00,0x00,0x54,0x60,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xa9,0x00,0x06,0xcb,0x2a,0x01,0x08,0x8b,0xff,0x83,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xeb,0x2b,0x00,0xf9,0xfe,0x2f,0x00,0xf9,0xe0,0x0b,0x40,0xf9,0xe1,0x0f,0x40,0xf9,0xe2,0x13,0x40,0xf9,0xe3,0x17,0x40,0xf9,0xe4,0x27,0x40,0xf9,0xaf,0xff,0xff,0x97,0xeb,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xea,0x27,0x40,0xf9,0xfe,0x2f,0x40,0xf9,0xff,0x83,0x01,0x91,0x0c,0x00,0x80,0xd2,0x0d,0x00,0x80,0xd2,0x9f,0x01,0x09,0xeb,0x02,0x07,0x00,0x54,0x0e,0x48,0x88,0xd2,0xee,0x01,0xa0,0xf2,0xbf,0x01,0x0e,0xeb,0x42,0x08,0x00,0x54,0xad,0x05,0x00,0x91,0x8e,0x01,0x08,0x8b,0xff,0x03,0x02,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xeb,0x2b,0x00,0xf9,0xec,0x2f,0x00,0xf9,0xed,0x33,0x00,0xf9,0xee,0x37,0x00,0xf9,0xfe,0x3b,0x00,0xf9,0xe0,0x13,0x40,0xf9,0xe1,0x17,0x40,0xf9,0xe2,0x37,0x40,0xf9,0xe3,0x27,0x40,0xf9,0xe4,0x2b,0x40,0xf9,0x5d,0xff,0xff,0x97,0xee,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xea,0x27,0x40,0xf9,0xeb,0x2b,0x40,0xf9,0xec,0x2f,0x40,0xf9,0xed,0x33,0x40,0xf9,0xfe,0x3b,0x40,0xf9,0xff,0x03,0x02,0x91,0x2e,0x01,0x00,0xb4,0xc6,0x02,0x00,0xb4,0x8e,0x09,0xc6,0x9a,0xcf,0xfd,0x60,0xd3,0xef,0x02,0x00,0xb5,0x91,0x01,0x80,0xd2,0x0e,0x68,0x31,0xb8,0x80,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x8c,0x01,0x06,0x8b,0xc8,0xff,0xff,0x17,0x0d,0x02,0x80,0xd2,0x0e,0x68,0x6d,0xb8,0xaf,0x04,0x80,0xd2,0xdf,0x01,0x0f,0xeb,0x60,0x00,0x00,0x54,0xa0,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x41,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0xa1,0x00,0x80,0xd2,0xf8,0xff,0xff,0x17,0x3f,0x00,0x00,0xf1,0xe8,0x07,0x9f,0x9a,0x5f,0x78,0x00,0xf1,0xe9,0x07,0x9f,0x9a,0x7f,0x7c,0x00,0xf1,0xea,0x07,0x9f,0x9a,0x2b,0x01,0x0a,0x8a,0x06,0x01,0x0b,0x8a,0x28,0x00,0x05,0x8b,0x46,0x00,0x00,0xb4,0x08,0x05,0x00,0x91,0x1f,0x01,0x04,0xf1,0x63,0x00,0x00,0x54,0x00,0x20,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xc6,0x00,0x00,0xb4,0x09,0x04,0x80,0xd2,0x3f,0x00,0x04,0xf1,0xc2,0x03,0x00,0x54,0x09,0x68,0x21,0x38,0x21,0x04,0x00,0x91,0x09,0x00,0x80,0xd2,0x0a,0x00,0x80,0xd2,0x3f,0x01,0x05,0xeb,0xe2,0x01,0x00,0x54,0x0b,0x48,0x88,0xd2,0xeb,0x01,0xa0,0xf2,0x5f,0x01,0x0b,0xeb,0xc2,0x02,0x00,0x54,0x4a,0x05,0x00,0x91,0x2b,0x00,0x09,0x8b,0x3f,0x01,0x05,0xeb,0x02,0x02,0x00,0x54,0x8c,0x68,0x69,0x38,0x7f,0x01,0x04,0xf1,0xa2,0x01,0x00,0x54,0x0c,0x68,0x2b,0x38,0x29,0x05,0x00,0x91,0xf1,0xff,0xff,0x17,0x0a,0x00,0x80,0xd2,0x1f,0x01,0x04,0xf1,0xe2,0x00,0x00,0x54,0x0a,0x68,0x28,0x38,0xe0,0x03,0x08,0xaa,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0x3f,0x10,0x00,0xf1,0x60,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x02,0x00,0x80,0xd2,0x5f,0x00,0x01,0xeb,0xa2,0x03,0x00,0x54,0x03,0x68,0x62,0x38,0x7f,0x98,0x01,0xf1,0xe4,0x17,0x9f,0x9a,0x25,0x00,0x80,0xd2,0xbf,0x00,0x01,0xeb,0xe2,0x02,0x00,0x54,0x06,0x68,0x65,0x38,0xdf,0xc8,0x01,0xf1,0xe8,0x17,0x9f,0x9a,0x49,0x00,0x80,0xd2,0x3f,0x01,0x01,0xeb,0x22,0x02,0x00,0x54,0x0a,0x68,0x69,0x38,0x5f,0x95,0x01,0xf1,0xeb,0x17,0x9f,0x9a,0x6c,0x00,0x80,0xd2,0x9f,0x01,0x01,0xeb,0x62,0x01,0x00,0x54,0x0d,0x68,0x6c,0x38,0xbf,0x95,0x01,0xf1,0xee,0x17,0x9f,0x9a,0x6f,0x01,0x0e,0x8a,0x11,0x01,0x0f,0x8a,0x80,0x00,0x11,0x8a,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0xa2,0x04,0x80,0xd2,0x3f,0x14,0x00,0xf1,0xc2,0x01,0x00,0x54,0x03,0x01,0x80,0xd2,0x63,0x08,0x01,0x8b,0x02,0x68,0x23,0xb8,0x22,0x04,0x00,0x91,0x43,0xfc,0x60,0xd3,0x43,0x01,0x00,0xb5,0x84,0x00,0x80,0xd2,0x02,0x68,0x24,0xb8,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0xa1,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0x01,0xfc,0x60,0xd3,0x41,0x01,0x00,0xb5,0x1f,0xbc,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x09,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xe0,0x08,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0xa1,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x26,0xfc,0x60,0xd3,0x86,0x25,0x00,0xb5,0x3f,0x3c,0x00,0xf1,0xe1,0x08,0x00,0x54,0xa6,0x01,0x80,0xd2,0x88,0x03,0x80,0xd2,0x06,0x68,0x28,0xb8,0x26,0x00,0x80,0xd2,0x08,0x00,0x80,0xd2,0x06,0x68,0x28,0xb8,0x46,0xfc,0x60,0xd3,0x46,0x24,0x00,0xb5,0xa8,0x04,0x80,0xd2,0x5f,0x00,0x08,0xeb,0x81,0x02,0x00,0x54,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xfe,0x1b,0x00,0xf9,0xe0,0x03,0x40,0xf9,0x01,0x00,0x80,0xd2,0xc6,0xff,0xff,0x97,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xfe,0x1b,0x40,0xf9,0xff,0x03,0x01,0x91,0xc0,0x03,0x5f,0xd6,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xfe,0x1b,0x00,0xf9,0xe0,0x0b,0x40,0xf9,0xc8,0xff,0xff,0x97,0xe6,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xfe,0x1b,0x40,0xf9,0xff,0x03,0x01,0x91,0x08,0x01,0x80,0xd2,0x06,0x68,0x28,0xb8,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xfe,0x1b,0x00,0xf9,0xe0,0x03,0x40,0xf9,0x21,0x00,0x80,0xd2,0x9e,0xff,0xff,0x97,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xfe,0x1b,0x40,0xf9,0xff,0x03,0x01,0x91,0xc0,0x03,0x5f,0xd6,0x46,0xfc,0x60,0xd3,0x46,0x1c,0x00,0xb5,0x5f,0x78,0x00,0xf1,0xa1,0x03,0x00,0x54,0xc6,0x01,0x80,0xd2,0x88,0x03,0x80,0xd2,0x06,0x68,0x28,0xb8,0x06,0x00,0x80,0xd2,0x08,0x00,0x80,0xd2,0x06,0x68,0x28,0xb8,0xc6,0x08,0x80,0xd2,0x08,0x01,0x80,0xd2,0x06,0x68,0x28,0xb8,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xfe,0x1b,0x00,0xf9,0xe0,0x03,0x40,0xf9,0x21,0x00,0x80,0xd2,0x7e,0xff,0xff,0x97,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xfe,0x1b,0x40,0xf9,0xff,0x03,0x01,0x91,0xc0,0x03,0x5f,0xd6,0x46,0xfc,0x60,0xd3,0x46,0x18,0x00,0xb5,0x5f,0xfc,0x00,0xf1,0x01,0x0c,0x00,0x54,0x66,0xfc,0x60,0xd3,0xc6,0x17,0x00,0xb5,0x7f,0x0c,0x00,0xf1,0xe8,0x17,0x9f,0x9a,0xff,0x43,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xfe,0x23,0x00,0xf9,0xe0,0x13,0x40,0xf9,0xe1,0x17,0x40,0xf9,0x3c,0xff,0xff,0x97,0xe9,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xfe,0x23,0x40,0xf9,0xff,0x43,0x01,0x91,0x0a,0x01,0x09,0x8a,0x6a,0x04,0x00,0xb4,0xe6,0x03,0x80,0xd2,0x88,0x03,0x80,0xd2,0x06,0x68,0x28,0xb8,0x66,0x00,0x80,0xd2,0x08,0x00,0x80,0xd2,0x06,0x68,0x28,0xb8,0xc6,0x03,0x80,0xd2,0x08,0x01,0x80,0xd2,0x06,0x68,0x28,0xb8,0xe6,0x08,0x80,0xd2,0x88,0x01,0x80,0xd2,0x06,0x68,0x28,0xb8,0xe6,0x03,0x80,0xd2,0x08,0x02,0x80,0xd2,0x06,0x68,0x28,0xb8,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xfe,0x1b,0x00,0xf9,0xe0,0x03,0x40,0xf9,0x61,0x00,0x80,0xd2,0x3a,0xff,0xff,0x97,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xfe,0x1b,0x40,0xf9,0xff,0x03,0x01,0x91,0xc0,0x03,0x5f,0xd6,0x46,0x03,0x80,0xd2,0x88,0x03,0x80,0xd2,0x06,0x68,0x28,0xb8,0x06,0x00,0x80,0xd2,0x08,0x00,0x80,0xd2,0x06,0x68,0x28,0xb8,0x26,0x05,0x80,0xd2,0x08,0x01,0x80,0xd2,0x06,0x68,0x28,0xb8,0x06,0x09,0x80,0xd2,0x88,0x01,0x80,0xd2,0x06,0x68,0x28,0xb8,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xfe,0x1b,0x00,0xf9,0xe0,0x03,0x40,0xf9,0x41,0x00,0x80,0xd2,0x1b,0xff,0xff,0x97,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xfe,0x1b,0x40,0xf9,0xff,0x03,0x01,0x91,0xc0,0x03,0x5f,0xd6,0x46,0xfc,0x60,0xd3,0xe6,0x0b,0x00,0xb5,0x5f,0xa4,0x00,0xf1,0xe1,0x05,0x00,0x54,0x06,0x01,0x80,0xd2,0x88,0x03,0x80,0xd2,0x06,0x68,0x28,0xb8,0x46,0x00,0x80,0xd2,0x08,0x00,0x80,0xd2,0x06,0x68,0x28,0xb8,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xfe,0x1b,0x00,0xf9,0xe0,0x0f,0x40,0xf9,0x13,0xff,0xff,0x97,0xe6,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xfe,0x1b,0x40,0xf9,0xff,0x03,0x01,0x91,0x08,0x01,0x80,0xd2,0x06,0x68,0x28,0xb8,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xfe,0x1b,0x00,0xf9,0xe0,0x03,0x40,0xf9,0x21,0x00,0x80,0xd2,0xe9,0xfe,0xff,0x97,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xfe,0x1b,0x40,0xf9,0xff,0x03,0x01,0x91,0xc0,0x03,0x5f,0xd6,0x46,0xfc,0x60,0xd3,0xa6,0x05,0x00,0xb5,0x5f,0x88,0x00,0xf1,0xc1,0x04,0x00,0x54,0x26,0x01,0x80,0xd2,0x88,0x03,0x80,0xd2,0x06,0x68,0x28,0xb8,0x46,0x00,0x80,0xd2,0x08,0x00,0x80,0xd2,0x06,0x68,0x28,0xb8,0x46,0x09,0x80,0xd2,0x08,0x01,0x80,0xd2,0x06,0x68,0x28,0xb8,0x66,0x04,0x80,0xd2,0x88,0x01,0x80,0xd2,0x06,0x68,0x28,0xb8,0x26,0x05,0x80,0xd2,0x08,0x02,0x80,0xd2,0x06,0x68,0x28,0xb8,0x66,0x09,0x80,0xd2,0x88,0x02,0x80,0xd2,0x06,0x68,0x28,0xb8,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xfe,0x1b,0x00,0xf9,0xe0,0x03,0x40,0xf9,0x81,0x00,0x80,0xd2,0xc0,0xfe,0xff,0x97,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xfe,0x1b,0x40,0xf9,0xff,0x03,0x01,0x91,0xc0,0x03,0x5f,0xd6,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0xa1,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17\n.previous\n"); static const char ombr2_ident_osc_statement[] = "omega-ident 1 unit=osc_statement abi=2 profile=OM-2 src=a7b0105f7f6556f4b78142c36b3208d8d5072df232898491f5fc010a7903c914 omc=b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2"; __attribute__((visibility("default"))) const char *omega2_ident_osc_statement(void) @@ -4582,6 +4628,22 @@ uint64_t osc_a64_materialize(uint64_t o_value, uint64_t o_plan[4]) abort(); return r; } +/* export fn osc_a64_write spec view uchar 24 insn view uchar 24 to ulong */ +uint64_t osc_a64_write(const uint8_t o_spec[24], const uint8_t o_insn[24]) +{ + uint64_t r = 0; + if (omega2_osc_a64_write(&r, o_spec, 24, o_insn, 24) != OMEGA_OK) + abort(); + return r; +} +/* export fn osc_a64_read word ulong specs view uchar * insn edit uchar 24 to ulong */ +uint64_t osc_a64_read(uint64_t o_word, const uint8_t *o_specs, size_t o_specs_len, uint8_t o_insn[24]) +{ + uint64_t r = 0; + if (omega2_osc_a64_read(&r, (uint64_t)o_word, o_specs, o_specs_len, o_insn, 24) != OMEGA_OK) + abort(); + return r; +} /* export fn osc_for_range kinds view ushort 7 values view ulong 7 limit ulong range edit forrange to ulong */ uint64_t osc_for_range(const uint16_t o_kinds[7], const uint64_t o_values[7], uint64_t o_limit, OscForRange *o_range) { @@ -5500,6 +5562,88 @@ __attribute__((visibility("default"))) uint32_t omega2_tensor_is_row_major(uint6 return OMEGA_BAD_ARG; return ombr_leaf2_run(ombr_leaf2_entry_tensor_is_row_major, a, result, 1, ou, no, 0); } +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr_leaf2_code_gradient_shape\n.hidden ombr_leaf2_code_gradient_shape\nombr_leaf2_code_gradient_shape:\n.byte 0x03,0x00,0x00,0x14,0x4d,0x00,0x00,0x14,0x75,0x00,0x00,0x14,0x3f,0x20,0x00,0xf1,0x08,0x09,0x00,0x54,0x7f,0x20,0x00,0xf1,0xc8,0x08,0x00,0x54,0x3f,0x00,0x03,0xeb,0x62,0x00,0x00,0x54,0x00,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x25,0x00,0x03,0xcb,0x06,0x00,0x80,0xd2,0x08,0x00,0x80,0xd2,0xdf,0x00,0x05,0xeb,0xa2,0x01,0x00,0x54,0x09,0x48,0x88,0xd2,0xe9,0x01,0xa0,0xf2,0x1f,0x01,0x09,0xeb,0xa2,0x06,0x00,0x54,0x08,0x05,0x00,0x91,0x09,0x00,0x80,0xd2,0xdf,0x20,0x00,0xf1,0xe2,0x05,0x00,0x54,0x89,0x68,0x26,0x38,0xc6,0x04,0x00,0x91,0xdf,0x00,0x05,0xeb,0xa3,0xfe,0xff,0x54,0xe6,0x03,0x05,0xaa,0x08,0x00,0x80,0xd2,0x09,0x00,0x80,0xd2,0x1f,0x01,0x03,0xeb,0xe2,0x03,0x00,0x54,0x0a,0x48,0x88,0xd2,0xea,0x01,0xa0,0xf2,0x3f,0x01,0x0a,0xeb,0x82,0x04,0x00,0x54,0x29,0x05,0x00,0x91,0x1f,0x01,0x03,0xeb,0xe2,0x03,0x00,0x54,0x4a,0x78,0x68,0xf8,0x5f,0x05,0x00,0xf1,0xeb,0x17,0x9f,0x9a,0xac,0x00,0x08,0x8b,0x9f,0x01,0x01,0xeb,0x22,0x03,0x00,0x54,0x0d,0x78,0x6c,0xf8,0xbf,0x05,0x00,0xf1,0xee,0x07,0x9f,0x9a,0x6f,0x01,0x0e,0x8a,0x4f,0x01,0x00,0xb4,0x4a,0x00,0x80,0xd2,0x0b,0x7d,0x0a,0x9b,0x6c,0x05,0x00,0x91,0x8d,0xfd,0x48,0xd3,0x6d,0x02,0x00,0xb5,0xdf,0x20,0x00,0xf1,0xa2,0x01,0x00,0x54,0x8c,0x68,0x26,0x38,0xc6,0x04,0x00,0x91,0x08,0x05,0x00,0x91,0x1f,0x01,0x03,0xeb,0x63,0xfc,0xff,0x54,0xc8,0xfc,0x7f,0xd3,0x48,0x01,0x00,0xb5,0xe0,0x03,0x06,0xaa,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0xa1,0x00,0x80,0xd2,0xf8,0xff,0xff,0x17,0x21,0x01,0x80,0xd2,0xf6,0xff,0xff,0x17,0x3f,0x20,0x00,0xf1,0xc8,0x04,0x00,0x54,0x7f,0x20,0x00,0xf1,0x88,0x04,0x00,0x54,0x3f,0x00,0x03,0xeb,0x60,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x04,0x00,0x80,0xd2,0x05,0x00,0x80,0xd2,0x9f,0x00,0x01,0xeb,0x62,0x02,0x00,0x54,0x06,0x48,0x88,0xd2,0xe6,0x01,0xa0,0xf2,0xbf,0x00,0x06,0xeb,0xc2,0x02,0x00,0x54,0xa5,0x04,0x00,0x91,0x9f,0x00,0x01,0xeb,0x22,0x02,0x00,0x54,0x06,0x78,0x64,0xf8,0x9f,0x00,0x03,0xeb,0xc2,0x01,0x00,0x54,0x48,0x78,0x64,0xf8,0xdf,0x00,0x08,0xeb,0x60,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x84,0x04,0x00,0x91,0x9f,0x00,0x01,0xeb,0xe3,0xfd,0xff,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0x21,0x01,0x80,0xd2,0xf8,0xff,0xff,0x17,0x3f,0x20,0x00,0xf1,0x88,0x04,0x00,0x54,0x3f,0x00,0x04,0xeb,0x41,0x04,0x00,0x54,0x05,0x00,0x80,0xd2,0x06,0x00,0x80,0xd2,0xbf,0x00,0x01,0xeb,0xc2,0x02,0x00,0x54,0x08,0x48,0x88,0xd2,0xe8,0x01,0xa0,0xf2,0xdf,0x00,0x08,0xeb,0x02,0x03,0x00,0x54,0xc6,0x04,0x00,0x91,0xbf,0x00,0x02,0xeb,0xc1,0x00,0x00,0x54,0x28,0x00,0x80,0xd2,0xbf,0x00,0x04,0xeb,0x02,0x02,0x00,0x54,0x68,0x78,0x25,0xf8,0x07,0x00,0x00,0x14,0xbf,0x00,0x01,0xeb,0x82,0x01,0x00,0x54,0x08,0x78,0x65,0xf8,0xbf,0x00,0x04,0xeb,0x22,0x01,0x00,0x54,0x68,0x78,0x25,0xf8,0xa5,0x04,0x00,0x91,0xbf,0x00,0x01,0xeb,0x83,0xfd,0xff,0x54,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0x21,0x01,0x80,0xd2,0xf8,0xff,0xff,0x17\n.previous\n"); +static const char ombr_leaf2_ident_gradient_shape[] = "omega-ident 1 unit=gradient_shape abi=2 profile=OM-2 src=72bbfb692f58df6113c6b9d3ab7028ec40185ada88baafd773e02145ddde8d62 omc=b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2"; +__attribute__((visibility("default"))) const char *omega2_ident_gradient_shape(void) +{ + return ombr_leaf2_ident_gradient_shape; +} +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr_leaf2_entry_ad_unbroadcast_steps\n.hidden ombr_leaf2_entry_ad_unbroadcast_steps\nombr_leaf2_entry_ad_unbroadcast_steps:\nhint #34\nb ombr_leaf2_code_gradient_shape+0\n.previous\n"); +extern const unsigned char ombr_leaf2_entry_ad_unbroadcast_steps[] __attribute__((visibility("hidden"))); +/* export fn ad_unbroadcast_steps source view ulong * target view ulong * steps edit uchar 8 to long */ +__attribute__((visibility("default"))) uint32_t omega2_ad_unbroadcast_steps(uint64_t *result, const uint64_t *o_source, uint64_t o_source_len, const uint64_t *o_target, uint64_t o_target_len, uint8_t *o_steps, uint64_t o_steps_len) +{ + ombr_leaf_span sp[7]; + unsigned ns = 0; + uint64_t a[6] = {0}; + ombr_leaf2_out ou[6] = {{0, 0, 0}}; + unsigned no = 0; + if (ombr_leaf_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) + return OMEGA_BAD_ARG; + if (ombr_leaf2_view(sp, &ns, o_source, o_source_len, 8u, 0)) + return OMEGA_BAD_ARG; + a[0] = (uint64_t)(uintptr_t)o_source; + a[1] = o_source_len; + if (ombr_leaf2_view(sp, &ns, o_target, o_target_len, 8u, 0)) + return OMEGA_BAD_ARG; + a[2] = (uint64_t)(uintptr_t)o_target; + a[3] = o_target_len; + if (ombr_leaf_span_add(sp, &ns, o_steps, o_steps_len, 8u, 1u, 1)) + return OMEGA_BAD_ARG; + a[4] = (uint64_t)(uintptr_t)o_steps; + if (ombr_leaf2_overlap(sp, ns)) + return OMEGA_BAD_ARG; + return ombr_leaf2_run(ombr_leaf2_entry_ad_unbroadcast_steps, a, result, 1, ou, no, 0); +} +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr_leaf2_entry_ad_same_shape\n.hidden ombr_leaf2_entry_ad_same_shape\nombr_leaf2_entry_ad_same_shape:\nhint #34\nb ombr_leaf2_code_gradient_shape+4\n.previous\n"); +extern const unsigned char ombr_leaf2_entry_ad_same_shape[] __attribute__((visibility("hidden"))); +/* export fn ad_same_shape lhs view ulong * rhs view ulong * to ulong */ +__attribute__((visibility("default"))) uint32_t omega2_ad_same_shape(uint64_t *result, const uint64_t *o_lhs, uint64_t o_lhs_len, const uint64_t *o_rhs, uint64_t o_rhs_len) +{ + ombr_leaf_span sp[7]; + unsigned ns = 0; + uint64_t a[6] = {0}; + ombr_leaf2_out ou[6] = {{0, 0, 0}}; + unsigned no = 0; + if (ombr_leaf_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) + return OMEGA_BAD_ARG; + if (ombr_leaf2_view(sp, &ns, o_lhs, o_lhs_len, 8u, 0)) + return OMEGA_BAD_ARG; + a[0] = (uint64_t)(uintptr_t)o_lhs; + a[1] = o_lhs_len; + if (ombr_leaf2_view(sp, &ns, o_rhs, o_rhs_len, 8u, 0)) + return OMEGA_BAD_ARG; + a[2] = (uint64_t)(uintptr_t)o_rhs; + a[3] = o_rhs_len; + if (ombr_leaf2_overlap(sp, ns)) + return OMEGA_BAD_ARG; + return ombr_leaf2_run(ombr_leaf2_entry_ad_same_shape, a, result, 1, ou, no, 0); +} +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr_leaf2_entry_ad_restore_axis\n.hidden ombr_leaf2_entry_ad_restore_axis\nombr_leaf2_entry_ad_restore_axis:\nhint #34\nb ombr_leaf2_code_gradient_shape+8\n.previous\n"); +extern const unsigned char ombr_leaf2_entry_ad_restore_axis[] __attribute__((visibility("hidden"))); +/* export fn ad_restore_axis shape view ulong * axis ulong restored edit ulong * to void */ +__attribute__((visibility("default"))) uint32_t omega2_ad_restore_axis(uint64_t *result, const uint64_t *o_shape, uint64_t o_shape_len, uint64_t o_axis, uint64_t *o_restored, uint64_t o_restored_len) +{ + ombr_leaf_span sp[7]; + unsigned ns = 0; + uint64_t a[6] = {0}; + ombr_leaf2_out ou[6] = {{0, 0, 0}}; + unsigned no = 0; + if (ombr_leaf_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) + return OMEGA_BAD_ARG; + if (ombr_leaf2_view(sp, &ns, o_shape, o_shape_len, 8u, 0)) + return OMEGA_BAD_ARG; + a[0] = (uint64_t)(uintptr_t)o_shape; + a[1] = o_shape_len; + a[2] = o_axis; + if (ombr_leaf2_view(sp, &ns, o_restored, o_restored_len, 8u, 1)) + return OMEGA_BAD_ARG; + a[3] = (uint64_t)(uintptr_t)o_restored; + a[4] = o_restored_len; + if (ombr_leaf2_overlap(sp, ns)) + return OMEGA_BAD_ARG; + return ombr_leaf2_run(ombr_leaf2_entry_ad_restore_axis, a, result, 0, ou, no, 0); +} /* Generated by omega-bridge src/native.om: the freestanding definitions of the C API declared in * omega_api_decl.h (output fapic), for the freestanding binding (output freest). Each calls * omega2_ and executes a trap instruction (__builtin_trap) on a nonzero status; it calls no C @@ -5641,3 +5785,27 @@ uint64_t tensor_is_row_major(const uint64_t *o_dims, size_t o_dims_len, const ui __builtin_trap(); return r; } +/* export fn ad_unbroadcast_steps source view ulong * target view ulong * steps edit uchar 8 to long */ +int64_t ad_unbroadcast_steps(const uint64_t *o_source, size_t o_source_len, const uint64_t *o_target, size_t o_target_len, uint8_t o_steps[8]) +{ + uint64_t r = 0; + if (omega2_ad_unbroadcast_steps(&r, o_source, o_source_len, o_target, o_target_len, o_steps, 8) != OMEGA_OK) + __builtin_trap(); + return (int64_t)r; +} +/* export fn ad_same_shape lhs view ulong * rhs view ulong * to ulong */ +uint64_t ad_same_shape(const uint64_t *o_lhs, size_t o_lhs_len, const uint64_t *o_rhs, size_t o_rhs_len) +{ + uint64_t r = 0; + if (omega2_ad_same_shape(&r, o_lhs, o_lhs_len, o_rhs, o_rhs_len) != OMEGA_OK) + __builtin_trap(); + return r; +} +/* export fn ad_restore_axis shape view ulong * axis ulong restored edit ulong * to void */ +void ad_restore_axis(const uint64_t *o_shape, size_t o_shape_len, uint64_t o_axis, uint64_t *o_restored, size_t o_restored_len) +{ + uint64_t r = 0; + if (omega2_ad_restore_axis(&r, o_shape, o_shape_len, (uint64_t)o_axis, o_restored, o_restored_len) != OMEGA_OK) + __builtin_trap(); + (void)r; +} diff --git a/src/omega_om_units.ident b/src/omega_om_units.ident index 5023e054b..9d959770f 100644 --- a/src/omega_om_units.ident +++ b/src/omega_om_units.ident @@ -27,7 +27,7 @@ omega-ident 1 unit=osc_literal abi=2 profile=OM-2 src=ed2da39b4adba054db253cd7bd omega-ident 1 unit=osc_type abi=2 profile=OM-2 src=a33e7745e4cdb1a968b06aff6016de192ef8a2a9d0d2946f5b1f79c91c7f2cba omc=b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2 path=om/compiler/osc_type.om omega-ident 1 unit=osc_expr abi=2 profile=OM-2 src=e869e7be788d2f0c942d9c4c8d87d3fe6efc45713c0ced12d82183e3fa3dba1b omc=b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2 path=om/compiler/osc_expr.om omega-ident 1 unit=osc_scalar abi=2 profile=OM-2 src=a90c4cf29428caa403f20e593d943aa2b77c2b6672472fac89bd6e2e6da77726 omc=b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2 path=om/compiler/osc_scalar.om -omega-ident 1 unit=osc_a64_fields abi=2 profile=OM-2 src=d9d0e019a3837fcab5e7614debd0ebc833199d67cd505797c44b75eea3da1c41 omc=b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2 path=om/compiler/osc_a64_fields.om +omega-ident 1 unit=osc_a64_fields abi=2 profile=OM-2 src=783248eccea83a576c65630099d70e544ce260a609a0dba83cac8f8663d96aab omc=b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2 path=om/compiler/osc_a64_fields.om omega-ident 1 unit=osc_statement abi=2 profile=OM-2 src=a7b0105f7f6556f4b78142c36b3208d8d5072df232898491f5fc010a7903c914 omc=b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2 path=om/compiler/osc_statement.om omega-ident 1 unit=osc_ownership abi=2 profile=OM-2 src=c4f5ef3c8ab48d0e1ec05732683b61feaf807691bbbbe73e73399d0ae36670bc omc=b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2 path=om/compiler/osc_ownership.om omega-ident 1 unit=osc_scope abi=2 profile=OM-2 src=9f471816bc623421c8440cb5f457add54f37134ac34ff0819e46347552c1804f omc=b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2 path=om/compiler/osc_scope.om @@ -38,3 +38,4 @@ omega-ident 1 unit=osc_flow abi=2 profile=OM-2 src=250d73f9fcc747a7b8756c8f9d6d1 omega-ident 1 unit=osc_artifact abi=2 profile=OM-2 src=706f67fe3727c5b946a25ec75f013581fab0f9915b75473fdcff3f65f8377393 omc=b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2 path=om/compiler/osc_artifact.om omega-ident 1 unit=tensor_shape abi=2 profile=OM-2 src=c28554bdff536175775cdf0bf99e71054300e9341059f24c9dbe65cccc0c0aac omc=b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2 path=src/tensor/tensor_shape.om omega-ident 1 unit=sgd_update abi=2 profile=OM-2 src=4900cd2a690ee463b79e6f1b1331b53e658423062a5b159b0ebdb6264afff17d omc=b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2 path=src/train/sgd_update.om +omega-ident 1 unit=gradient_shape abi=2 profile=OM-2 src=72bbfb692f58df6113c6b9d3ab7028ec40185ada88baafd773e02145ddde8d62 omc=b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2 path=src/autodiff/gradient_shape.om diff --git a/tools/autodiff_mutations.sh b/tools/autodiff_mutations.sh index d448ab7e0..9e02c0785 100755 --- a/tools/autodiff_mutations.sh +++ b/tools/autodiff_mutations.sh @@ -15,7 +15,7 @@ # limitations under the License. # M21 OMEGA_AUTODIFF mutation sweep. For each rule marked MUT: in -# src/autodiff/*.c, copy src/autodiff to a scratch directory, break that one +# src/autodiff, copy the sources to a scratch directory, break that one # rule, rebuild the CPU test against the copy and require the test to FAIL. # A mutation that does not apply, does not build, or that the tests do not # catch, fails the sweep. The source tree is never edited. CPU only, no @@ -36,7 +36,7 @@ FLAGS="-std=gnu11 -Wall -Wextra -Werror -D_GNU_SOURCE -ffp-contract=off -O2 -DOM # contract and the 1e-3 FD bound; it is aimed at the bit-exact layer. MUTATIONS='TAPE_WALK|omega_autodiff.c|s/root + 1; i-- > 0/root; i-- > 0/ ACCUMULATE|omega_autodiff.c|s/omega_tensor_binary(t->ctx, OMEGA_TB_ADD, n->grad, contrib, &sum)/omega_tensor_contiguous(t->ctx, contrib, \&sum)/ -UNBROADCAST|omega_autodiff.c|s/if (target->shape/if (0 \&\& target->shape/ +UNBROADCAST|gradient_shape.om|{n;s/if and eq get target axis 1 ne get source add leading axis 1/if false/;} SUB_NEGATE|omega_autodiff.c|s/-1\.0f/1.0f/ MUL_OPERAND|omega_autodiff.c|s/t->nodes\[n->in1\]\.value/t->nodes[n->in0].value/ MATMUL_TRANSPOSE|omega_autodiff.c|s/matmul(t->ctx, g, tmp, &c)/matmul(t->ctx, g, nb->value, \&c)/ @@ -51,10 +51,30 @@ DIV_FORMULA|omega_autodiff.c|{s/OMEGA_TB_DIV, n->value, nb->value, &tmp)/OMEGA_T # script is a thin adapter: it feeds the rows above, then maps the runner's # per-mutant stderr lines back to the legacy stdout lines and exit codes. # Rows name src/autodiff/, relative to the runner's scratch tree. -BUILD="gcc $FLAGS -Isrc -Isrc/tensor -Isrc/autodiff -o t tests/test_omega_autodiff.c src/autodiff/omega_autodiff.c \ +# Rebuild the seeded binding only for a changed Omega source. +AUTODIFF_ROOT=$(pwd) +export AUTODIFF_ROOT +case " ${ONLY:-UNBROADCAST} " in + *" UNBROADCAST "*) + compiler=${OMEGA_OMC:-$AUTODIFF_ROOT/seed/out/omc} + bridge=${OMEGA_BRIDGE:-$AUTODIFF_ROOT/../omega-bridge} + if [ ! -x "$compiler" ] || [ ! -r "$bridge/src/native.om" ]; then + echo "autodiff mutations: NOT_RUN (UNBROADCAST needs the pinned omc and omega-bridge)" >&2 + exit 3 + fi + OMEGA_OMC=$(realpath "$compiler") || exit 3 + OMEGA_BRIDGE=$(realpath "$bridge") || exit 3 + export OMEGA_OMC OMEGA_BRIDGE ;; +esac +REGEN='if ! cmp -s src/autodiff/gradient_shape.om "$AUTODIFF_ROOT/src/autodiff/gradient_shape.om"; then + unset OMEGA_UNITS + OMEGA_UNITS_DEST="$PWD/src" sh om/units.sh || exit 1 +fi' +BUILD="$REGEN +gcc $FLAGS -Isrc -Isrc/tensor -Isrc/autodiff -o t tests/test_omega_autodiff.c src/autodiff/omega_autodiff.c \ $TENSOR $DEPS" printf '%s\n' "$MUTATIONS" | sed 's#^\([A-Z_]*\)|#\1|src/autodiff/#' > "$SCRATCH/rows" -tools/mutation_runner.sh -k marker -m "$SCRATCH/rows" -d . -c "src tests/test_omega_autodiff.c" \ +tools/mutation_runner.sh -k marker -m "$SCRATCH/rows" -d . -c "src om tests/test_omega_autodiff.c" \ -b "$BUILD" -t ./t -f FAIL -B > "$SCRATCH/runner.out" 2> "$SCRATCH/runner.err" if grep -q 'unmutated baseline' "$SCRATCH/runner.out"; then cat "$SCRATCH/runner.err"