brintos

brintos / llvm-project-archived public Read only

0
0
Text · 656 B · 69d7d42 Raw
12 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --version 52# RUN: llvm-mc -triple=xtensa -mattr=+windowed,+density -disassemble %s | FileCheck -check-prefixes=CHECK-WINDOWED-DENSITY %s3# RUN: not llvm-mc -triple=xtensa -disassemble %s 2>&1 | FileCheck --implicit-check-not=warning: -check-prefixes=CHECK-CORE %s4 5## Verify that binary code is correctly disassembled with windowed register6## and code density options enabled. Also verify that7## dissasembling without these options generates warnings.8 9[0x1d,0xf0]10# CHECK-WINDOWED-DENSITY: retw.n11# CHECK-CORE: :[[@LINE-2]]:2: warning: invalid instruction encoding12