• 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: vfrmax.d.fst %v11, %v12
7# CHECK-ENCODING: encoding: [0x00,0x00,0x0c,0x0b,0x00,0x00,0x00,0xad]
8vfrmax.d.fst %v11, %v12
9
10# CHECK-INST: vfrmax.d.fst %v11, %vix, %vm11
11# CHECK-ENCODING: encoding: [0x00,0x00,0xff,0x0b,0x00,0x00,0x0b,0xad]
12vfrmax.d.fst %v11, %vix, %vm11
13
14# CHECK-INST: vfrmax.d.lst %vix, %v22, %vm15
15# CHECK-ENCODING: encoding: [0x00,0x00,0x16,0xff,0x00,0x00,0x2f,0xad]
16vfrmax.d.lst %vix, %v22, %vm15
17
18# CHECK-INST: vfrmax.s.lst %v63, %v60, %vm2
19# CHECK-ENCODING: encoding: [0x00,0x00,0x3c,0x3f,0x00,0x00,0xa2,0xad]
20vfrmax.s.lst %v63, %v60, %vm2
21
22# CHECK-INST: vfrmax.s.fst %vix, %vix
23# CHECK-ENCODING: encoding: [0x00,0x00,0xff,0xff,0x00,0x00,0x80,0xad]
24vfrmax.s.fst %vix, %vix, %vm0
25
26# CHECK-INST: vfrmax.s.lst %vix, %vix, %vm2
27# CHECK-ENCODING: encoding: [0x00,0x00,0xff,0xff,0x00,0x00,0xa2,0xad]
28vfrmax.s.lst %vix, %vix, %vm2
29
30# CHECK-INST: vfrmin.d.fst %v11, %v12
31# CHECK-ENCODING: encoding: [0x00,0x00,0x0c,0x0b,0x00,0x00,0x10,0xad]
32vfrmin.d.fst %v11, %v12
33
34# CHECK-INST: vfrmin.d.fst %v11, %vix, %vm11
35# CHECK-ENCODING: encoding: [0x00,0x00,0xff,0x0b,0x00,0x00,0x1b,0xad]
36vfrmin.d.fst %v11, %vix, %vm11
37
38# CHECK-INST: vfrmin.d.lst %vix, %v22, %vm15
39# CHECK-ENCODING: encoding: [0x00,0x00,0x16,0xff,0x00,0x00,0x3f,0xad]
40vfrmin.d.lst %vix, %v22, %vm15
41
42# CHECK-INST: vfrmin.s.lst %v63, %v60, %vm2
43# CHECK-ENCODING: encoding: [0x00,0x00,0x3c,0x3f,0x00,0x00,0xb2,0xad]
44vfrmin.s.lst %v63, %v60, %vm2
45
46# CHECK-INST: vfrmin.s.fst %vix, %vix
47# CHECK-ENCODING: encoding: [0x00,0x00,0xff,0xff,0x00,0x00,0x90,0xad]
48vfrmin.s.fst %vix, %vix, %vm0
49
50# CHECK-INST: vfrmin.s.lst %vix, %vix, %vm2
51# CHECK-ENCODING: encoding: [0x00,0x00,0xff,0xff,0x00,0x00,0xb2,0xad]
52vfrmin.s.lst %vix, %vix, %vm2
53