forked from OSchip/llvm-project
10 lines
418 B
ArmAsm
10 lines
418 B
ArmAsm
# RUN: llvm-mc %s -triple riscv64 -mattr=+c -riscv-no-aliases -show-encoding \
|
|
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
|
|
# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+c < %s \
|
|
# RUN: | llvm-objdump -M no-aliases -d -r - \
|
|
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
|
|
|
|
# CHECK-ASM-AND-OBJ: c.slli zero, 63
|
|
# CHECK-ASM: encoding: [0x7e,0x10]
|
|
c.slli x0, 63
|