Merge commit '2201a0227297b9251717e44adc32554a51ca0ed6' as 'external/xbyak'

This commit is contained in:
2026-05-12 14:03:16 +02:00
146 changed files with 108693 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
# Contributing to Xbyak
Thank you for considering contributing to the Xbyak project. This document provides guidelines on how to contribute.
## Bug Reports and Feedback
If you find a bug, have a feature request, or have questions, please open an issue. Include the following information:
- Detailed description of the problem
- Steps to reproduce
- Expected behavior
- Actual behavior
- Environment details (OS, compiler version, etc.)
## Creating Pull Requests
If you want to add features or make fixes, follow these steps to create a pull request:
1. Fork the repository
2. Create a new branch: `git checkout -b my-feature-branch`
3. Make your changes
4. Run tests and ensure all tests pass
5. Commit your changes: `git commit -am 'Add new feature'`
6. Push the branch: `git push origin my-feature-branch`
7. Create a pull request
When creating a pull request, clearly describe the changes and include any related issue numbers.
## License
Xbyak is released under the BSD-3-Clause License. Any code contributions will be licensed under the same license.
+1
View File
@@ -0,0 +1 @@
github: herumi
+50
View File
@@ -0,0 +1,50 @@
name: test
on:
push:
branches:
- '*'
defaults:
run:
shell: sh
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
container:
image: debian:testing
steps:
- uses: actions/checkout@v5
- run: apt -y update
- run: apt -y install ca-certificates g++-multilib clang libboost-dev make yasm wget python3 #xz-utils nasm
- run: update-ca-certificates
- run: yasm --version
- name: Install xed and nasm
run: |
# Note: herumi/xed-bin is maintained by the same author and is a trusted source
wget https://github.com/herumi/xed-bin/raw/refs/heads/main/xed.tgz
wget https://github.com/herumi/xed-bin/raw/refs/heads/main/nasm.tgz
tar xvf xed.tgz
tar xvf nasm.tgz
mkdir -p ~/bin
mv xed ~/bin/
mv nasm ~/bin/
- name: Add ~/bin to PATH
run: echo "$HOME/bin" >> $GITHUB_PATH
- name: Check versions
run: |
xed -version
nasm -version
- run: |
make test
make -C sample CXXFLAGS="-DXBYAK_NO_EXCEPTION"
cd test
make xed_test
rm -rf jmp64
env CXX=""clang++ -std=c++20"" make jmp64 && ./jmp64