2010-12-16 06:14:01 +08:00
|
|
|
@ RUN: llvm-mc -mcpu=cortex-a8 -triple thumb-unknown-unknown -show-encoding < %s | FileCheck %s
|
2010-11-12 03:07:48 +08:00
|
|
|
|
|
|
|
.code 16
|
|
|
|
|
2010-12-04 06:31:40 +08:00
|
|
|
@ CHECK: vabs.s8 d16, d16 @ encoding: [0xf1,0xff,0x20,0x03]
|
2010-11-12 03:07:48 +08:00
|
|
|
vabs.s8 d16, d16
|
2010-12-04 06:31:40 +08:00
|
|
|
@ CHECK: vabs.s16 d16, d16 @ encoding: [0xf5,0xff,0x20,0x03]
|
2010-11-12 03:07:48 +08:00
|
|
|
vabs.s16 d16, d16
|
2010-12-04 06:31:40 +08:00
|
|
|
@ CHECK: vabs.s32 d16, d16 @ encoding: [0xf9,0xff,0x20,0x03]
|
2010-11-12 03:07:48 +08:00
|
|
|
vabs.s32 d16, d16
|
2010-12-04 06:31:40 +08:00
|
|
|
@ CHECK: vabs.f32 d16, d16 @ encoding: [0xf9,0xff,0x20,0x07]
|
2010-11-12 03:07:48 +08:00
|
|
|
vabs.f32 d16, d16
|
2010-12-04 06:31:40 +08:00
|
|
|
@ CHECK: vabs.s8 q8, q8 @ encoding: [0xf1,0xff,0x60,0x03]
|
2010-11-12 03:07:48 +08:00
|
|
|
vabs.s8 q8, q8
|
2010-12-04 06:31:40 +08:00
|
|
|
@ CHECK: vabs.s16 q8, q8 @ encoding: [0xf5,0xff,0x60,0x03]
|
2010-11-12 03:07:48 +08:00
|
|
|
vabs.s16 q8, q8
|
2010-12-04 06:31:40 +08:00
|
|
|
@ CHECK: vabs.s32 q8, q8 @ encoding: [0xf9,0xff,0x60,0x03]
|
2010-11-12 03:07:48 +08:00
|
|
|
vabs.s32 q8, q8
|
2010-12-04 06:31:40 +08:00
|
|
|
@ CHECK: vabs.f32 q8, q8 @ encoding: [0xf9,0xff,0x60,0x07]
|
2010-11-12 03:07:48 +08:00
|
|
|
vabs.f32 q8, q8
|
|
|
|
|
2010-12-04 06:31:40 +08:00
|
|
|
@ CHECK: vqabs.s8 d16, d16 @ encoding: [0xf0,0xff,0x20,0x07]
|
2010-11-12 03:07:48 +08:00
|
|
|
vqabs.s8 d16, d16
|
2010-12-04 06:31:40 +08:00
|
|
|
@ CHECK: vqabs.s16 d16, d16 @ encoding: [0xf4,0xff,0x20,0x07]
|
2010-11-12 03:07:48 +08:00
|
|
|
vqabs.s16 d16, d16
|
2010-12-04 06:31:40 +08:00
|
|
|
@ CHECK: vqabs.s32 d16, d16 @ encoding: [0xf8,0xff,0x20,0x07]
|
2010-11-12 03:07:48 +08:00
|
|
|
vqabs.s32 d16, d16
|
2010-12-04 06:31:40 +08:00
|
|
|
@ CHECK: vqabs.s8 q8, q8 @ encoding: [0xf0,0xff,0x60,0x07]
|
2010-11-12 03:07:48 +08:00
|
|
|
vqabs.s8 q8, q8
|
2010-12-04 06:31:40 +08:00
|
|
|
@ CHECK: vqabs.s16 q8, q8 @ encoding: [0xf4,0xff,0x60,0x07]
|
2010-11-12 03:07:48 +08:00
|
|
|
vqabs.s16 q8, q8
|
2010-12-04 06:31:40 +08:00
|
|
|
@ CHECK: vqabs.s32 q8, q8 @ encoding: [0xf8,0xff,0x60,0x07]
|
2010-11-12 03:07:48 +08:00
|
|
|
vqabs.s32 q8, q8
|