mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-09 12:02:08 +00:00
Merge branch 'fix-avx512-32bit-x86-pr' of https://github.com/Blarse/kitty
Some checks are pending
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
Some checks are pending
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
This commit is contained in:
commit
d4d6db3cfd
1 changed files with 4 additions and 0 deletions
|
|
@ -388,6 +388,10 @@ init_simd(void *x) {
|
|||
has_avx2 = strcmp(simd_env, "256") == 0;
|
||||
has_avx512 = strcmp(simd_env, "512") == 0;
|
||||
}
|
||||
#if !(defined(__x86_64__) || defined(__amd64__)) || defined(KITTY_NO_SIMD)
|
||||
// The AVX-512 implementations are x86-64 only, elsewhere they are stubs that call fatal()
|
||||
has_avx512 = false;
|
||||
#endif
|
||||
|
||||
#undef do_check
|
||||
if (has_avx512) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue