mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
859dccec1f
More updating of tests to be explicit about the target triple rather than relying on the default target triple supporting ARM mode. Indicate to lit that object emission is not yet available for Windows on ARM. llvm-svn: 205545
32 lines
1.2 KiB
ArmAsm
32 lines
1.2 KiB
ArmAsm
@ RUN: not llvm-mc -show-encoding -triple=arm-eabi < %s 2>&1 \
|
|
@ RUN: | FileCheck %s --check-prefix=CHECK-ARM-ONLY
|
|
|
|
@ RUN: llvm-mc -show-encoding -triple=armv4t < %s 2>&1 \
|
|
@ RUN: | FileCheck %s --check-prefix=CHECK-ARM-THUMB
|
|
|
|
@ RUN: llvm-mc -show-encoding -triple=arm-eabi -mcpu=cortex-a15 < %s 2>&1 \
|
|
@ RUN: | FileCheck %s --check-prefix=CHECK-ARM-THUMB
|
|
|
|
@ RUN: not llvm-mc -show-encoding -triple=arm-eabi -mcpu=cortex-m3 < %s 2>&1 \
|
|
@ RUN: | FileCheck %s --check-prefix=CHECK-THUMB-ONLY
|
|
|
|
@ RUN: not llvm-mc -show-encoding -triple=armv7m-eabi < %s 2>&1 \
|
|
@ RUN: | FileCheck %s --check-prefix=CHECK-THUMB-ONLY
|
|
|
|
@ RUN: not llvm-mc -show-encoding -triple=armv6m-eabi < %s 2>&1 \
|
|
@ RUN: | FileCheck %s --check-prefix=CHECK-THUMB-ONLY
|
|
|
|
@ Make sure correct diagnostics are given for CPUs without support for
|
|
@ one or other of the execution states.
|
|
.thumb
|
|
.arm
|
|
.code 16
|
|
.code 32
|
|
@ CHECK-ARM-THUMB-NOT: target does not support
|
|
|
|
@ CHECK-ARM-ONLY: target does not support Thumb mode
|
|
@ CHECK-ARM-ONLY: target does not support Thumb mode
|
|
|
|
@ CHECK-THUMB-ONLY: target does not support ARM mode
|
|
@ CHECK-THUMB-ONLY: target does not support ARM mode
|