EasyManua.ls Logo

Infineon TriCore TC1.6E - GE - Greater than or Equal; GE.U - Greater than or Equal Unsigned

Infineon TriCore TC1.6E
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-109
GE
Greater Than or Equal
GE.U
Greater Than or Equal Unsigned
Description
If the contents of data register D[a] are greater than or equal to the contents of either data register D[b] (instruction
format RR) or const9 (instruction format RC), set the least-significant bit of D[c] to one and clear the remaining bits
to zero; otherwise clear all bits in D[c]. D[a] and D[b] are treated as 32-bit signed (GE) or unsigned (GE.U) integers.
The const9 value is sign-extended (GE) or zero-extended (GE.U).
GED[c], D[a], const9 (RC)
result = (D[a] >= sign_ext(const9));
D[c] = zero_ext(result);
GED[c], D[a], D[b] (RR)
result = (D[a] >= D[b]);
D[c] = zero_ext(result);
GE.UD[c], D[a], const9 (RC)
result = (D[a] >= zero_ext(const9)); // unsigned
D[c] = zero_ext(result);
GE.UD[c], D[a], D[b] (RR)
result = (D[a] >= D[b]); // unsigned
D[c] = zero_ext(result);
Status Flags
C Not set by these instructions.
V Not set by these instructions.
SV Not set by these instructions.
AV Not set by these instructions.
31
c
28 27
14
H
21 20
const9
12 11
a
8 7
8B
H
0
31
c
28 27
14
H
20 19
-
18 17
-
16 15
b
12 11
a
8 7
0B
H
0
31
c
28 27
15
H
21 20
const9
12 11
a
8 7
8B
H
0
31
c
28 27
15
H
20 19
-
18 17
-
16 15
b
12 11
a
8 7
0B
H
0

Table of Contents

Related product manuals