# RUN: llvm-mc -triple=hexagon -filetype=obj -o - %s | llvm-objdump -d - | FileCheck %s
# Hexagon Programmer's Reference Manual 11.10.6 XTYPE/PERM
# CABAC decode bin
# CHECK: d0 de d4 c1
r17:16 =
# Saturate
# CHECK: 11 c0 d4 88
r17 =
# CHECK: 91 c0 d5 8c
r17 =
# CHECK: b1 c0 d5 8c
r17 =
# CHECK: d1 c0 d5 8c
r17 =
# CHECK: f1 c0 d5 8c
r17 =
# Swizzle bytes
# CHECK: f1 c0 95 8c
r17 =
# Vector align
# CHECK: 70 d4 1e c2
r17:16 =
# CHECK: 70 de 94 c2
r17:16 =
# Vector round and pack
# CHECK: 91 c0 94 88
r17 =
# CHECK: d1 c0 94 88
r17 = :sat
# Vector saturate and pack
# CHECK: 11 c0 14 88
r17 =
# CHECK: 51 c0 14 88
r17 =
# CHECK: 91 c0 14 88
r17 =
# CHECK: d1 c0 14 88
r17 =
# CHECK: 11 c0 95 8c
r17 =
# CHECK: 51 c0 95 8c
r17 =
# Vector saturate without pack
# CHECK: 90 c0 14 80
r17:16 =
# CHECK: b0 c0 14 80
r17:16 =
# CHECK: d0 c0 14 80
r17:16 =
# CHECK: f0 c0 14 80
r17:16 =
# Vector shuffle
# CHECK: 50 de 14 c1
r17:16 =
# CHECK: 90 d4 1e c1
r17:16 =
# CHECK: d0 de 14 c1
r17:16 =
# CHECK: 10 d4 9e c1
r17:16 =
# Vector splat bytes
# CHECK: f1 c0 55 8c
r17 =
# Vector splat halfwords
# CHECK: 50 c0 55 84
r17:16 =
# Vector splice
# CHECK: 70 de 94 c0
r17:16 =