Difference between revisions of "Count Instruction Extension"

From AlphaLinux
Jump to: navigation, search
(Imported from http://web.archive.org/web/20110529090708/http://www.alphalinux.org/wiki/index.php?title=Count_Instruction_Extension&action=edit)
 
(No difference)

Latest revision as of 18:25, 29 August 2019

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