xref: /llvm-project/llvm/test/MC/VE/TS2AM.s (revision b641c9f729fe4ebbc3e737fa69d3d9caf1cb3632)
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: ts2am %s20, 20(%s11), %s32
7# CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0xa0,0x14,0x43]
8ts2am %s20, 20(%s11), %s32
9
10# CHECK-INST: ts2am %s20, 8192, 127
11# CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x7f,0x14,0x43]
12ts2am %s20, 8192, 127
13