Minor code cleanup
This commit is contained in:
1 parent
a45e69e656
commit
f428e30211
2 files changed
+8
-8
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user