Simplify some code with no functionality change. Make the test a lot more
[llvm.git] / test / MC / ARM / neont2-neg-encoding.s
blob21dab65cc9684cdae02c9dc59bda63fcadcefae4
1 @ RUN: llvm-mc -mcpu=cortex-a8 -triple thumb-unknown-unknown -show-encoding < %s | FileCheck %s
3 .code 16
5 @ CHECK: vneg.s8 d16, d16 @ encoding: [0xf1,0xff,0xa0,0x03]
6 vneg.s8 d16, d16
7 @ CHECK: vneg.s16 d16, d16 @ encoding: [0xf5,0xff,0xa0,0x03]
8 vneg.s16 d16, d16
9 @ CHECK: vneg.s32 d16, d16 @ encoding: [0xf9,0xff,0xa0,0x03]
10 vneg.s32 d16, d16
11 @ CHECK: vneg.f32 d16, d16 @ encoding: [0xf9,0xff,0xa0,0x07]
12 vneg.f32 d16, d16
13 @ CHECK: vneg.s8 q8, q8 @ encoding: [0xf1,0xff,0xe0,0x03]
14 vneg.s8 q8, q8
15 @ CHECK: vneg.s16 q8, q8 @ encoding: [0xf5,0xff,0xe0,0x03]
16 vneg.s16 q8, q8
17 @ CHECK: vneg.s32 q8, q8 @ encoding: [0xf9,0xff,0xe0,0x03]
18 vneg.s32 q8, q8
19 @ CHECK: vneg.f32 q8, q8 @ encoding: [0xf9,0xff,0xe0,0x07]
20 vneg.f32 q8, q8
21 @ CHECK: vqneg.s8 d16, d16 @ encoding: [0xf0,0xff,0xa0,0x07]
22 vqneg.s8 d16, d16
23 @ CHECK: vqneg.s16 d16, d16 @ encoding: [0xf4,0xff,0xa0,0x07]
24 vqneg.s16 d16, d16
25 @ CHECK: vqneg.s32 d16, d16 @ encoding: [0xf8,0xff,0xa0,0x07]
26 vqneg.s32 d16, d16
27 @ CHECK: vqneg.s8 q8, q8 @ encoding: [0xf0,0xff,0xe0,0x07]
28 vqneg.s8 q8, q8
29 @ CHECK: vqneg.s16 q8, q8 @ encoding: [0xf4,0xff,0xe0,0x07]
30 vqneg.s16 q8, q8
31 @ CHECK: vqneg.s32 q8, q8 @ encoding: [0xf8,0xff,0xe0,0x07]
32 vqneg.s32 q8, q8