xref: /llvm-project/llvm/test/MC/VE/FIDCR.s (revision c95ba11a3d87f1c16e92147c28a779796cf1af99)
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: fidcr %s11, %s20, 0
7# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x94,0x0b,0x51]
8fidcr %s11, %s20, 0
9
10# CHECK-INST: fidcr %s11, 22, 3
11# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x03,0x16,0x0b,0x51]
12fidcr %s11, 22, 3
13
14# CHECK-INST: fidcr %s11, 22, 7
15# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x07,0x16,0x0b,0x51]
16fidcr %s11, 22, 7
17