EasyManua.ls Logo

Infineon TriCore TC1.6P - CLO.H - Count Leading Ones in Packed Half-Words

Infineon TriCore TC1.6P
484 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
TriCore
®
TC1.6P & TC1.6E
32-bit Unified Processor Core
Instruction Set
V1.0 2013-07
User Manual (Volume 2) 3-69
CLO.H
Count Leading Ones in Packed Half-words
Description
Count the number of consecutive ones in each half-word of D[a], starting with the most significant bit, and put each
result in the corresponding half-word of D[c].
CLO.HD[c], D[a] (RR)
result_halfword1 = zero_ext(leading_ones(D[a][31:16]));
result_halfword0 = zero_ext(leading_ones(D[a][15:0]));
D[c] = {result_halfword1[15:0],result_halfword0[15:0]};
Status Flags
Examples
clo.h d3, d1
See Also
CLO, CLS, CLS.H, CLZ, CLZ.H
C Not set by this instruction.
V Not set by this instruction.
SV Not set by this instruction.
AV Not set by this instruction.
SAV Not set by this instruction.
31
c
28 27
7D
H
20 19
-
18 17
-
16 15
-
12 11
a
8 7
0F
H
0

Table of Contents

Related product manuals