2010-12-16 06:14:12 +08:00
|
|
|
@ RUN: llvm-mc -mcpu=cortex-a9 -triple arm-unknown-unknown -show-encoding < %s | FileCheck %s
|
2010-10-30 03:05:26 +08:00
|
|
|
|
2010-11-02 02:33:37 +08:00
|
|
|
@ CHECK: vcvt.s32.f32 d16, d16 @ encoding: [0x20,0x07,0xfb,0xf3]
|
2010-10-30 03:05:26 +08:00
|
|
|
vcvt.s32.f32 d16, d16
|
2010-11-02 02:33:37 +08:00
|
|
|
@ CHECK: vcvt.u32.f32 d16, d16 @ encoding: [0xa0,0x07,0xfb,0xf3]
|
2010-10-30 03:05:26 +08:00
|
|
|
vcvt.u32.f32 d16, d16
|
2010-11-02 02:33:37 +08:00
|
|
|
@ CHECK: vcvt.f32.s32 d16, d16 @ encoding: [0x20,0x06,0xfb,0xf3]
|
2010-10-30 03:05:26 +08:00
|
|
|
vcvt.f32.s32 d16, d16
|
2010-11-02 02:33:37 +08:00
|
|
|
@ CHECK: vcvt.f32.u32 d16, d16 @ encoding: [0xa0,0x06,0xfb,0xf3]
|
2010-10-30 03:05:26 +08:00
|
|
|
vcvt.f32.u32 d16, d16
|
2010-11-02 02:33:37 +08:00
|
|
|
@ CHECK: vcvt.s32.f32 q8, q8 @ encoding: [0x60,0x07,0xfb,0xf3]
|
2010-10-30 03:05:26 +08:00
|
|
|
vcvt.s32.f32 q8, q8
|
2010-11-02 02:33:37 +08:00
|
|
|
@ CHECK: vcvt.u32.f32 q8, q8 @ encoding: [0xe0,0x07,0xfb,0xf3]
|
2010-10-30 03:05:26 +08:00
|
|
|
vcvt.u32.f32 q8, q8
|
2010-11-02 02:33:37 +08:00
|
|
|
@ CHECK: vcvt.f32.s32 q8, q8 @ encoding: [0x60,0x06,0xfb,0xf3]
|
2010-10-30 03:05:26 +08:00
|
|
|
vcvt.f32.s32 q8, q8
|
2010-11-02 02:33:37 +08:00
|
|
|
@ CHECK: vcvt.f32.u32 q8, q8 @ encoding: [0xe0,0x06,0xfb,0xf3]
|
2010-10-30 03:05:26 +08:00
|
|
|
vcvt.f32.u32 q8, q8
|
2010-11-02 02:33:37 +08:00
|
|
|
@ CHECK: vcvt.s32.f32 d16, d16, #1 @ encoding: [0x30,0x0f,0xff,0xf2]
|
2010-10-30 03:05:26 +08:00
|
|
|
vcvt.s32.f32 d16, d16, #1
|
2013-08-22 21:16:07 +08:00
|
|
|
@ CHECK: vcvt.s32.f32 d16, d16 @ encoding: [0x20,0x07,0xfb,0xf3]
|
|
|
|
vcvt.s32.f32 d16, d16, #0
|
2010-11-02 02:33:37 +08:00
|
|
|
@ CHECK: vcvt.u32.f32 d16, d16, #1 @ encoding: [0x30,0x0f,0xff,0xf3]
|
2010-10-30 03:05:26 +08:00
|
|
|
vcvt.u32.f32 d16, d16, #1
|
2013-08-22 21:16:07 +08:00
|
|
|
@ CHECK: vcvt.u32.f32 d16, d16 @ encoding: [0xa0,0x07,0xfb,0xf3]
|
|
|
|
vcvt.u32.f32 d16, d16, #0
|
2010-11-02 02:33:37 +08:00
|
|
|
@ CHECK: vcvt.f32.s32 d16, d16, #1 @ encoding: [0x30,0x0e,0xff,0xf2]
|
2010-10-30 03:05:26 +08:00
|
|
|
vcvt.f32.s32 d16, d16, #1
|
2013-08-22 21:16:07 +08:00
|
|
|
@ CHECK: vcvt.f32.s32 d16, d16 @ encoding: [0x20,0x06,0xfb,0xf3]
|
|
|
|
vcvt.f32.s32 d16, d16, #0
|
2010-11-02 02:33:37 +08:00
|
|
|
@ CHECK: vcvt.f32.u32 d16, d16, #1 @ encoding: [0x30,0x0e,0xff,0xf3]
|
2010-10-30 03:05:26 +08:00
|
|
|
vcvt.f32.u32 d16, d16, #1
|
2013-08-22 21:16:07 +08:00
|
|
|
@ CHECK: vcvt.f32.u32 d16, d16 @ encoding: [0xa0,0x06,0xfb,0xf3]
|
|
|
|
vcvt.f32.u32 d16, d16, #0
|
2010-11-02 02:33:37 +08:00
|
|
|
@ CHECK: vcvt.s32.f32 q8, q8, #1 @ encoding: [0x70,0x0f,0xff,0xf2]
|
2010-10-30 03:05:26 +08:00
|
|
|
vcvt.s32.f32 q8, q8, #1
|
2013-08-22 21:16:07 +08:00
|
|
|
@ CHECK: vcvt.s32.f32 q8, q8 @ encoding: [0x60,0x07,0xfb,0xf3]
|
|
|
|
vcvt.s32.f32 q8, q8, #0
|
2010-11-02 02:33:37 +08:00
|
|
|
@ CHECK: vcvt.u32.f32 q8, q8, #1 @ encoding: [0x70,0x0f,0xff,0xf3]
|
2010-10-30 03:05:26 +08:00
|
|
|
vcvt.u32.f32 q8, q8, #1
|
2013-08-22 21:16:07 +08:00
|
|
|
@ CHECK: vcvt.u32.f32 q8, q8 @ encoding: [0xe0,0x07,0xfb,0xf3]
|
|
|
|
vcvt.u32.f32 q8, q8, #0
|
2010-11-02 02:33:37 +08:00
|
|
|
@ CHECK: vcvt.f32.s32 q8, q8, #1 @ encoding: [0x70,0x0e,0xff,0xf2]
|
2010-10-30 03:05:26 +08:00
|
|
|
vcvt.f32.s32 q8, q8, #1
|
2013-08-22 21:16:07 +08:00
|
|
|
@ CHECK: vcvt.f32.s32 q8, q8 @ encoding: [0x60,0x06,0xfb,0xf3]
|
|
|
|
vcvt.f32.s32 q8, q8, #0
|
2010-11-02 02:33:37 +08:00
|
|
|
@ CHECK: vcvt.f32.u32 q8, q8, #1 @ encoding: [0x70,0x0e,0xff,0xf3]
|
2010-10-30 03:05:26 +08:00
|
|
|
vcvt.f32.u32 q8, q8, #1
|
2013-08-22 21:16:07 +08:00
|
|
|
@ CHECK: vcvt.f32.u32 q8, q8 @ encoding: [0xe0,0x06,0xfb,0xf3]
|
|
|
|
vcvt.f32.u32 q8, q8, #0
|
2010-12-16 06:14:12 +08:00
|
|
|
@ CHECK: vcvt.f32.f16 q8, d16 @ encoding: [0x20,0x07,0xf6,0xf3]
|
|
|
|
vcvt.f32.f16 q8, d16
|
|
|
|
@ CHECK: vcvt.f16.f32 d16, q8 @ encoding: [0x20,0x06,0xf6,0xf3]
|
|
|
|
vcvt.f16.f32 d16, q8
|