You copied the Doc URL to your clipboard.

Media instructions

These instructions are under the top-level.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
!= 1111 011 op0 op1 1
Decode fields Instruction details
op0 op1
00xxx Parallel Arithmetic
01000 101 SEL
01000 001 UNALLOCATED
01000 xx0 PKHBT, PKHTB
01001 x01 UNALLOCATED
01001 xx0 UNALLOCATED
0110x x01 UNALLOCATED
0110x xx0 UNALLOCATED
01x10 001 Saturate 16-bit
01x10 101 UNALLOCATED
01x11 x01 Reverse Bit/Byte
01x1x xx0 Saturate 32-bit
01xxx 111 UNALLOCATED
01xxx 011 Extend and Add
10xxx Signed multiply, Divide
11000 000 Unsigned Sum of Absolute Differences
11000 100 UNALLOCATED
11001 x00 UNALLOCATED
1101x x00 UNALLOCATED
110xx 111 UNALLOCATED
1110x 111 UNALLOCATED
1110x x00 Bitfield Insert
11110 111 UNALLOCATED
11111 111 Permanently UNDEFINED
1111x x00 UNALLOCATED
11x0x x10 UNALLOCATED
11x1x x10 Bitfield Extract
11xxx 011 UNALLOCATED
11xxx x01 UNALLOCATED

Parallel Arithmetic

These instructions are under Media instructions.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
!= 1111 0 1 1 0 0 op1 Rn Rd (1) (1) (1) (1) B op2 1 Rm
cond

The following constraints also apply to this encoding: cond != 1111 && cond != 1111

Decode fields Instruction Details
op1 B op2
000 UNALLOCATED
001 0 00 SADD16
001 0 01 SASX
001 0 10 SSAX
001 0 11 SSUB16
001 1 00 SADD8
001 1 01 UNALLOCATED
001 1 10 UNALLOCATED
001 1 11 SSUB8
010 0 00 QADD16
010 0 01 QASX
010 0 10 QSAX
010 0 11 QSUB16
010 1 00 QADD8
010 1 01 UNALLOCATED
010 1 10 UNALLOCATED
010 1 11 QSUB8
011 0 00 SHADD16
011 0 01 SHASX
011 0 10 SHSAX
011 0 11 SHSUB16
011 1 00 SHADD8
011 1 01 UNALLOCATED
011 1 10 UNALLOCATED
011 1 11 SHSUB8
100 UNALLOCATED
101 0 00 UADD16
101 0 01 UASX
101 0 10 USAX
101 0 11 USUB16
101 1 00 UADD8
101 1 01 UNALLOCATED
101 1 10 UNALLOCATED
101 1 11 USUB8
110 0 00 UQADD16
110 0 01 UQASX
110 0 10 UQSAX
110 0 11 UQSUB16
110 1 00 UQADD8
110 1 01 UNALLOCATED
110 1 10 UNALLOCATED
110 1 11 UQSUB8
111 0 00 UHADD16
111 0 01 UHASX
111 0 10 UHSAX
111 0 11 UHSUB16
111 1 00 UHADD8
111 1 01 UNALLOCATED
111 1 10 UNALLOCATED
111 1 11 UHSUB8

Saturate 16-bit

These instructions are under Media instructions.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
!= 1111 0 1 1 0 1 U 1 0 sat_imm Rd (1) (1) (1) (1) 0 0 1 1 Rn
cond

The following constraints also apply to this encoding: cond != 1111 && cond != 1111

Decode fields Instruction Details
U
0 SSAT16
1 USAT16

Reverse Bit/Byte

These instructions are under Media instructions.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
!= 1111 0 1 1 0 1 o1 1 1 (1) (1) (1) (1) Rd (1) (1) (1) (1) o2 0 1 1 Rm
cond

The following constraints also apply to this encoding: cond != 1111 && cond != 1111

Decode fields Instruction Details
o1 o2
0 0 REV
0 1 REV16
1 0 RBIT
1 1 REVSH

Saturate 32-bit

These instructions are under Media instructions.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
!= 1111 0 1 1 0 1 U 1 sat_imm Rd imm5 sh 0 1 Rn
cond

The following constraints also apply to this encoding: cond != 1111 && cond != 1111

Decode fields Instruction Details
U
0 SSAT
1 USAT

Extend and Add

These instructions are under Media instructions.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
!= 1111 0 1 1 0 1 U op Rn Rd rotate (0) (0) 0 1 1 1 Rm
cond

The following constraints also apply to this encoding: cond != 1111 && cond != 1111

Decode fields Instruction Details
U op Rn
0 00 != 1111 SXTAB16
0 00 1111 SXTB16
0 10 != 1111 SXTAB
0 10 1111 SXTB
0 11 != 1111 SXTAH
0 11 1111 SXTH
1 00 != 1111 UXTAB16
1 00 1111 UXTB16
1 10 != 1111 UXTAB
1 10 1111 UXTB
1 11 != 1111 UXTAH
1 11 1111 UXTH

Signed multiply, Divide

These instructions are under Media instructions.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
!= 1111 0 1 1 1 0 op1 Rd Ra Rm op2 1 Rn
cond

The following constraints also apply to this encoding: cond != 1111 && cond != 1111

Decode fields Instruction Details
op1 Ra op2
000 != 1111 000 SMLAD, SMLADXSMLAD
000 != 1111 001 SMLAD, SMLADXSMLADX
000 != 1111 010 SMLSD, SMLSDXSMLSD
000 != 1111 011 SMLSD, SMLSDXSMLSDX
000 1xx UNALLOCATED
000 1111 000 SMUAD, SMUADXSMUAD
000 1111 001 SMUAD, SMUADXSMUADX
000 1111 010 SMUSD, SMUSDXSMUSD
000 1111 011 SMUSD, SMUSDXSMUSDX
001 000 SDIV
001 != 000 UNALLOCATED
010 UNALLOCATED
011 000 UDIV
011 != 000 UNALLOCATED
100 000 SMLALD, SMLALDXSMLALD
100 001 SMLALD, SMLALDXSMLALDX
100 010 SMLSLD, SMLSLDXSMLSLD
100 011 SMLSLD, SMLSLDXSMLSLDX
100 1xx UNALLOCATED
101 != 1111 000 SMMLA, SMMLARSMMLA
101 != 1111 001 SMMLA, SMMLARSMMLAR
101 01x UNALLOCATED
101 10x UNALLOCATED
101 110 SMMLS, SMMLSRSMMLS
101 111 SMMLS, SMMLSRSMMLSR
101 1111 000 SMMUL, SMMULRSMMUL
101 1111 001 SMMUL, SMMULRSMMULR
11x UNALLOCATED

Unsigned Sum of Absolute Differences

These instructions are under Media instructions.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
!= 1111 0 1 1 1 1 0 0 0 Rd Ra Rm 0 0 0 1 Rn
cond

The following constraints also apply to this encoding: cond != 1111 && cond != 1111

Decode fields Instruction Details
Ra
!= 1111 USADA8
1111 USAD8

Bitfield Insert

These instructions are under Media instructions.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
!= 1111 0 1 1 1 1 1 0 msb Rd lsb 0 0 1 Rn
cond

The following constraints also apply to this encoding: cond != 1111 && cond != 1111

Decode fields Instruction Details
Rn
!= 1111 BFI
1111 BFC

Permanently UNDEFINED

These instructions are under Media instructions.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
!= 1111 0 1 1 1 1 1 1 1 imm12 1 1 1 1 imm4
cond

The following constraints also apply to this encoding: cond != 1111 && cond != 1111

Decode fields Instruction Details
cond
0xxx UNALLOCATED
10xx UNALLOCATED
110x UNALLOCATED
1110 UDF

Bitfield Extract

These instructions are under Media instructions.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
!= 1111 0 1 1 1 1 U 1 widthm1 Rd lsb 1 0 1 Rn
cond

The following constraints also apply to this encoding: cond != 1111 && cond != 1111

Decode fields Instruction Details
U
0 SBFX
1 UBFX