No description
Find a file
MITSUNARI Shigeo 22642cb32d
Some checks failed
test / test (push) Has been cancelled
[test] Implement stricter Memory checks
2024-10-16 11:35:40 +09:00
.github install python3 for github action 2024-10-13 13:51:06 +09:00
cmake build(meson): fix CMake Config file include dir 2021-10-10 21:30:09 +02:00
doc [doc] Revised and improved the English text. 2024-10-15 14:14:19 +09:00
gen vmovw supports avx10.2 2024-10-15 03:50:27 +09:00
sample [sample] XBYAK_NO_OP_NAMES is no longer needed 2024-09-29 19:46:11 +09:00
test [test] Implement stricter Memory checks 2024-10-16 11:35:40 +09:00
xbyak mov opAVX10ZeroExt into private 2024-10-15 13:58:17 +09:00
.gitignore add vaddnepbf16 2024-10-13 13:51:06 +09:00
Android.bp Changes to compile xbyak project for openvino 2022-09-09 10:56:19 +09:00
CMakeLists.txt v7.20 2024-10-15 09:57:28 +09:00
COPYRIGHT delete the sentences translated into Japanese from COPYRIGHT 2021-10-07 10:41:53 +09:00
Makefile Possibility to specify a different PREFIX 2020-04-08 09:26:15 +01:00
meson.build v7.20 2024-10-15 09:57:28 +09:00
readme.md [doc] Revised and improved the English text. 2024-10-15 14:14:19 +09:00
readme.txt v7.20 2024-10-15 09:57:28 +09:00
xbyak.sln remove *.user and *.vcproj 2019-09-16 21:47:19 +09:00

Xbyak 7.20 Badge Build

A JIT assembler for x86/x64 architectures supporting advanced instruction sets up to AVX10.2

Menu

Abstract

Xbyak is a C++ header-only library that enables dynamic assembly of x86/x64 instructions using mnemonics.

The pronunciation of Xbyak is /kʌɪbjæk/ (kai-byak).

The name is derived from the Japanese word 開闢 (kaibyaku), which means "the beginning of the world" or "creation".

Features

  • Header-only library
  • Intel/MASM-like syntax
  • Full support for AVX-512, APX, and AVX10.2

Note: Use and_(), or_(), ... instead of and(), or(). If you want to use them, then specify -fno-operator-names option to gcc/clang.

Derived Projects

News

  • Support AVX10.2
  • Support xresldtrk/xsusldtrk
  • Support RAO-INT for APX
  • Support AVX10 detection, AESKLE, WIDE_KL, KEYLOCKER, KEYLOCKER_WIDE
  • Support APX except for a few instructions
  • Add amx_fp16/avx_vnni_int8/avx_ne_convert/avx-ifma
  • Add movdiri, movdir64b, clwb, cldemote
  • WAITPKG instructions (tpause, umonitor, umwait) are supported.
  • MmapAllocator supports memfd with user-defined strings. see sample/memfd.cpp
  • Strictly check address offset disp32 in a signed 32-bit integer. e.g., ptr[(void*)0xffffffff] causes an error.
    • Define XBYAK_OLD_DISP_CHECK if you need an old check, but the option will be remoevd.
  • Add jmp(mem, T_FAR), call(mem, T_FAR) retf() for far absolute indirect jump.
  • VNNI instructions such as vpdpbusd supports vex encoding.
  • (Break backward compatibility) push(byte, imm) (resp. push(word, imm)) forces to cast imm to 8(resp. 16) bit.
  • (Windows) #include <winsock2.h> has been removed from xbyak.h, so add it explicitly if you need it.
  • Support exception-less mode see. Exception-less mode
  • XBYAK_USE_MMAP_ALLOCATOR will be defined on Linux/macOS unless XBYAK_DONT_USE_MMAP_ALLOCATOR is defined.

Supported OS

  • Windows (Xp, Vista, 7, 10, 11) (32 / 64 bit)
  • Linux (32 / 64 bit)
  • macOS (Intel CPU)

Supported Compilers

Almost C++03 or later compilers for x86/x64 such as Visual Studio, g++, clang++, Intel C++ compiler and g++ on mingw/cygwin.

License

BSD-3-Clause License

Author

光成滋生Mitsunari Shigeo

GitHub|Website (Japanese)|herumi@nifty.com

Sponsors welcome

GitHub Sponsor