Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement all IL instructions #1

Open
aromaa opened this issue Apr 14, 2021 · 0 comments
Open

Implement all IL instructions #1

aromaa opened this issue Apr 14, 2021 · 0 comments
Assignees

Comments

@aromaa
Copy link
Owner

aromaa commented Apr 14, 2021

There are few special IL instructions that most likely won't get implemented but keeping them all listed up to track their progress.

Currently implemented instructions are:

  • add
  • add.ovf
  • add.ovf.un
  • and
  • arglist
  • beq
  • beq.s
  • bge
  • bge.s
  • bge.un
  • bge.un.s
  • bgt
  • bgt.s
  • bgt.un
  • bgt.un.s
  • ble
  • ble.s
  • ble.un
  • ble.un.s
  • blt
  • blt.s
  • blt.un
  • blt.un.s
  • bne.un
  • bne.un.s
  • box
  • br
  • br.s
  • break
  • brfalse
  • brfalse.s
  • brinst
  • brinst.s
  • brnull
  • brnull.s
  • brtrue
  • brtrue.s
  • brzero
  • brzero.s
  • call
  • calli
  • callvirt
  • castclass
  • ceq
  • cgt
  • cgt.un
  • ckfinite
  • clt
  • clt.un
  • constrained
  • conv.i
  • conv.i1
  • conv.i2
  • conv.i4
  • conv.i8
  • conv.ovf.i
  • conv.ovf.i.un
  • conv.ovf.i1
  • conv.ovf.i1.un
  • conv.ovf.i2
  • conv.ovf.i2.un
  • conv.ovf.i4
  • conv.ovf.i4.un
  • conv.ovf.i8
  • conv.ovf.i8.un
  • conv.ovf.u
  • conv.ovf.u.un
  • conv.ovf.u1
  • conv.ovf.u1.un
  • conv.ovf.u2
  • conv.ovf.u2.un
  • conv.ovf.u4
  • conv.ovf.u4.un
  • conv.ovf.u8
  • conv.ovf.u8.un
  • conv.r.un
  • conv.r4
  • conv.r8
  • conv.u
  • conv.u1
  • conv.u2
  • conv.u4
  • conv.u8
  • cpblk
  • cpobj
  • div
  • div.un
  • dup
  • endfault
  • endfilter
  • endfinally
  • initblk
  • initobj
    • Basic support for value types
      • Reserve stack space
      • Zero-init
    • Basic support for reference types
  • isinst
  • jmp
  • ldarg
  • ldarg.0
  • ldarg.1
  • ldarg.2
  • ldarg.3
  • ldarg.s
  • ldarga
  • ldarga.s
  • ldc.i4
  • ldc.i4.0
  • ldc.i4.1
  • ldc.i4.2
  • ldc.i4.3
  • ldc.i4.4
  • ldc.i4.5
  • ldc.i4.6
  • ldc.i4.7
  • ldc.i4.8
  • ldc.i4.m1
  • ldc.i4.M1
  • ldc.i4.s
  • ldc.i8
  • ldc.r4
  • ldc.r8
  • ldelem
  • ldelem.i
  • ldelem.i1
  • ldelem.i2
  • ldelem.i4
  • ldelem.i8
  • ldelem.r4
  • ldelem.r8
  • ldelem.ref
  • ldelem.u1
  • ldelem.u2
  • ldelem.u4
  • ldelem.u8
  • ldelema
  • ldfld
    • Value types
    • Reference types
  • ldflda
  • ldftn
  • ldind.i
  • ldind.i1
  • ldind.i2
  • ldind.i4
  • ldind.i8
  • ldind.r4
  • ldind.r8
  • ldind.ref
  • ldind.u1
  • ldind.u2
  • ldind.u4
  • ldind.u8
  • ldlen
  • ldloc
  • ldloc.0
  • ldloc.1
  • ldloc.2
  • ldloc.3
  • ldloc.s
  • ldloca
  • ldloca.s
  • ldnull
  • ldobj
  • ldsfld
  • ldsflda
  • ldstr
  • ldtoken
  • ldvirtftn
  • leave
  • leave.s
  • localloc
  • mkrefany
  • mul
  • mul.ovf
  • mul.ovf.un
  • neg
  • newarr
  • newobj
  • no
  • nop
  • not
  • or
  • pop
  • readonly.
  • refanytype
  • refanyval
  • rem
  • rem.un
  • ret
  • rethrow
  • shl
  • shr
  • shr.un
  • sizeof
  • starg
  • starg.s
  • stelem
  • stelem.i
  • stelem.i1
  • stelem.i2
  • stelem.i4
  • stelem.i8
  • stelem.r4
  • stelem.r8
  • stelem.ref
  • stfld
    • Value types
    • Reference types
  • stind.i
  • stind.i1
  • stind.i2
  • stind.i4
  • stind.i8
  • stind.r4
  • stind.r8
  • stind.ref
  • stloc
  • stloc.0
  • stloc.1
  • stloc.2
  • stloc.3
  • stloc.s
  • stobj
  • stsfld
  • sub
  • sub.ovf
  • sub.ovf.un
  • switch
  • tail.
  • throw
  • unaligned
  • unbox
  • unbox.any
  • volatile.
  • xor
@aromaa aromaa self-assigned this Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant