Minor code cleanup

This commit is contained in:
Andreas T Jonsson committed 2024-05-10 17:49:56 +02:00
1 parent a45e69e656
commit f428e30211
2 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -68,7 +68,7 @@ init_cpu_features :: proc "c" () {
try_set(&set, .rdrand, 30, ecx1)
when ODIN_OS == .FreeBSD || ODIN_OS == .OpenBSD || ODIN_OS == .NetBSD {
// xgetbv is an illegal instruction under FreeBSD 13 & OpenBSD 7.1
// xgetbv is an illegal instruction under FreeBSD 13, OpenBSD 7.1 and NetBSD 10
// return before probing further
cpu_features = set
return