Parallel Arithmetic Instructions

Operation

Mnemonic(s)

  1. byte

  • byte

4-byte

Parallel modulo addition

padd

x

x

x

Parallel addition with signed saturation

padd.sss

x

x

 

Parallel addition with unsigned saturation

padd.uuu, padd.uus

x

x

 

Parallel modulo subtraction

psub

x

x

x

Parallel subtraction with signed saturation

psub.sss

x

x

 

Parallel subtraction with unsigned saturation

psub.uuu, psub.uus

x

x

 

Parallel arithmetic average

pavg

x

x

 

Parallel arithmetic average with round away from zero

pavg.raz

x

x

 

Parallel average of a difference

pavgsub

x

x

 

Parallel shift left and add with saturation

pshladd

 

x

 

Parallel shift right and add with saturation

pshradd

 

x

 

Parallel compare

pcmp

x

x

x

Parallel signed multiply of odd elements

pmpy.l

 

 

x

Parallel signed multiply of even elements

pmpy.r

 

 

x

Parallel signed multiply and shift right

pmpyshr

 

x

 

Parallel unsigned multiply and shift right

pmpyshr.u

 

x

 

Parallel sum of absolute difference

psad1

x

 

 

Parallel minimum

pmmin

x

x

 

Parallel maximum

pmax

x

x