mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:40:52 +01:00
[PR #183] host_cpu: move gta6rt's AVX preflight decision into a testable preflight() #235
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#235
Loading…
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/183
Author: @Andretuta
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:old-pr/9915📝 Commits (1)
93812b5host_cpu: move gta6rt's AVX preflight decision into a testable preflight()📊 Changes
4 files changed (+58 additions, -5 deletions)
View changed files
📝
runtime/src/host_cpu.cpp(+15 -0)📝
runtime/src/host_cpu.h(+7 -0)📝
runtime/src/main.cpp(+4 -5)📝
runtime/test/host_cpu_test.cpp(+32 -0)📄 Description
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):Thanks for
ad6e5d6, the clear AVX message is a real improvement. The decision in wmain (only --init/--run, LEONIDA_SKIP_CPU_CHECK, the message and exit code 4) wasn't reachable from a test, so this moves it intort::host_cpu::preflight()with an injectable feature source and adds cases to host_cpu_test. Behaviour is unchanged.Not built or run on my side.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.