Skip to content

Commit a4b0925

Browse files
authored
Update popcnt16-popcnt-popcnt64.md
1 parent c1fbcfa commit a4b0925

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/intrinsics/popcnt16-popcnt-popcnt64.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The number of one bits in the `value` parameter.
4646

4747
## Remarks
4848

49-
Each of these intrinsics generates the `popcnt` instruction. The size of the value that the `popcnt` instruction returns is the same as the size of its parameter. In 32-bit mode there are no 64-bit general-purpose registers, hence no 64-bit `popcnt`.
49+
Each of these intrinsics generates the `popcnt` instruction. In 32-bit mode there are no 64-bit general-purpose registers, hence no 64-bit `popcnt`.
5050

5151
To determine hardware support for the `popcnt` instruction, call the `__cpuid` intrinsic with `InfoType=0x00000001` and check bit 23 of `CPUInfo[2] (ECX)`. This bit is 1 if the instruction is supported, and 0 otherwise. If you run code that uses this intrinsic on hardware that does not support the `popcnt` instruction, the results are unpredictable.
5252

0 commit comments

Comments
 (0)