i64.popcnt
i64 popcnt operation.
core0x7B
Syntax
i64.popcnt
Stack Effect
[i64] -> [i64]Opcode
- Hex
0x7B- Decimal
123- Bytes
[0x7b]- Encoding
0x7B- Category
- numeric
Browser Support
Core WebAssembly instruction.
Validation Rules
- Operands and result types must match the instruction signature.
- The instruction must appear in a valid structured control context.
Common Mistakes
- Using the instruction with the wrong operand type.
- Forgetting that WAT validation is stack-typed.
(func $example
;; i64.popcnt example
)