A C++ JIT assembler for RISC-V (under CONSTRUCTION)
Xbyak_riscv is a C++ header library that enables dynamically to assemble RISC-V instructions.
C++11 or later compiler
Install QEMU and C++ compiler for RISC-V.
sudo apt install g++-14-riscv64-linux-gnu binutils-riscv64-unknown-elf
make -C sample
Generate targets:
cmake -DCMAKE_BUILD_TYPE=Debug -DXBYAK_RISCV_V=ON ..
Build:
make --build . --parallel 4
GitHub | Website (Japanese) | herumi@nifty.com
Thanks to pazamelin for the tremendous contribution.