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