TriCore
®
TC1.6P & TC1.6E
32-bit Unified Processor Core
Instruction Set
V1.0 2013-07
User Manual (Volume 2) 3-304
OR.LT
Less Than Accumulating
OR.LT.U
Less Than Accumulating Unsigned
Description
Calculate the logical OR of D[c][0] and the Boolean result of the LT or LT.U operation on the contents of data
register D[a] and either data register D[b] (instruction format RR) or const9 (instruction format RC). Put the result
in D[c][0]. All other bits in D[c] are unchanged. D[a] and D[b] are treated as 32-bit signed (LT) or unsigned (LT.U)
integers. The const9 value is sign-extended (LT) or zero-extended (LT.U).
OR.LTD[c], D[a], const9 (RC)
D[c] = {D[c][31:1], D[c][0] OR (D[a] < sign_ext(const9))};
OR.LTD[c], D[a], D[b] (RR)
D[c] = {D[c][31:1], D[c][0] OR (D[a] < D[b])};
OR.LT.UD[c], D[a], const9 (RC)
D[c] = {D[c][31:1], D[c][0] OR (D[a] < zero_ext(const9))}; // unsigned
OR.LT.UD[c], D[a], D[b] (RR)
D[c] = {D[c][31:1], D[c][0] OR (D[a] < D[b])}; // unsigned
Status Flags
Examples
or.lt d3, d1, d2
or.lt d3, d1, #126
C Not set by these instructions.
V Not set by these instructions.
SV Not set by these instructions.
AV Not set by these instructions.
SAV Not set by these instructions.
31
c
28 27
29
H
21 20
const9
12 11
a
8 7
8B
H
0
31
c
28 27
29
H
20 19
-
18 17
-
16 15
b
12 11
a
8 7
0B
H
0
31
c
28 27
2A
H
21 20
const9
12 11
a
8 7
8B
H
0
31
c
28 27
2A
H
20 19
-
18 17
-
16 15
b
12 11
a
8 7
0B
H
0