1# RUN: llvm-mc -triple=ve --show-encoding < %s \
2# RUN:     | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
3# RUN: llvm-mc -triple=ve -filetype=obj < %s | llvm-objdump -d - \
4# RUN:     | FileCheck %s --check-prefixes=CHECK-INST
5
6# CHECK-INST: vfmk.l.at %vm11
7# CHECK-ENCODING: encoding: [0x00,0x00,0x0f,0x0b,0x00,0x00,0x00,0xb4]
8vfmk.l %vm11
9
10# CHECK-INST: vfmk.l.at %vm1, %vm15
11# CHECK-ENCODING: encoding: [0x00,0x00,0x0f,0x01,0x00,0x00,0x0f,0xb4]
12vfmk.l.at %vm1, %vm15
13
14# CHECK-INST: vfmk.l.af %vm1, %vm15
15# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x01,0x00,0x00,0x0f,0xb4]
16vfmk.l.af %vm1, %vm15
17
18# CHECK-INST: vfmk.l.gt %vm12, %v22
19# CHECK-ENCODING: encoding: [0x00,0x16,0x01,0x0c,0x00,0x00,0x00,0xb4]
20vfmk.l.gt %vm12, %v22
21
22# CHECK-INST: vfmk.l.lt %vm12, %vix, %vm15
23# CHECK-ENCODING: encoding: [0x00,0xff,0x02,0x0c,0x00,0x00,0x0f,0xb4]
24vfmk.l.lt %vm12, %vix, %vm15
25
26# CHECK-INST: vfmk.l.ne %vm11, %v32
27# CHECK-ENCODING: encoding: [0x00,0x20,0x03,0x0b,0x00,0x00,0x00,0xb4]
28vfmk.l.ne %vm11, %v32
29
30# CHECK-INST: vfmk.l.eq %vm1, %vix, %vm15
31# CHECK-ENCODING: encoding: [0x00,0xff,0x04,0x01,0x00,0x00,0x0f,0xb4]
32vfmk.l.eq %vm1, %vix, %vm15
33
34# CHECK-INST: vfmk.l.ge %vm12, %v22
35# CHECK-ENCODING: encoding: [0x00,0x16,0x05,0x0c,0x00,0x00,0x00,0xb4]
36vfmk.l.ge %vm12, %v22
37
38# CHECK-INST: vfmk.l.le %vm12, %vix, %vm15
39# CHECK-ENCODING: encoding: [0x00,0xff,0x06,0x0c,0x00,0x00,0x0f,0xb4]
40vfmk.l.le %vm12, %vix, %vm15
41