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: vrxor %v11, %v22
7# CHECK-ENCODING: encoding: [0x00,0x00,0x16,0x0b,0x00,0x00,0x00,0x89]
8vrxor %v11, %v22
9
10# CHECK-INST: vrxor %vix, %vix
11# CHECK-ENCODING: encoding: [0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x89]
12vrxor %vix, %vix
13
14# CHECK-INST: vrxor %v11, %v22, %vm11
15# CHECK-ENCODING: encoding: [0x00,0x00,0x16,0x0b,0x00,0x00,0x0b,0x89]
16vrxor %v11, %v22, %vm11
17
18# CHECK-INST: vrxor %v11, %vix, %vm15
19# CHECK-ENCODING: encoding: [0x00,0x00,0xff,0x0b,0x00,0x00,0x0f,0x89]
20vrxor %v11, %vix, %vm15
21