[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / RISCV / compress-cjal.s
blob2313c3ef04a43dd31457324514a3410afc9174f9
1 # RUN: llvm-mc -triple riscv32 -mattr=+c -show-encoding < %s \
2 # RUN: | FileCheck -check-prefixes=CHECK,CHECK-ALIAS %s
3 # RUN: llvm-mc -triple riscv32 -mattr=+c -show-encoding \
4 # RUN: -riscv-no-aliases <%s | FileCheck -check-prefixes=CHECK,CHECK-INST %s
5 # RUN: llvm-mc -triple riscv32 -mattr=+c -filetype=obj < %s \
6 # RUN: | llvm-objdump -triple riscv32 -mattr=+c -d - \
7 # RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-ALIAS %s
8 # RUN: llvm-mc -triple riscv32 -mattr=+c -filetype=obj < %s \
9 # RUN: | llvm-objdump -triple riscv32 -mattr=+c -d -M no-aliases - \
10 # RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-INST %s
12 # c.jal is an rv32 only instruction.
13 jal ra, 2046
14 # CHECK-BYTES: fd 2f
15 # CHECK-ALIAS: jal 2046
16 # CHECK-INST: c.jal 2046
17 # CHECK: # encoding: [0xfd,0x2f]