Programmers Model
ARM DDI 0363G
Copyright © 2006-2011 ARM Limited. All rights reserved.
3-11
ID073015
Non-Confidential
For more information on the operation of the IT execution state bits, see the
ARM Architecture
Reference Manual
.
3.6.4
The J bit
The J bit in the CPSR returns 0 when read.
Note
You cannot use an
MSR
to change the J bit in the CPSR.
3.6.5
The DNM bits
Software must not modify the
Do Not Modify
(DNM) bits. These bits are:
•
Readable, to preserve the state of the processor, for example, during process context
switches.
•
Writable, to enable the processor to restore its state. To maintain compatibility with future
ARM processors, and as good practice, use a read-modify-write strategy when you
change the CPSR.
3.6.6
The GE bits
Some of the SIMD instructions set GE[3:0] as greater-than-or-equal bits for individual
halfwords or bytes of the result, as
Table 3-2 GE[3:0] settings
GE[3]
GE[2]
GE[1]
GE[0]
Instruction
A op B greater than
or equal to C
A op B greater than
or equal to C
A op B greater
than or equal to C
A op B greater
than or equal to C
Signed
SADD16
[31:16] + [31:16]
≥
0
[31:16] + [31:16]
≥
0
[15:0] + [15:0]
≥
0
[15:0] + [15:0]
≥
0
SSUB16
[31:16] - [31:16]
≥
0
[31:16] - [31:16]
≥
0
[15:0] - [15:0]
≥
0
[15:0] - [15:0]
≥
0
SADDSUBX
[31:16] + [15:0]
≥
0
[31:16] + [15:0]
≥
0
[15:0] - [31:16]
≥
0
[15:0] - [31:16]
≥
0
SSUBADDX
[31:16] - [15:0]
≥
0
[31:16] - [15:0]
≥
0
[15:0] + [31:16]
≥
0
[15:0] + [31:16]
≥
0
SADD8
[31:24] + [31:24]
≥
0
[23:16] + [23:16]
≥
0
[15:8] + [15:8]
≥
0
[7:0] + [7:0]
≥
0
SSUB8
[31:24] - [31:24]
≥
0
[23:16] - [23:16]
≥
0
[15:8] - [15:8]
≥
0
[7:0] - [7:0]
≥
0
Unsigned
UADD16
[31:16] + [31:16]
≥
2
16
[31:16] + [31:16]
≥
2
16
[15:0] + [15:0]
≥
2
16
[15:0] + [15:0]
≥
2
16
USUB16
[31:16] - [31:16]
≥
0
[31:16] - [31:16]
≥
0
[15:0] - [15:0]
≥
0
[15:0] - [15:0]
≥
0
UADDSUBX
[31:16] + [15:0]
≥
2
16
[31:16] + [15:0]
≥
2
16
[15:0] - [31:16]
≥
0
[15:0] - [31:16]
≥
0
USUBADDX
[31:16] - [15:0]
≥
0
[31:16] - [15:0]
≥
0
[15:0] + [31:16]
≥
2
16
[15:0] + [31:16]
≥
2
16
UADD8
[31:24] + [31:24]
≥
2
8
[23:16] + [23:16]
≥
2
8
[15:8] + [15:8]
≥
2
8
[7:0] + [7:0]
≥
2
8
USUB8
[31:24] - [31:24]
≥
0
[23:16] - [23:16]
≥
0
[15:8] - [15:8]
≥
0
[7:0] - [7:0]
≥
0