Tweak a couple of tests on win32 hosts with +Asserts.
[oota-llvm.git] / test / MC / ARM / arm-thumb-cpus-default.s
1 @ RUN: llvm-mc -show-encoding -arch=arm < %s | FileCheck %s --check-prefix=CHECK-ARM-ONLY
2 @ RUN: llvm-mc -show-encoding -triple=armv4t < %s | FileCheck %s --check-prefix=CHECK-ARM-THUMB
3 @ RUN: llvm-mc -show-encoding -arch=arm -mcpu=cortex-a15 < %s| FileCheck %s --check-prefix=CHECK-ARM-THUMB
4 @ RUN: llvm-mc -show-encoding -arch=arm -mcpu=cortex-m3 < %s | FileCheck %s --check-prefix=CHECK-THUMB-ONLY
5 @ RUN: llvm-mc -show-encoding -triple=armv7m < %s | FileCheck %s --check-prefix=CHECK-THUMB-ONLY
6 @ RUN: llvm-mc -show-encoding -triple=armv6m < %s | FileCheck %s --check-prefix=CHECK-THUMB-ONLY
7
8 @ FIXME: Could we avoid XFAIL to specify triple above?
9 @ XFAIL: cygwin,mingw32,win32
10
11         @ Make sure the architecture chosen by LLVM defaults to a compatible
12         @ ARM/Thumb mode.
13         movs r0, r0
14 @ CHECK-ARM-THUMB: movs r0, r0 @ encoding: [0x00,0x00,0xb0,0xe1]
15 @ CHECK-ARM-ONLY: movs r0, r0 @ encoding: [0x00,0x00,0xb0,0xe1]
16 @ CHECK-THUMB-ONLY: movs r0, r0 @ encoding: [0x00,0x00]