brintos

brintos / llvm-project-archived public Read only

0
0
Text · 506 B · b251d22 Raw
11 lines · plain
1# RUN: llvm-mc -triple=xtensa -mattr=+mul32 -disassemble %s | FileCheck -check-prefixes=CHECK-MUL32 %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## mul32 option enabled. Also verify that dissasembling without6## mul32 option generates warnings.7 8[0x50,0x34,0x82]9# CHECK-MUL32: mull a3, a4, a510# CHECK-CORE: [[#@LINE-2]]:2: warning: invalid instruction encoding11