• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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: vgt %v11, %v13, 23, %s12
7# CHECK-ENCODING: encoding: [0x00,0x00,0x0d,0x0b,0x8c,0x17,0x40,0xa1]
8vgt %v11, %v13, 23, %s12
9
10# CHECK-INST: vgt.nc %vix, %s12, 63, 0
11# CHECK-ENCODING: encoding: [0x0c,0x00,0x00,0xff,0x00,0x3f,0x20,0xa1]
12vgt.nc %vix, %s12, 63, 0
13
14# CHECK-INST: vgt %v63, %vix, -64, %s63
15# CHECK-ENCODING: encoding: [0x00,0x00,0xff,0x3f,0xbf,0x40,0x40,0xa1]
16vgt %v63, %vix, -64, %s63
17
18# CHECK-INST: vgt.nc %v12, %v63, %s12, 0, %vm3
19# CHECK-ENCODING: encoding: [0x00,0x00,0x3f,0x0c,0x00,0x8c,0x03,0xa1]
20vgt.nc %v12, %v63, %s12, 0, %vm3
21
22# CHECK-INST: vgtu %v11, %v13, 23, %s12
23# CHECK-ENCODING: encoding: [0x00,0x00,0x0d,0x0b,0x8c,0x17,0x40,0xa2]
24vgtu %v11, %v13, 23, %s12
25
26# CHECK-INST: vgtu.nc %vix, %s12, 63, 0
27# CHECK-ENCODING: encoding: [0x0c,0x00,0x00,0xff,0x00,0x3f,0x20,0xa2]
28vgtu.nc %vix, %s12, 63, 0
29
30# CHECK-INST: vgtu %v63, %vix, -64, %s63
31# CHECK-ENCODING: encoding: [0x00,0x00,0xff,0x3f,0xbf,0x40,0x40,0xa2]
32vgtu %v63, %vix, -64, %s63
33
34# CHECK-INST: vgtu.nc %v12, %v63, %s12, 0, %vm3
35# CHECK-ENCODING: encoding: [0x00,0x00,0x3f,0x0c,0x00,0x8c,0x03,0xa2]
36vgtu.nc %v12, %v63, %s12, 0, %vm3
37
38# CHECK-INST: vgtl.sx %v11, %v13, 23, %s12
39# CHECK-ENCODING: encoding: [0x00,0x00,0x0d,0x0b,0x8c,0x17,0x40,0xa3]
40vgtl.sx %v11, %v13, 23, %s12
41
42# CHECK-INST: vgtl.zx.nc %vix, %s12, 63, 0
43# CHECK-ENCODING: encoding: [0x0c,0x00,0x00,0xff,0x00,0x3f,0xa0,0xa3]
44vgtl.nc %vix, %s12, 63, 0
45
46# CHECK-INST: vgtl.zx %v63, %vix, -64, %s63
47# CHECK-ENCODING: encoding: [0x00,0x00,0xff,0x3f,0xbf,0x40,0xc0,0xa3]
48vgtl.zx %v63, %vix, -64, %s63
49
50# CHECK-INST: vgtl.sx.nc %v12, %v63, %s12, 0, %vm3
51# CHECK-ENCODING: encoding: [0x00,0x00,0x3f,0x0c,0x00,0x8c,0x03,0xa3]
52vgtl.sx.nc %v12, %v63, %s12, 0, %vm3
53