Create Makefile variables for 'share' and 'libexec'
[oota-llvm.git] / test / MC / ARM / thumb2-ldrexd-strexd.s
1 @ RUN: llvm-mc -triple=thumbv6t2--none-eabi -show-encoding < %s | FileCheck %s
2 @ RUN: llvm-mc -triple=thumbv7a--none-eabi -show-encoding < %s | FileCheck %s
3 @ RUN: llvm-mc -triple=thumbv7r--none-eabi -show-encoding < %s | FileCheck %s
4 @ RUN: llvm-mc -triple=thumbv8a--none-eabi -show-encoding < %s | FileCheck %s
5 @ RUN: not llvm-mc -triple=thumbv7m--none-eabi -show-encoding < %s 2>&1 | FileCheck %s --check-prefix=UNDEF
6
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*m
14 @ UNDEF: error: instruction requires: !armv*m