brintos

brintos / llvm-project-archived public Read only

0
0
Text · 516 B · c2a0ca3 Raw
11 lines · plain
1# RUN: llvm-mc -triple=xtensa -mattr=+rvector -disassemble %s | FileCheck -check-prefixes=CHECK-RVECTOR %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## rvector option enabled. Also verify that dissasembling without6## rvector option generates warnings.7 8[0x30,0xe7,0x61]9# CHECK-RVECTOR: xsr a3, vecbase10# CHECK-CORE: [[#@LINE-2]]:2: warning: invalid instruction encoding11