aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2024-08-29Merge branch 'dev'v7.07.1MITSUNARI Shigeo
2024-08-29v7.07.1MITSUNARI Shigeo
2024-08-29Revert move of .pc and .cmake files to arch-independent dirsAndrea Pappacoda
This reverts commit 6c593b9a10e450f342efc1cf871dbcf7bb3612fe, 9f535729159baf467c3bd8dc7ec017a40289a12c, and c7c1eac070851068d7adc3a67ad2efd196145687 Closes: #189
2024-08-21adapt to NASM 2.16.03 behavior to pass tests though xchg X,Y == xchg Y,XMITSUNARI Shigeo
2024-08-21[sample] resize stack elementMITSUNARI Shigeo
2024-06-12Merge branch 'dev'v7.07MITSUNARI Shigeo
2024-06-11v7.07MITSUNARI Shigeo
2024-06-11update cpu (sde does not support tsxldtrk)MITSUNARI Shigeo
2024-06-11add detection of tsxldtrkMITSUNARI Shigeo
2024-06-11add test of xresldtrk/xsusldtrkMITSUNARI Shigeo
2024-06-11add xresldtrk/xsusldtrkMITSUNARI Shigeo
2024-06-11Merge branch 'github-actions' of https://github.com/scribam/xbyak into ↵MITSUNARI Shigeo
scribam-github-actions
2024-05-31Update actions/checkout to v4scribam
2024-05-09[doc] add CONTRIBUTING.mdMITSUNARI Shigeo
2024-03-26[doc] fix typoMITSUNARI Shigeo
2024-03-15Merge branch 'dev'MITSUNARI Shigeo
2024-03-09build(meson): arch-independent fixesAndrea Pappacoda
This patch fixes a couple of issues introduced in commits c7c1eac070851068d7adc3a67ad2efd196145687 and 9f535729159baf467c3bd8dc7ec017a40289a12c: - Dropped `dataonly: true` from `pkgconfig.generate()`, since it generates a .pc file unsuitable for libraries. Instead, I've just set `install_dir` to `$datadir/pkgconfig`, which generates the following: $ cat /usr/share/pkgconfig/xbyak.pc prefix=/usr includedir=${prefix}/include Name: xbyak Description: JIT assembler for x86(IA32), x64(AMD64, x86-64) URL: https://github.com/herumi/xbyak Version: 7.06 Cflags: -I${includedir} - Changed `share/cmake/xbyak` to `get_option('datadir')/'cmake'/meson.project_name()` to avoid hardcoding "share" as the datadir. - Added `arch_independent: true` to the `cmake.write_basic_package_version_file()` call so that the generated CMake version file doesn't contain arch-specific checks unsuitable for a file located in /usr/share/cmake.
2024-03-07v7.06v7.06MITSUNARI Shigeo
2024-03-07Merge branch 'dev'MITSUNARI Shigeo
2024-03-06Install cmake files into an arch-independent directoryZbigniew Jędrzejewski-Szmek
The justification is similar as for the .pc file: the include directory is arch-independent, so the cmake description should be too.
2024-03-06Make xbyak.py installation location arch-independentZbigniew Jędrzejewski-Szmek
I was investigating an issue with the Fedora package build: builds on i686 would yield a package with /usr/lib/pkgconfig/xbyak.pc, while builds on amd64 would yield a package with /usr/lib64/pkgconfig/xbyak.pc. xbyak is arch-indepdent, in the sense of the installed payload being identical on all architectures and located in a non-arch-specific directory (/usr/inlude). The .pc file should be arch-independent too. Right now, if we install the package from a different architecture, we would find the files in /usr/include, but not the .pc file. (E.g. on amd64 the pkg-config search path is /usr/lib64/pkgconfig:/usr/share/pkgconfig, so /usr/lib/pkgconfig/xbyak.pc will not be found.) So install the file to $prefix/pkgconfig (usually /usr/share/pkgconfig) so it will be found properly. We need to specify 'includedir' in the variable list for pkgconfig.generate(), because by default meson does not include this variable when dataonly:true is used. The $prefix/include pattern is evaluated in meson, to handle the case where the user specified an include_dir as absolute path.
2024-02-22Merge branch 'dev'MITSUNARI Shigeo
2024-02-22Merge branch 'koscrob-core-and-cache-detection-improvements' into devMITSUNARI Shigeo
2024-02-22recover maskMITSUNARI Shigeo
2024-02-22remove a blankMITSUNARI Shigeo
2024-02-22define IntelCpuTopologyLevel for backward compatibilityMITSUNARI Shigeo
2024-02-22remove unused variablesMITSUNARI Shigeo
2024-02-22rename compareVendorString to isEqualStrMITSUNARI Shigeo
2024-02-22tweak compareVendorStringMITSUNARI Shigeo
2024-02-22use 32bitAsBEMITSUNARI Shigeo
2024-02-21Changed the vendor string detection code, added the compareVendorString() ↵koscrob
helper function.
2024-02-19Improvements to core count and cache hierarchy detection.koscrob
FIX: setCacheHierarchy() threw a div-by-zero exception on legacy AMD CPUs. Improved detection of cores/threads for legacy AMD CPUs in setNumCores(). Improved cache hierarchy detection for AMD and Intel CPUs in setCacheHierarchy(). FIX: Typo "coresSharignDataCache_" -> "coresSharingDataCache_". Compare the full manufacturer ID strings to detect CPU manufacturers (AMD or Intel). getCpuid() now calls getCpuidEx() internally. setFamily() now utilizes extractBit(). FIX: If CPU family == 6 then only add extModel to model on Intel CPUs. Renamed IntelCpuTopologyLevel to CpuTopologyLevel as both Intel and modern AMD CPUs support the feature. Removed no longer used functions: mask() and get32bitAsBE(). Removed no longer used x2APIC_supported_ private field.
2024-02-11v7.05.1v7.05.1MITSUNARI Shigeo
2024-02-11Merge branch 'dev'MITSUNARI Shigeo
2024-02-11Merge branch 'koscrob-fix-extractBit' into devMITSUNARI Shigeo
2024-02-09FIX: extractBit() off-by-one issue.koscrob
Currently while extracting bits, bit "end" is excluded from the result while, based on usage, it is expected to be included.
2024-01-31Merge branch 'dev'MITSUNARI Shigeo
2024-01-31Merge branch 'nivas-x86-master' into devMITSUNARI Shigeo
2024-01-29support align for auto_grownivas-x86
2024-01-15Merge branch 'bylaws-patch-1'MITSUNARI Shigeo
2024-01-11support building for arm64ecBilly Laws
ARM64EC is a custom ABI designed to allow ARM64 code to directly call into x64 code and vice-versa. In order to facilitate this, __x86_64__ (in llvm) and _M_X64 (in msvc) are both defined, but most x64 intrinsics aren't supported, so don't attempt to use them.
2024-01-03Merge branch 'dev'v7.05MITSUNARI Shigeo
2024-01-03v7.05MITSUNARI Shigeo
2024-01-03update docMITSUNARI Shigeo
2024-01-03use opSetCC for setCCMITSUNARI Shigeo
2024-01-03use opMR with APXMITSUNARI Shigeo
2024-01-03tweakMITSUNARI Shigeo
2024-01-03RAO_INT supports APXMITSUNARI Shigeo
2024-01-03use Address.immSizeMITSUNARI Shigeo
2024-01-03refactor Address classMITSUNARI Shigeo