<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>http://www.alphalinux.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Count_Instruction_Extension</id>
	<title>Count Instruction Extension - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.alphalinux.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Count_Instruction_Extension"/>
	<link rel="alternate" type="text/html" href="http://www.alphalinux.org/wiki/index.php?title=Count_Instruction_Extension&amp;action=history"/>
	<updated>2026-05-25T06:04:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.7</generator>
	<entry>
		<id>http://www.alphalinux.org/wiki/index.php?title=Count_Instruction_Extension&amp;diff=86&amp;oldid=prev</id>
		<title>Gareth: Imported from http://web.archive.org/web/20110529090708/http://www.alphalinux.org/wiki/index.php?title=Count_Instruction_Extension&amp;action=edit</title>
		<link rel="alternate" type="text/html" href="http://www.alphalinux.org/wiki/index.php?title=Count_Instruction_Extension&amp;diff=86&amp;oldid=prev"/>
		<updated>2019-08-29T18:25:48Z</updated>

		<summary type="html">&lt;p&gt;Imported from http://web.archive.org/web/20110529090708/http://www.alphalinux.org/wiki/index.php?title=Count_Instruction_Extension&amp;amp;action=edit&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Initially implemented in the [[Processors#EV67|EV67]] processor, the Count Instruction Extension adds three instructions to count bits.&lt;br /&gt;
&lt;br /&gt;
== Added Instructions ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;font-size:97%;&amp;quot;&lt;br /&gt;
! Mnemonic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
! ctlz&lt;br /&gt;
| Count Leading Zeros&lt;br /&gt;
|-&lt;br /&gt;
! ctpop&lt;br /&gt;
| Count Population (Count number of 1's)&lt;br /&gt;
|-&lt;br /&gt;
! cttz&lt;br /&gt;
| Count Trailing Zeros&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Determining Presence ==&lt;br /&gt;
&lt;br /&gt;
To determine the presence of CIX, use the [[amask]] instruction.&lt;br /&gt;
&lt;br /&gt;
== Latency and Slotting ==&lt;br /&gt;
The CIX instructions are slotted U0 and have a latency of 3 cycles. &amp;lt;ref&amp;gt;{{cite web|url=http://h18002.www1.hp.com/alphaserver/technology/literature/cmpwrgd.pdf|title=Compiler Writer’s Guide for the Alpha 21264|year=1999|month=June|format=PDF|publisher=Compaq Computer Corporation|pages=35-38}}&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Gareth</name></author>
		
	</entry>
</feed>