1 # RUN: llvm-mc -triple hexagon -filetype=obj %s | llvm-objdump -d - | FileCheck %s
2 # Hexagon Programmer's Reference Manual 11.1.1 ALU32/ALU
10 r17 = add(r21, r31):sat
38 r17 = sub(r31, r21):sat
58 # Vector add halfwords
62 r17 = vaddh
(r21, r31):sat
64 r17 = vadduh
(r21, r31):sat
66 # Vector average halfwords
70 r17 = vavgh
(r21, r31):rnd
72 r17 = vnavgh
(r31, r21)
74 # Vector subtract halfwords
78 r17 = vsubh
(r31, r21):sat
80 r17 = vsubuh
(r31, r21):sat