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: tscr %s11, %s20, %s22 7# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x96,0x94,0x0b,0x41] 8tscr %s11, %s20, %s22 9 10# CHECK-INST: tscr %s11, %s20, 0 11# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x94,0x0b,0x41] 12tscr %s11, %s20, 0 13 14# CHECK-INST: tscr %s11, 22, %s15 15# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x8f,0x16,0x0b,0x41] 16tscr %s11, 22, %s15 17 18# CHECK-INST: tscr %s11, 22, 0 19# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x16,0x0b,0x41] 20tscr %s11, 22, 0 21