Skip to content
This repository was archived by the owner on May 19, 2026. It is now read-only.
This repository was archived by the owner on May 19, 2026. It is now read-only.

Erlang VM Compatibility Status #4

Description

@leostera

The following instructions are currently supported in some form. For some of them, it means "we can read them, but they have no effect", for some others, approximated semantics are used.

Since I'm implementing these as they are needed, it is likely that some won't be implemented for a long time unless you need them. If you need a specific instruction, please file a separate issue.

BEAM Instructions

  • Allocate
  • AllocateHeap
  • AllocateHeapZero
  • AllocateZero
  • Apply
  • ApplyLast
  • Badmatch
  • Bif0
  • Bif1
  • Bif2
  • BsAdd
  • BsAppend
  • BsBitsToBytes
  • BsBitsToBytes2
  • BsContextToBinary
  • BsFinal
  • BsFinal2
  • BsGetBinary
  • BsGetBinary2
  • BsGetFloat
  • BsGetFloat2
  • BsGetInteger
  • BsGetInteger2
  • BsGetPosition
  • BsGetTail
  • BsGetUtf16
  • BsGetUtf32
  • BsGetUtf8
  • BsInit
  • BsInit2
  • BsInitBits
  • BsInitWritable
  • BsMatchString
  • BsNeedBuf
  • BsPrivateAppend
  • BsPutBinary
  • BsPutFloat
  • BsPutInteger
  • BsPutString
  • BsPutUtf16
  • BsPutUtf32
  • BsPutUtf8
  • BsRestore
  • BsRestore2
  • BsSave
  • BsSave2
  • BsSetPosition
  • BsSkipBits
  • BsSkipBits2
  • BsSkipUtf16
  • BsSkipUtf32
  • BsSkipUtf8
  • BsStartMatch
  • BsStartMatch2
  • BsStartMatch3
  • BsStartMatch4
  • BsTestTail
  • BsTestTail2
  • BsTestUnit
  • BsUtf16Size
  • BsUtf8Size
  • BuildStacktrace
  • Call
  • CallExt
  • CallExtLast
  • CallExtOnly
  • CallFun
  • CallLast
  • CallOnly
  • CaseEnd
  • Catch
  • CatchEnd
  • Deallocate
  • Fadd
  • Fcheckerror
  • Fclearerror
  • Fconv
  • Fdiv
  • Fmove
  • Fmul
  • Fnegate
  • Fsub
  • FuncInfo
  • FuncInfo
  • GcBif1
  • GcBif2
  • GcBif3
  • GetHd
  • GetList
  • GetMapElements
  • GetTl
  • GetTupleElement
  • HasMapFields
  • IfEnd
  • Init
  • IntBand
  • IntBnot
  • IntBor
  • IntBsl
  • IntBsr
  • IntBxor
  • IntCodeEnd
  • IntCodeEnd
  • IntDiv
  • IntRem
  • IsAtom
  • IsBinary
  • IsBitstr
  • IsBoolean
  • IsConstant
  • IsEq
  • IsEqExact
  • IsEqExact
  • IsFloat
  • IsFunction
  • IsFunction2
  • IsGe
  • IsInteger
  • IsList
  • IsLt
  • IsMap
  • IsNe
  • IsNeExact
  • IsNil
  • IsNonemptyList
  • IsNumber
  • IsPid
  • IsPort
  • IsReference
  • IsTaggedTuple
  • IsTuple
  • Jump
  • Label
  • Line
  • LoopRec
  • LoopRecEnd
  • MDiv
  • MMinus
  • MPlus
  • MTimes
  • MakeFun
  • MakeFun2
  • Move
  • OnLoad
  • Put
  • PutList
  • PutLiteral
  • PutMapAssoc
  • PutMapExact
  • PutString
  • PutTuple
  • PutTuple2
  • Raise
  • RawRaise
  • RecvMark
  • RecvSet
  • RemoveMessage
  • Return
  • SelectTupleArity
  • SelectVal
  • Send
  • SetTupleElement
  • Swap
  • TestArity
  • TestHeap
  • Timeout
  • Trim
  • Try
  • TryCase
  • TryCaseEnd
  • TryEnd
  • Wait
  • WaitTimeout

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    erlang-vmRelated to Erlang VM compatibilitytrackingThis issue is used for tracking status

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions