Skip to content
项目

关于

独立于平台的底层 JIT 编译器

编程语言与运行时

这些数字如何统计

可以做什么

  • PowerPC 32 / 64
  • Self-modifying code
  • Byte order reverse (endianness switching)
  • Unaligned memory accesses

实测星标增长

24小时
0
7天
+1
15天
+4
1个月
+11

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

SLJIT

Platform-independent low-level JIT compiler

https://zherczeg.github.io/sljit/


Purpose

SLJIT is a low-level, platform-independent JIT compiler, which is very well suited for translating bytecode into machine code.

Features

  • Supports a variety of target architectures:
    • x86 32 / 64
    • ARM 32 / 64
    • RISC-V 32 / 64
    • s390x 64
    • PowerPC 32 / 64
    • LoongArch 64
    • MIPS 32 / 64
  • Supports a large number of operations
    • Self-modifying code
    • Tail calls
    • Fast calls
    • Byte order reverse (endianness switching)
    • Unaligned memory accesses
    • SIMD
    • Atomic operations
  • Allows direct access to registers (both integer and floating point)
  • Supports stack space allocation for function local variables
  • Supports all-in-one compilation
    • Allows SLJIT's API to be completely hidden from external use
  • Allows serializing the compiler into a byte buffer
    • Useful for ahead-of-time (AOT) compilation
    • Code generation can be resumed after deserialization (partial AOT compilation)

Documentation

The primary source of documentation is sljitLir.h.

Additional documentation can be found on SLJIT's website, as well as in the docs folder.

Contact

Either open an issue or write an email to [email protected].

License

SLJIT is licensed under the Simplified BSD License.

Special Thanks

  • Alexander Nasonov
  • Carlo Marcelo Arenas Belón
  • Christian Persch
  • Daniel Richard G.
  • Giuseppe D'Angelo
  • H.J. Lu
  • James Cowgill
  • Jason Hood
  • Jiong Wang (TileGX support)
  • Marc Mutz
  • Martin Storsjö
  • Michael McConville
  • Mingtao Zhou (LoongArch support)
  • Walter Lee
  • Wen Xichang
  • YunQiang Su

探索相关项目

加载中…