Skip to content

x86 cpu optim#1292

Open
AntoinePrv wants to merge 2 commits intoxtensor-stack:masterfrom
AntoinePrv:x86-cpu-optim
Open

x86 cpu optim#1292
AntoinePrv wants to merge 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).

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