Coder Social home page Coder Social logo

emei's Introduction

emei

The 峨眉 (EMei) JIT/AOT backend framework.

Support Instructions

x86_64

warning: unsupport fpu float operator.

  • mov

    • mov
    • mov_zero_extend_bit8/16
    • mov_sign_extend_bit8/16/32
    • mov_rev
    • movs(is movsq)
  • push

    • push_reg
    • push_imm
    • push_all pusha/pushad
  • add

    • add_first_reg
    • add_imm8
    • add_imm32
    • add
    • inc
    • inc_reg32
  • sub

    • sub_first_reg
    • sub_signed_imm8
    • sub_imm(32)
    • sub
    • sub_rev
    • dec
    • dec_reg32
  • jump

    • jmp
      • jmp to relative addr
      • jmp to addr literal (jit use it)
      • jmp to register
    • jump cond code
      • /ja/jb/jc/je/jg/jl/jo/jp/js/jz/jae/jbe/jge/jle/jpe/jpo/jna/jnb/jnc/jne/jng/jnl/jno/jnp/jns/jnz/jnae/jnbe/jnge/jnle
  • cmp

  • test

  • call

    • call to relative addr
    • call to addr literal (jit use it)
    • call to register
  • nop

    • nop(nop1)
    • nop1-9
  • ret

    • near_ret/near_ret_imm
    • far_ret/far_ret_imm

...etc.

about headware inference

  • int

    • intn
    • into
    • int3
    • int1
  • syscall

    • syscall
    • sysenter

sse float instruction

  • movss/movsd
  • addss/addsd
  • subss/subsd
  • mulss/mulsd
  • divss/divsd
  • sqrtss/sqrtsd
  • cmpss/cmpsd

Example

look src/main.rs.

emei's People

Contributors

chuigda avatar imlyzh avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.