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: vsfa %v11, %v22, %s20, (22)0 7# CHECK-ENCODING: encoding: [0x00,0x16,0x00,0x0b,0x56,0x94,0x00,0xd7] 8vsfa %v11, %v22, %s20, (22)0 9 10# CHECK-INST: vsfa %vix, %vix, 0, %s21 11# CHECK-ENCODING: encoding: [0x00,0xff,0x00,0xff,0x95,0x00,0x00,0xd7] 12vsfa %vix, %vix, 0, %s21 13 14# CHECK-INST: vsfa %vix, %v22, 7, (22)1 15# CHECK-ENCODING: encoding: [0x00,0x16,0x00,0xff,0x16,0x07,0x00,0xd7] 16vsfa %vix, %v22, 7, (22)1 17 18# CHECK-INST: vsfa %v11, %v22, %s20, %s21, %vm11 19# CHECK-ENCODING: encoding: [0x00,0x16,0x00,0x0b,0x95,0x94,0x0b,0xd7] 20vsfa %v11, %v22, %s20, %s21, %vm11 21 22# CHECK-INST: vsfa %v11, %v23, %s22, (63)0, %vm11 23# CHECK-ENCODING: encoding: [0x00,0x17,0x00,0x0b,0x7f,0x96,0x0b,0xd7] 24vsfa %v11, %v23, %s22, (63)0, %vm11 25