• 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: lhm.l %s20, 20(%s11)
7# CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x03,0x14,0x21]
8lhm.l %s20, 20(%s11)
9
10# CHECK-INST: lhm.w %s20, 8192()
11# CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x02,0x14,0x21]
12lhm.w %s20, 8192()
13
14# CHECK-INST: lhm.h %s20, (%s11)
15# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x8b,0x01,0x14,0x21]
16lhm.h %s20, (%s11)
17
18# CHECK-INST: lhm.b %s20, (%s11)
19# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x8b,0x00,0x14,0x21]
20lhm.b %s20, %s11
21