llvm-for-llvmta/test/MC/Disassembler/RISCV/invalid-fp-rounding-mode.txt

10 lines
428 B
Plaintext

# RUN: not llvm-mc -disassemble -triple=riscv32 -mattr=+f,+d < %s 2>&1 | FileCheck %s
# RUN: not llvm-mc -disassemble -triple=riscv64 -mattr=+f,+d < %s 2>&1 | FileCheck %s
#
# Test generated by a LLVM MC Disassembler Protocol Buffer Fuzzer
# for the RISC-V assembly language.
# This decodes as fadd.s ft0, ft0, ft0 with unknown floating point rounding mode
[0x53 0x50 0x00 0x00]
# CHECK: warning: invalid instruction encoding