• 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: dld %s11, 8199
7# CHECK-ENCODING: encoding: [0x07,0x20,0x00,0x00,0x00,0x00,0x0b,0x09]
8dld %s11, 8199
9
10# CHECK-INST: dld %s11, 20(%s11)
11# CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x00,0x8b,0x0b,0x09]
12dld %s11, 20(%s11)
13
14# CHECK-INST: dld %s11, -1(, %s11)
15# CHECK-ENCODING: encoding: [0xff,0xff,0xff,0xff,0x8b,0x00,0x0b,0x09]
16dld %s11, -1(, %s11)
17
18# CHECK-INST: dld %s11, 20(%s10, %s11)
19# CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x8a,0x0b,0x09]
20dld %s11, 20(%s10, %s11)
21
22# CHECK-INST: dldu %s11, 20(%s10, %s11)
23# CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x8a,0x0b,0x0a]
24dldu %s11, 20(%s10, %s11)
25
26# CHECK-INST: dldl.sx %s11, 20(%s10, %s11)
27# CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x8a,0x0b,0x0b]
28dldl.sx %s11, 20(%s10, %s11)
29
30# CHECK-INST: dldl.zx %s11, 20(%s10, %s11)
31# CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x8a,0x8b,0x0b]
32dldl.zx %s11, 20(%s10, %s11)
33