Count Instruction Extension

From AlphaLinux
Revision as of 18:25, 29 August 2019 by Gareth (talk | contribs) (Imported from http://web.archive.org/web/20110529090708/http://www.alphalinux.org/wiki/index.php?title=Count_Instruction_Extension&action=edit)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Initially implemented in the EV67 processor, the Count Instruction Extension adds three instructions to count bits.

Added Instructions

Mnemonic Description
ctlz Count Leading Zeros
ctpop Count Population (Count number of 1's)
cttz Count Trailing Zeros

Determining Presence

To determine the presence of CIX, use the amask instruction.

Latency and Slotting

The CIX instructions are slotted U0 and have a latency of 3 cycles. [1].

References

  1. Template:Cite web