Xbyak – a JIT assembler for x86/x64 architectures
10 months ago
- #x86
- #C++
- #assembly
- Xbyak is a C++ header-only library for dynamic assembly of x86/x64 instructions.
- Pronounced /k����bjæk/ (kai-byak), derived from the Japanese word ����� (kaibyaku) meaning 'creation'.
- Supports advanced instruction sets including AVX-512, APX, and AVX10.2.
- Features Intel/MASM-like syntax and requires specific compiler options for certain operations.
- Extensions available for AArch64 (Xbyak_aarch64) and RISC-V (Xbyak_riscv).
- Includes support for various new instructions and technologies like AVX10.2, APX, RAO-INT, and more.
- MmapAllocator supports memfd with user-defined strings; strict address offset checks are enforced.
- Backward compatibility breaks include changes to push operations and removal of certain includes.
- Supports exception-less mode and is compatible with multiple operating systems and compilers.
- Documentation references include Intel manuals and architecture specifications.