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
9 # CHECK: vminnm.f16 q3, q0, q1 @ encoding: [0x30,0xff,0x52,0x6f]
10 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
13 # CHECK: vmin.s8 q3, q0, q7 @ encoding: [0x00,0xef,0x5e,0x66]
14 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
17 # CHECK: vmin.s16 q0, q1, q2 @ encoding: [0x12,0xef,0x54,0x06]
18 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
21 # CHECK: vmin.s32 q0, q1, q2 @ encoding: [0x22,0xef,0x54,0x06]
22 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
25 # CHECK: vmin.u8 q0, q1, q2 @ encoding: [0x02,0xff,0x54,0x06]
26 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
29 # CHECK: vmin.u16 q0, q1, q2 @ encoding: [0x12,0xff,0x54,0x06]
30 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
33 # CHECK: vmin.u32 q0, q1, q2 @ encoding: [0x22,0xff,0x54,0x06]
34 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
37 # CHECK: vmax.s8 q3, q0, q7 @ encoding: [0x00,0xef,0x4e,0x66]
38 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
41 # CHECK: vmax.s16 q0, q1, q2 @ encoding: [0x12,0xef,0x44,0x06]
42 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
45 # CHECK: vmax.s32 q0, q1, q2 @ encoding: [0x22,0xef,0x44,0x06]
46 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
49 # CHECK: vmax.u8 q0, q1, q2 @ encoding: [0x02,0xff,0x44,0x06]
50 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
53 # CHECK: vmax.u16 q0, q1, q2 @ encoding: [0x12,0xff,0x44,0x06]
54 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding
57 # CHECK: vmax.u32 q0, q1, q2 @ encoding: [0x22,0xff,0x44,0x06]
58 # CHECK-NOMVE: [[@LINE+1]]:2: warning: invalid instruction encoding