mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 17:33:24 +00:00
8d1b7e57e5
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121901 91177308-0d34-0410-b5e6-96231b3b80d8
116 lines
4.9 KiB
ArmAsm
116 lines
4.9 KiB
ArmAsm
@ RUN: llvm-mc -mcpu=cortex-a8 -triple arm-unknown-unknown -show-encoding < %s | FileCheck %s
|
|
@ XFAIL: *
|
|
|
|
@ FIXME: We cannot currently test the following instructions, which are
|
|
@ currently marked as for-disassembly only in the .td files:
|
|
@ - VCEQz
|
|
@ - VCGEz, VCLEz
|
|
@ - VCGTz, VCLTz
|
|
|
|
@ CHECK: vceq.i8 d16, d16, d17 @ encoding: [0xb1,0x08,0x40,0xf3]
|
|
vceq.i8 d16, d16, d17
|
|
@ CHECK: vceq.i16 d16, d16, d17 @ encoding: [0xb1,0x08,0x50,0xf3]
|
|
vceq.i16 d16, d16, d17
|
|
@ CHECK: vceq.i32 d16, d16, d17 @ encoding: [0xb1,0x08,0x60,0xf3]
|
|
vceq.i32 d16, d16, d17
|
|
@ CHECK: vceq.f32 d16, d16, d17 @ encoding: [0xa1,0x0e,0x40,0xf2]
|
|
vceq.f32 d16, d16, d17
|
|
@ CHECK: vceq.i8 q8, q8, q9 @ encoding: [0xf2,0x08,0x40,0xf3]
|
|
vceq.i8 q8, q8, q9
|
|
@ CHECK: vceq.i16 q8, q8, q9 @ encoding: [0xf2,0x08,0x50,0xf3]
|
|
vceq.i16 q8, q8, q9
|
|
@ CHECK: vceq.i32 q8, q8, q9 @ encoding: [0xf2,0x08,0x60,0xf3]
|
|
vceq.i32 q8, q8, q9
|
|
@ CHECK: vceq.f32 q8, q8, q9 @ encoding: [0xe2,0x0e,0x40,0xf2]
|
|
vceq.f32 q8, q8, q9
|
|
|
|
@ CHECK: vcge.s8 d16, d16, d17 @ encoding: [0xb1,0x03,0x40,0xf2]
|
|
vcge.s8 d16, d16, d17
|
|
@ CHECK: vcge.s16 d16, d16, d17 @ encoding: [0xb1,0x03,0x50,0xf2]
|
|
vcge.s16 d16, d16, d17
|
|
@ CHECK: vcge.s32 d16, d16, d17 @ encoding: [0xb1,0x03,0x60,0xf2]
|
|
vcge.s32 d16, d16, d17
|
|
@ CHECK: vcge.u8 d16, d16, d17 @ encoding: [0xb1,0x03,0x40,0xf3]
|
|
vcge.u8 d16, d16, d17
|
|
@ CHECK: vcge.u16 d16, d16, d17 @ encoding: [0xb1,0x03,0x50,0xf3]
|
|
vcge.u16 d16, d16, d17
|
|
@ CHECK: vcge.u32 d16, d16, d17 @ encoding: [0xb1,0x03,0x60,0xf3]
|
|
vcge.u32 d16, d16, d17
|
|
@ CHECK: vcge.f32 d16, d16, d17 @ encoding: [0xa1,0x0e,0x40,0xf3]
|
|
vcge.f32 d16, d16, d17
|
|
@ CHECK: vcge.s8 q8, q8, q9 @ encoding: [0xf2,0x03,0x40,0xf2]
|
|
vcge.s8 q8, q8, q9
|
|
@ CHECK: vcge.s16 q8, q8, q9 @ encoding: [0xf2,0x03,0x50,0xf2]
|
|
vcge.s16 q8, q8, q9
|
|
@ CHECK: vcge.s32 q8, q8, q9 @ encoding: [0xf2,0x03,0x60,0xf2]
|
|
vcge.s32 q8, q8, q9
|
|
@ CHECK: vcge.u8 q8, q8, q9 @ encoding: [0xf2,0x03,0x40,0xf3]
|
|
vcge.u8 q8, q8, q9
|
|
@ CHECK: vcge.u16 q8, q8, q9 @ encoding: [0xf2,0x03,0x50,0xf3]
|
|
vcge.u16 q8, q8, q9
|
|
@ CHECK: vcge.u32 q8, q8, q9 @ encoding: [0xf2,0x03,0x60,0xf3]
|
|
vcge.u32 q8, q8, q9
|
|
@ CHECK: vcge.f32 q8, q8, q9 @ encoding: [0xe2,0x0e,0x40,0xf3]
|
|
vcge.f32 q8, q8, q9
|
|
@ CHECK: vacge.f32 d16, d16, d17 @ encoding: [0xb1,0x0e,0x40,0xf3]
|
|
vacge.f32 d16, d16, d17
|
|
@ CHECK: vacge.f32 q8, q8, q9 @ encoding: [0xf2,0x0e,0x40,0xf3]
|
|
vacge.f32 q8, q8, q9
|
|
|
|
@ CHECK: vcgt.s8 d16, d16, d17 @ encoding: [0xa1,0x03,0x40,0xf2]
|
|
vcgt.s8 d16, d16, d17
|
|
@ CHECK: vcgt.s16 d16, d16, d17 @ encoding: [0xa1,0x03,0x50,0xf2]
|
|
vcgt.s16 d16, d16, d17
|
|
@ CHECK: vcgt.s32 d16, d16, d17 @ encoding: [0xa1,0x03,0x60,0xf2]
|
|
vcgt.s32 d16, d16, d17
|
|
@ CHECK: vcgt.u8 d16, d16, d17 @ encoding: [0xa1,0x03,0x40,0xf3]
|
|
vcgt.u8 d16, d16, d17
|
|
@ CHECK: vcgt.u16 d16, d16, d17 @ encoding: [0xa1,0x03,0x50,0xf3]
|
|
vcgt.u16 d16, d16, d17
|
|
@ CHECK: vcgt.u32 d16, d16, d17 @ encoding: [0xa1,0x03,0x60,0xf3]
|
|
vcgt.u32 d16, d16, d17
|
|
@ CHECK: vcgt.f32 d16, d16, d17 @ encoding: [0xa1,0x0e,0x60,0xf3]
|
|
vcgt.f32 d16, d16, d17
|
|
@ CHECK: vcgt.s8 q8, q8, q9 @ encoding: [0xe2,0x03,0x40,0xf2]
|
|
vcgt.s8 q8, q8, q9
|
|
@ CHECK: vcgt.s16 q8, q8, q9 @ encoding: [0xe2,0x03,0x50,0xf2]
|
|
vcgt.s16 q8, q8, q9
|
|
@ CHECK: vcgt.s32 q8, q8, q9 @ encoding: [0xe2,0x03,0x60,0xf2]
|
|
vcgt.s32 q8, q8, q9
|
|
@ CHECK: vcgt.u8 q8, q8, q9 @ encoding: [0xe2,0x03,0x40,0xf3]
|
|
vcgt.u8 q8, q8, q9
|
|
@ CHECK: vcgt.u16 q8, q8, q9 @ encoding: [0xe2,0x03,0x50,0xf3]
|
|
vcgt.u16 q8, q8, q9
|
|
@ CHECK: vcgt.u32 q8, q8, q9 @ encoding: [0xe2,0x03,0x60,0xf3]
|
|
vcgt.u32 q8, q8, q9
|
|
@ CHECK: vcgt.f32 q8, q8, q9 @ encoding: [0xe2,0x0e,0x60,0xf3]
|
|
vcgt.f32 q8, q8, q9
|
|
@ CHECK: vacgt.f32 d16, d16, d17 @ encoding: [0xb1,0x0e,0x60,0xf3]
|
|
vacgt.f32 d16, d16, d17
|
|
@ CHECK: vacgt.f32 q8, q8, q9 @ encoding: [0xf2,0x0e,0x60,0xf3]
|
|
vacgt.f32 q8, q8, q9
|
|
|
|
@ CHECK: vtst.8 d16, d16, d17 @ encoding: [0xb1,0x08,0x40,0xf2]
|
|
vtst.8 d16, d16, d17
|
|
@ CHECK: vtst.16 d16, d16, d17 @ encoding: [0xb1,0x08,0x50,0xf2]
|
|
vtst.16 d16, d16, d17
|
|
@ CHECK: vtst.32 d16, d16, d17 @ encoding: [0xb1,0x08,0x60,0xf2]
|
|
vtst.32 d16, d16, d17
|
|
@ CHECK: vtst.8 q8, q8, q9 @ encoding: [0xf2,0x08,0x40,0xf2]
|
|
vtst.8 q8, q8, q9
|
|
@ CHECK: vtst.16 q8, q8, q9 @ encoding: [0xf2,0x08,0x50,0xf2]
|
|
vtst.16 q8, q8, q9
|
|
@ CHECK: vtst.32 q8, q8, q9 @ encoding: [0xf2,0x08,0x60,0xf2]
|
|
vtst.32 q8, q8, q9
|
|
|
|
@ CHECK: vceq.i8 d16, d16, #0 @ encoding: [0x20,0x01,0xf1,0xf3]
|
|
vceq.i8 d16, d16, #0
|
|
@ CHECK: vcge.s8 d16, d16, #0 @ encoding: [0xa0,0x00,0xf1,0xf3]
|
|
vcge.s8 d16, d16, #0
|
|
@ CHECK: vcle.s8 d16, d16, #0 @ encoding: [0xa0,0x01,0xf1,0xf3]
|
|
vcle.s8 d16, d16, #0
|
|
@ CHECK: vcgt.s8 d16, d16, #0 @ encoding: [0x20,0x00,0xf1,0xf3]
|
|
vcgt.s8 d16, d16, #0
|
|
@ CHECK: vclt.s8 d16, d16, #0 @ encoding: [0x20,0x02,0xf1,0xf3]
|
|
vclt.s8 d16, d16, #0
|