all: build prebuilt binaries with AVX2 / x86_64-v3 starting Jan 1st, 2025 #989
Labels
No labels
CI
all
basisu
blog
bug
build
contributor-friendly
core
correctness
deferred
dev
direct3d-headers
docs
driver-os-issue
duplicate
dxcompiler
editor
examples
experiment
feature-idea
feedback
flac
freetype
gamemode
gkurve
glfw
gpu
gpu-dawn
harfbuzz
help welcome
in-progress
infrastructure
invalid
libmach
linux-audio-headers
long-term
mach
mach.gfx
mach.math
mach.physics
mach.testing
model3d
needs-triage
object
opengl-headers
opus
os/linux
os/macos
os/wasm
os/windows
package-manager
priority
proposal
proposal-accepted
question
roadmap
slipped
stability
sysaudio
sysgpu
sysjs
validating-fix
vulkan-zig-generated
wayland-headers
website
wontfix
wrench
www
x11-headers
xcode-frameworks
zig-update
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
hexops/mach#989
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Today we build binaries with
-Dcpu=x86_64_v3, which enables AVX and AVX2. However, cheaper laptops from ~2019 use e.g. Celeron 3867U processors which only support SSE4.2.We've also had users want to be able to use Mach on much older hardware, e.g. Pentium E5700 from 2010.
Anyone can build Dawn from source, though on low-end CPUs it would take quite a while
Supporting all hardware is simply not possible, especially so because graphics hardware is an ever-moving target which enables much more capabilities than just CPU hardware changes do. We need a cut-off date of what we will and won't support in general.
Decision
By default out-of-the-box I expect Mach to work on hardware released in the last 5 years. It may be possible to use on older hardware, but you'll have to potentially go through hoops or be unable to use some features.
This means we should disable AVX/AVX2 support, and build our Dawn binaries with x86_64-v2 instead of x86_64-v3 today.
The Celeron 3867U ~2019 laptop user will be able to use Mach today, but it will only be supported until the end of 2024.
TODO
On January 1st, 2025, we will upgrade from x86_64-v2 to x86_64-v3 and require AVX/AVX2 support.
Some useful links: