brintos

brintos / llvm-project-archived public Read only

0
0
Text · 627 B · 1e8d75f 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=+threadptr -disassemble %s | FileCheck -check-prefixes=CHECK-THREADPTR %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 with6## THREADPTR option enabled. Also verify that dissasembling without7## THREADPTR option generates warnings.8 9[0x70,0x3e,0xe3]10# CHECK-THREADPTR: rur	a3, threadptr11# CHECK-CORE: :[[@LINE-2]]:2: warning: invalid instruction encoding12