[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / ARM / thumb2-ldrexd-strexd.s
blob3ffb0cb6eaf1d8c729445b7ac86197b24612124f
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
7 ldrexd r0, r1, [r2]
8 strexd r3, r4, r5, [r6]
10 @ CHECK: ldrexd r0, r1, [r2] @ encoding: [0xd2,0xe8,0x7f,0x01]
11 @ CHECK: strexd r3, r4, r5, [r6] @ encoding: [0xc6,0xe8,0x73,0x45]
13 @ UNDEF: error: instruction requires: !armv*m
14 @ UNDEF: error: instruction requires: !armv*m