# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi 2>&1 | FileCheck %s -check-prefix=CHECK-WARN
# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi 2>&1 | FileCheck %s

# CHECK-WARN: potentially undefined
# CHECK-WARN: 0x74 0x03 0xaf 0x06
# CHECK: sxtb
0x74 0x03 0xaf 0x06

# CHECK-WARN: potentially undefined
# CHECK-WARN: 0x74 0x3f 0xbf 0x06
# CHECK: sxth
0x74 0x3f 0xbf 0x06

# CHECK-WARN: potentially undefined
# CHECK-WARN: 0x74 0x3f 0xa6 0x06
# CHECK: sxtab
0x74 0x3f 0xa6 0x06

# CHECK-WARN: potentially undefined
# CHECK-WARN: 0x74 0x3f 0xb7 0x06
# CHECK: sxtah
0x74 0x3f 0xb7 0x06

# CHECK-WARN: potentially undefined
# CHECK-WARN: 0x74 0x3f 0x8f 0x06
# CHECK: sxtb16
0x74 0x3f 0x8f 0x06

# CHECK-WARN: potentially undefined
# CHECK-WARN: 0x74 0x3f 0x86 0x06
# CHECK: sxtab16
0x74 0x3f 0x86 0x06

# CHECK-WARN: potentially undefined
# CHECK-WARN: 0x74 0x3f 0xef 0x06
# CHECK: uxtb
0x74 0x3f 0xef 0x06

# CHECK-WARN: potentially undefined
# CHECK-WARN: 0x74 0x3f 0xff 0x06
# CHECK: uxth
0x74 0x3f 0xff 0x06

# CHECK-WARN: potentially undefined
# CHECK-WARN: 0x74 0x3f 0xcf 0x06
# CHECK: uxtb16
0x74 0x3f 0xcf 0x06

# CHECK-WARN: potentially undefined
# CHECK-WARN: 0x74 0x3f 0xe4 0x06
# CHECK: uxtab
0x74 0x3f 0xe4 0x06

# CHECK-WARN: potentially undefined
# CHECK-WARN: 0x74 0x3f 0xf2 0x06
# CHECK: uxtah
0x74 0x3f 0xf2 0x06

# CHECK-WARN: potentially undefined
# CHECK-WARN: 0x74 0x3f 0xc4 0x06
# CHECK: uxtab16
0x74 0x3f 0xc4 0x06