Skip to content

x86 cpu optim#1292

Merged
AntoinePrv merged 2 commits intoxtensor-stack:masterfrom
AntoinePrv:x86-cpu-optim
Apr 14, 2026
Merged

x86 cpu optim#1292
AntoinePrv merged 2 commits intoxtensor-stack:masterfrom
AntoinePrv:x86-cpu-optim

Conversation

@AntoinePrv
Copy link
Copy Markdown
Contributor

@AntoinePrv AntoinePrv commented Apr 9, 2026

This reduces the size of x86_cpu_feature:

  • On x86 platforms: 104 bytes -> 68 bytes
  • On non x86 platforms via a different "backend" mechanism: 104 bytes -> 0 byte (or 1)

This PR is slightly large, but most of it is code moving around (and a dirty C++14 backport).

@AntoinePrv AntoinePrv merged commit 47b10f3 into xtensor-stack:master Apr 14, 2026
73 checks passed
@AntoinePrv AntoinePrv deleted the x86-cpu-optim branch April 14, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants