I'm looking at some assembly code and I'm seeing tzcntl. A search for that instruction redirects to lzcnt. Are these the same instructions? Is it possible to use lzcnt with gcc?
I've seen this example: Intrinsic __lzcnt64 returns different values with different compile options
Although I'm confused about whether or not I need to use __lzcnt64 or if there is a 32 bit version.
So in summary:
- What's the difference between tzcntl and lzcnt, if any?
- How to properly use lzcnt with gcc (code, includes, and compiling)
- Can I select a 32 bit or 64 bit version?