brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · f61cad8 Raw
22 lines · plain
1# RUN: llvm-mc %s -triple=riscv32 -mattr=+experimental-zicfilp -M no-aliases -show-encoding \2# RUN:     | FileCheck -check-prefixes=CHECK-ASM %s3# RUN: llvm-mc %s -triple=riscv64 -mattr=+experimental-zicfilp -M no-aliases -show-encoding \4# RUN:     | FileCheck -check-prefixes=CHECK-ASM %s5# RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+experimental-zicfilp < %s \6# RUN:     | llvm-objdump --mattr=+experimental-zicfilp --no-print-imm-hex -d -r - \7# RUN:     | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s8# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+experimental-zicfilp < %s \9# RUN:     | llvm-objdump --mattr=+experimental-zicfilp --no-print-imm-hex -d -r - \10# RUN:     | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s11#12# RUN: not llvm-mc -triple riscv32 -M no-aliases -show-encoding < %s 2>&1 \13# RUN:     | FileCheck -check-prefixes=CHECK-NO-EXT %s14# RUN: not llvm-mc -triple riscv64 -M no-aliases -show-encoding < %s 2>&1 \15# RUN:     | FileCheck -check-prefixes=CHECK-NO-EXT %s16 17# CHECK-ASM-AND-OBJ: lpad 2218# CHECK-ASM: auipc zero, 2219# CHECK-ASM: encoding: [0x17,0x60,0x01,0x00]20# CHECK-NO-EXT: instruction requires the following: 'Zicfilp' (Landing pad)21lpad 2222