aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ARM/neon-neg-encoding.s
blob: b81f49bcf9213f842ca1dd2800ee98bbd270e670 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// RUN: llvm-mc -triple arm-unknown-unkown -show-encoding < %s | FileCheck %s

// CHECK: vneg.s8	d16, d16                @ encoding: [0xa0,0x03,0xf1,0xf3]
	vneg.s8	d16, d16
// CHECK: vneg.s16	d16, d16        @ encoding: [0xa0,0x03,0xf5,0xf3]
	vneg.s16	d16, d16
// CHECK: vneg.s32	d16, d16        @ encoding: [0xa0,0x03,0xf9,0xf3]
	vneg.s32	d16, d16
// CHECK: vneg.f32	d16, d16        @ encoding: [0xa0,0x07,0xf9,0xf3]
	vneg.f32	d16, d16
// CHECK: vneg.s8	q8, q8                  @ encoding: [0xe0,0x03,0xf1,0xf3]
	vneg.s8	q8, q8
// CHECK: vneg.s16	q8, q8          @ encoding: [0xe0,0x03,0xf5,0xf3]
	vneg.s16	q8, q8
// CHECK: vneg.s32	q8, q8          @ encoding: [0xe0,0x03,0xf9,0xf3]
	vneg.s32	q8, q8
// CHECK: vneg.f32	q8, q8          @ encoding: [0xe0,0x07,0xf9,0xf3]
	vneg.f32	q8, q8
// CHECK: vqneg.s8	d16, d16        @ encoding: [0xa0,0x07,0xf0,0xf3]
	vqneg.s8	d16, d16
// CHECK: vqneg.s16	d16, d16        @ encoding: [0xa0,0x07,0xf4,0xf3]
	vqneg.s16	d16, d16
// CHECK: vqneg.s32	d16, d16        @ encoding: [0xa0,0x07,0xf8,0xf3]
	vqneg.s32	d16, d16
// CHECK: vqneg.s8	q8, q8          @ encoding: [0xe0,0x07,0xf0,0xf3]
	vqneg.s8	q8, q8
// CHECK: vqneg.s16	q8, q8          @ encoding: [0xe0,0x07,0xf4,0xf3]
	vqneg.s16	q8, q8
// CHECK: vqneg.s32	q8, q8          @ encoding: [0xe0,0x07,0xf8,0xf3]
	vqneg.s32	q8, q8