Documentation ¶
Overview ¶
THESE PACKAGES ARE FOR DEMONSTRATION PURPOSES ONLY!
THEY DO NOT NOT CONTAIN WORKING INTRINSICS!
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Popcnt32 ¶
Popcnt32: Count the number of bits set to 1 in 32-bit integer 'a', and return that count in 'dst'.
dst := 0 FOR i := 0 to 31 IF a[i] dst := dst + 1 FI ENDFOR
Instruction: 'POPCNT'. Intrinsic: '_popcnt32'. Requires POPCNT.
func Popcnt64 ¶
Popcnt64: Count the number of bits set to 1 in 64-bit integer 'a', and return that count in 'dst'.
dst := 0 FOR i := 0 to 63 IF a[i] dst := dst + 1 FI ENDFOR
Instruction: 'POPCNT'. Intrinsic: '_popcnt64'. Requires POPCNT.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.