mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
5fe5b3dcc8
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205545 91177308-0d34-0410-b5e6-96231b3b80d8
25 lines
1006 B
ArmAsm
25 lines
1006 B
ArmAsm
@ RUN: llvm-mc -show-encoding -triple=arm-eabi < %s \
|
|
@ RUN: | FileCheck %s --check-prefix=CHECK-ARM-ONLY
|
|
|
|
@ RUN: llvm-mc -show-encoding -triple=armv4t-eabi < %s \
|
|
@ RUN: | FileCheck %s --check-prefix=CHECK-ARM-THUMB
|
|
|
|
@ RUN: llvm-mc -show-encoding -triple=arm-eabi -mcpu=cortex-a15 < %s \
|
|
@ RUN: | FileCheck %s --check-prefix=CHECK-ARM-THUMB
|
|
|
|
@ RUN: llvm-mc -show-encoding -triple=arm-eabi -mcpu=cortex-m3 < %s \
|
|
@ RUN: | FileCheck %s --check-prefix=CHECK-THUMB-ONLY
|
|
|
|
@ RUN: llvm-mc -show-encoding -triple=armv7m-eabi < %s \
|
|
@ RUN: | FileCheck %s --check-prefix=CHECK-THUMB-ONLY
|
|
|
|
@ RUN: llvm-mc -show-encoding -triple=armv6m-eabi < %s \
|
|
@ RUN: | FileCheck %s --check-prefix=CHECK-THUMB-ONLY
|
|
|
|
@ Make sure the architecture chosen by LLVM defaults to a compatible
|
|
@ ARM/Thumb mode.
|
|
movs r0, r0
|
|
@ CHECK-ARM-THUMB: movs r0, r0 @ encoding: [0x00,0x00,0xb0,0xe1]
|
|
@ CHECK-ARM-ONLY: movs r0, r0 @ encoding: [0x00,0x00,0xb0,0xe1]
|
|
@ CHECK-THUMB-ONLY: movs r0, r0 @ encoding: [0x00,0x00]
|