Skip to content

Commit 198c65d

Browse files
committed
Remove tzcnt from audited BMI1 instructions
As it turns out [^1], compilers will emit this instruction in some circumstances even when BMI1 is not technically available on your architecture, since by happy-accident older CPU's decode this instruction in backward-compatible way for non-zero inputs. [^1]: https://stackoverflow.com/questions/61422827/does-x64-support-imply-bmi1-support
1 parent 2a5e711 commit 198c65d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/auditor/instructions.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -1035,8 +1035,7 @@
10351035
"bextr",
10361036
"blsi",
10371037
"blsmsk",
1038-
"blsr",
1039-
"tzcnt"
1038+
"blsr"
10401039
],
10411040
"adcx": []
10421041
}

0 commit comments

Comments
 (0)