# RUN: llvm-mc -triple=xtensa -mattr=+mul32high -disassemble %s | FileCheck -check-prefixes=CHECK-MUL32HIGH %s # RUN: not llvm-mc -triple=xtensa -disassemble %s 2>&1 | FileCheck --implicit-check-not=warning: -check-prefixes=CHECK-CORE %s ## Verify that binary code is correctly disassembled with ## mul32high option enabled. Also verify that dissasembling without ## mul32high option generates warnings. [0x50,0x34,0xa2] # CHECK-MUL32HIGH: muluh a3, a4, a5 # CHECK-CORE: [[#@LINE-2]]:2: warning: invalid instruction encoding [0x50,0x34,0xb2] # CHECK-MUL32HIGH: mulsh a3, a4, a5 # CHECK-CORE: [[#@LINE-2]]:2: warning: invalid instruction encoding