Minor code cleanup

This commit is contained in:
Andreas T Jonsson
2024-05-10 17:49:56 +02:00
parent a45e69e656
commit f428e30211
2 changed files with 8 additions and 8 deletions
+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