You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
521 B
17 lines
521 B
7 months ago
|
# RUN: llvm-mc %s -triple=riscv32 \
|
||
|
# RUN: | FileCheck %s
|
||
|
# RUN: llvm-mc %s -triple=riscv64 \
|
||
|
# RUN: | FileCheck %s
|
||
|
# RUN: llvm-mc -filetype=obj -triple riscv32 < %s \
|
||
|
# RUN: | llvm-objdump -d -r - \
|
||
|
# RUN: | FileCheck %s
|
||
|
# RUN: llvm-mc -filetype=obj -triple riscv64 < %s \
|
||
|
# RUN: | llvm-objdump -d -r - \
|
||
|
# RUN: | FileCheck %s
|
||
|
|
||
|
# 'fp' is an alternate ABI name for 's0' and it should be accepted in input.
|
||
|
# However, 's0' should be printed in preference.
|
||
|
|
||
|
# CHECK: addi s0, s0, -4
|
||
|
addi fp, fp, -4
|