11 lines · plain
1# RUN: llvm-mc -triple=xtensa -mattr=+dcache -disassemble %s | FileCheck -check-prefixes=CHECK-DCACHE %s2# RUN: not llvm-mc -triple=xtensa -disassemble %s 2>&1 | FileCheck --implicit-check-not=warning: -check-prefixes=CHECK-CORE %s3 4## Verify that binary code is correctly disassembled with5## dcache option enabled. Also verify that dissasembling without6## dcache option generates warnings.7 8[0x30,0x61,0x61]9# CHECK-DCACHE: xsr a3, memctl10# CHECK-CORE: [[#@LINE-2]]:2: warning: invalid instruction encoding11