11 lines · plain
1# RUN: llvm-mc -triple=xtensa -mattr=+clamps -disassemble %s | FileCheck -check-prefixes=CHECK-CLAMPS %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## clamps option enabled. Also verify that dissasembling without6## clamps option generates warnings.7 8[0x00,0x34,0x33]9# CHECK-CLAMPS: clamps a3, a4, 710# CHECK-CORE: [[#@LINE-2]]:2: warning: invalid instruction encoding11