brintos

brintos / llvm-project-archived public Read only

0
0
Text · 712 B · 3ffb0cb Raw
15 lines · plain
1@ RUN: llvm-mc -triple=thumbv6t2--none-eabi -show-encoding < %s | FileCheck %s2@ RUN: llvm-mc -triple=thumbv7a--none-eabi -show-encoding < %s | FileCheck %s3@ RUN: llvm-mc -triple=thumbv7r--none-eabi -show-encoding < %s | FileCheck %s4@ RUN: llvm-mc -triple=thumbv8a--none-eabi -show-encoding < %s | FileCheck %s5@ RUN: not llvm-mc -triple=thumbv7m--none-eabi -show-encoding < %s 2>&1 | FileCheck %s --check-prefix=UNDEF6 7  ldrexd r0, r1, [r2]8  strexd r3, r4, r5, [r6]9 10@ CHECK: ldrexd r0, r1, [r2]            @ encoding: [0xd2,0xe8,0x7f,0x01]11@ CHECK: strexd r3, r4, r5, [r6]        @ encoding: [0xc6,0xe8,0x73,0x45]12 13@ UNDEF: error: instruction requires: !armv*m14@ UNDEF: error: instruction requires: !armv*m15