opcodesswitch.h
Include dependency graph for opcodesswitch.h:
This graph shows which files directly or indirectly include opcodesswitch.h:
Defines
-
MINIMUM_OTP_COMPILER_VERSION
-
MAXIMUM_OTP_COMPILER_VERSION
-
COMPACT_LITERAL
-
COMPACT_INTEGER
-
COMPACT_ATOM
-
COMPACT_XREG
-
COMPACT_YREG
-
COMPACT_LABEL
-
COMPACT_EXTENDED
-
COMPACT_LARGE_LITERAL
-
COMPACT_LARGE_INTEGER
-
COMPACT_LARGE_ATOM
-
COMPACT_LARGE_YREG
-
COMPACT_EXTENDED_LIST
-
COMPACT_EXTENDED_FP_REGISTER
-
COMPACT_EXTENDED_ALLOCATION_LIST
-
COMPACT_EXTENDED_LITERAL
-
COMPACT_EXTENDED_TYPED_REGISTER
-
COMPACT_EXTENDED_ALLOCATOR_LIST_TAG_WORDS
-
COMPACT_EXTENDED_ALLOCATOR_LIST_TAG_FLOATS
-
COMPACT_EXTENDED_ALLOCATOR_LIST_TAG_FUNS
-
COMPACT_LARGE_IMM_MASK
-
COMPACT_11BITS_VALUE
-
COMPACT_NBITS_VALUE
-
SET_ERROR(error_type_atom)
-
RAISE_ERROR(error_type_atom)
-
VM_ABORT()
-
DEST_REGISTER(reg)
-
GC_SAFE_DEST_REGISTER(reg)
-
T_DEST_REG(dreg)
-
T_DEST_REG_GC_SAFE(dreg_gc_safe)
-
DECODE_COMPACT_TERM(dest_term, decode_pc)
-
READ_DEST_REGISTER(dreg)
-
READ_DEST_REGISTER_GC_SAFE(dreg_gc_safe)
-
WRITE_REGISTER(dreg, value)
-
WRITE_REGISTER_GC_SAFE(dreg_gc_safe, value)
-
DECODE_EXTENDED_LIST_TAG(decode_pc)
-
DECODE_NIL(decode_pc)
-
DECODE_DEST_REGISTER(dreg, decode_pc)
-
DECODE_DEST_REGISTER_GC_SAFE(dreg_gc_safe, decode_pc)
-
DECODE_FP_REGISTER(freg, decode_pc)
-
DECODE_VALUE(val, decode_pc)
-
DECODE_ATOM(atom, decode_pc)
-
DECODE_LABEL(label, decode_pc)
-
DECODE_LITERAL(val, decode_pc)
-
DECODE_INTEGER(integer, decode_pc)
-
DECODE_XREG(reg, decode_pc)
-
DECODE_YREG(reg, decode_pc)
-
DECODE_ALLOCATOR_LIST(need, decode_pc)
-
IS_EXTENDED_ALLOCATOR(decode_pc)
-
IS_EXTENDED_FP_REGISTER(decode_pc)
-
JUMP_TO_LABEL(module, label)
-
JUMP_TO_ADDRESS(address)
-
SCHEDULE_NEXT(restore_mod, restore_to)
-
PROCESS_SIGNAL_MESSAGES()
-
PROCESS_MAYBE_TRAP_RETURN_VALUE(return_value)
-
PROCESS_MAYBE_TRAP_RETURN_VALUE_RESTORE_PC(return_value, rest_pc)
-
PROCESS_MAYBE_TRAP_RETURN_VALUE_LAST(return_value)
-
DO_RETURN()
-
HANDLE_ERROR()
-
VERIFY_IS_INTEGER(t, opcode_name)
-
VERIFY_IS_ANY_INTEGER(t, opcode_name)
-
VERIFY_IS_BINARY(t, opcode_name)
-
VERIFY_IS_MATCH_STATE(t, opcode_name)
-
VERIFY_IS_MATCH_OR_BINARY(t, opcode_name)
-
CALL_FUN(fun, args_count)
-
DECODE_FLAGS_LIST(flags_value, flags, opcode)
-
MIN(X, Y)
-
SWAP_KV_PAIR(I, J)
-
TRACE_APPLY(...)
-
TRACE_CALL(...)
-
TRACE_CALL_EXT(...)
-
TRACE_RETURN(...)
-
TRACE_SEND(...)
-
TRACE_RECEIVE(...)
Functions
-
static bool sort_kv_pairs(struct kv_pair *kv, int size, GlobalContext *global)
- static COLD_FUNC void cp_to_mod_lbl_off (term cp, Context *ctx, Module **cp_mod, int *label, int *l_off)
- static COLD_FUNC void dump (Context *ctx)
-
static term maybe_alloc_boxed_integer_fragment(Context *ctx, avm_int64_t value)
-
static inline term maybe_alloc_boxed_integer_fragment_helper(Context *ctx, avm_int64_t value, unsigned int bytes_count)
-
static bool maybe_call_native(Context *ctx, AtomString module_name, AtomString function_name, int arity, term *return_value)
- memcpy (tmp_atom_name+1, function_name, function_len)
-
free(tmp_atom_name)
- if (UNLIKELY(!label))
-
scheduler_init_ready(ctx)
- return scheduler_entry_point (ctx->global)
- HOT_FUNC int scheduler_entry_point (GlobalContext *glb)
Variables
-
int function_len = strlen(function_name)
-
uint8_t *tmp_atom_name = malloc(function_len + 1)
-
int label = module_search_exported_function(mod, tmp_atom_name, arity, ctx->global)
-
ctx saved_module = mod
-
ctx cp = module_address(mod->module_index, mod->end_instruction_ii)
- ctx global running_schedulers = 1
-
struct dreg_gc_safe_t
-
struct Int24
Public Members
-
int32_t val24
-
int32_t val24
-
struct Int40
Public Members
-
int64_t val40
-
int64_t val40
-
struct Int48
Public Members
-
int64_t val48
-
int64_t val48
-
struct Int56
Public Members
-
int64_t val56
-
int64_t val56
-
struct kv_pair