mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
6c921a55f4
FIXME: Introduce yet another checker but assert(0). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183736 91177308-0d34-0410-b5e6-96231b3b80d8
21 lines
1.0 KiB
ArmAsm
21 lines
1.0 KiB
ArmAsm
@ RUN: llvm-mc -show-encoding -arch=arm < %s 2>&1 | FileCheck %s --check-prefix=CHECK-ARM-ONLY
|
|
@ RUN: llvm-mc -show-encoding -triple=armv4t < %s 2>&1| FileCheck %s --check-prefix=CHECK-ARM-THUMB
|
|
@ RUN: llvm-mc -show-encoding -arch=arm -mcpu=cortex-a15 < %s 2>&1| FileCheck %s --check-prefix=CHECK-ARM-THUMB
|
|
@ RUN: llvm-mc -show-encoding -arch=arm -mcpu=cortex-m3 < %s 2>&1 | FileCheck %s --check-prefix=CHECK-THUMB-ONLY
|
|
@ RUN: llvm-mc -show-encoding -triple=armv7m < %s 2>&1 | FileCheck %s --check-prefix=CHECK-THUMB-ONLY
|
|
@ RUN: llvm-mc -show-encoding -triple=armv6m < %s 2>&1 | 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
|