Simplify away redundant test, and document what's going on.
[llvm/stm8.git] / test / MC / ARM / neon-abs-encoding.s
blob398f2db039df6d739617de756efd88d515a1f48b
1 @ RUN: llvm-mc -mcpu=cortex-a8 -triple arm-unknown-unknown -show-encoding < %s | FileCheck %s
3 @ CHECK: vabs.s8 d16, d16 @ encoding: [0x20,0x03,0xf1,0xf3]
4 vabs.s8 d16, d16
5 @ CHECK: vabs.s16 d16, d16 @ encoding: [0x20,0x03,0xf5,0xf3]
6 vabs.s16 d16, d16
7 @ CHECK: vabs.s32 d16, d16 @ encoding: [0x20,0x03,0xf9,0xf3]
8 vabs.s32 d16, d16
9 @ CHECK: vabs.f32 d16, d16 @ encoding: [0x20,0x07,0xf9,0xf3]
10 vabs.f32 d16, d16
11 @ CHECK: vabs.s8 q8, q8 @ encoding: [0x60,0x03,0xf1,0xf3]
12 vabs.s8 q8, q8
13 @ CHECK: vabs.s16 q8, q8 @ encoding: [0x60,0x03,0xf5,0xf3]
14 vabs.s16 q8, q8
15 @ CHECK: vabs.s32 q8, q8 @ encoding: [0x60,0x03,0xf9,0xf3]
16 vabs.s32 q8, q8
17 @ CHECK: vabs.f32 q8, q8 @ encoding: [0x60,0x07,0xf9,0xf3]
18 vabs.f32 q8, q8
20 @ CHECK: vqabs.s8 d16, d16 @ encoding: [0x20,0x07,0xf0,0xf3]
21 vqabs.s8 d16, d16
22 @ CHECK: vqabs.s16 d16, d16 @ encoding: [0x20,0x07,0xf4,0xf3]
23 vqabs.s16 d16, d16
24 @ CHECK: vqabs.s32 d16, d16 @ encoding: [0x20,0x07,0xf8,0xf3]
25 vqabs.s32 d16, d16
26 @ CHECK: vqabs.s8 q8, q8 @ encoding: [0x60,0x07,0xf0,0xf3]
27 vqabs.s8 q8, q8
28 @ CHECK: vqabs.s16 q8, q8 @ encoding: [0x60,0x07,0xf4,0xf3]
29 vqabs.s16 q8, q8
30 @ CHECK: vqabs.s32 q8, q8 @ encoding: [0x60,0x07,0xf8,0xf3]
31 vqabs.s32 q8, q8