[InstCombine] Signed saturation tests. NFC
[llvm-complete.git] / test / MC / Disassembler / ARM / mve-minmax.txt
blob21d531583cc7531dc6e7ef10896ce2d2284fac0c
1 # RUN: llvm-mc -disassemble -triple=thumbv8.1m.main-none-eabi -mattr=+mve.fp,+fp64 -show-encoding %s | FileCheck %s
2 # RUN: not llvm-mc -disassemble -triple=thumbv8.1m.main-none-eabi -show-encoding %s &> %t
3 # RUN: FileCheck --check-prefix=CHECK-NOMVE < %t %s
5 # CHECK: vmaxnm.f32 q0, q1, q4  @ encoding: [0x02,0xff,0x58,0x0f]
6 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
7 [0x02,0xff,0x58,0x0f]
9 # CHECK: vminnm.f16 q3, q0, q1  @ encoding: [0x30,0xff,0x52,0x6f]
10 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
11 [0x30,0xff,0x52,0x6f]
13 # CHECK: vmin.s8 q3, q0, q7 @ encoding: [0x00,0xef,0x5e,0x66]
14 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
15 [0x00,0xef,0x5e,0x66]
17 # CHECK: vmin.s16 q0, q1, q2 @ encoding: [0x12,0xef,0x54,0x06]
18 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
19 [0x12,0xef,0x54,0x06]
21 # CHECK: vmin.s32 q0, q1, q2 @ encoding: [0x22,0xef,0x54,0x06]
22 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
23 [0x22,0xef,0x54,0x06]
25 # CHECK: vmin.u8 q0, q1, q2 @ encoding: [0x02,0xff,0x54,0x06]
26 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
27 [0x02,0xff,0x54,0x06]
29 # CHECK: vmin.u16 q0, q1, q2 @ encoding: [0x12,0xff,0x54,0x06]
30 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
31 [0x12,0xff,0x54,0x06]
33 # CHECK: vmin.u32 q0, q1, q2 @ encoding: [0x22,0xff,0x54,0x06]
34 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
35 [0x22,0xff,0x54,0x06]
37 # CHECK: vmax.s8 q3, q0, q7 @ encoding: [0x00,0xef,0x4e,0x66]
38 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
39 [0x00,0xef,0x4e,0x66]
41 # CHECK: vmax.s16 q0, q1, q2 @ encoding: [0x12,0xef,0x44,0x06]
42 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
43 [0x12,0xef,0x44,0x06]
45 # CHECK: vmax.s32 q0, q1, q2 @ encoding: [0x22,0xef,0x44,0x06]
46 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
47 [0x22,0xef,0x44,0x06]
49 # CHECK: vmax.u8 q0, q1, q2 @ encoding: [0x02,0xff,0x44,0x06]
50 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
51 [0x02,0xff,0x44,0x06]
53 # CHECK: vmax.u16 q0, q1, q2 @ encoding: [0x12,0xff,0x44,0x06]
54 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
55 [0x12,0xff,0x44,0x06]
57 # CHECK: vmax.u32 q0, q1, q2 @ encoding: [0x22,0xff,0x44,0x06]
58 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
59 [0x22,0xff,0x44,0x06]