Template:X86-64 Instructions
x86-64 Instructions, C-Intrinsic reference from x64 (amd64) Intrinsics List | Microsoft Docs
Mnemonic | Description | C-Intrinsic | Remark |
---|---|---|---|
bsf | bit scan forward | _BitScanForward64 | |
bsr | bit scan reverse | _BitScanReverse64 | |
bswap | byte swap | _byteswap_uint64 | |
bt | bit test | _bittest64 | |
btc | bit test and complement | _bittestandcomplement64 | |
btr | bit test and reset | _bittestandreset64 | |
bts | bit test and set | _bittestandset64 | |
cpuid | cpuid | _cpuid | cpuid |
imul | signed multiplication | _mulh, _mul128 | |
lzcnt | leading zero count | _lzcnt16, _lzcnt, _lzcnt64 | cpuid, SSE4a |
mul | unsigned multiplication | _umulh, _umul128 | |
popcnt | population count | _popcnt16, _popcnt, _popcnt64 | cpuid, SSE4.2, SSE4a |
rdtsc | read performance counter | _rdtsc | |
rol, ror | rotate left, right | _rotl, _rotl64, _rotr, _rotr64 |