# RUN: llvm-mc -triple=xtensa -mattr=+dcache -disassemble %s | FileCheck -check-prefixes=CHECK-DCACHE %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 ## dcache option enabled. Also verify that dissasembling without ## dcache option generates warnings. [0x30,0x61,0x61] # CHECK-DCACHE: xsr a3, memctl # CHECK-CORE: [[#@LINE-2]]:2: warning: invalid instruction encoding