brintos

brintos / llvm-project-archived public Read only

0
0
Text · 541 B · 0cd9f0b Raw
14 lines · plain
1# RUN: not llvm-mc -triple=riscv32 -mattr=+zcmt -M no-aliases -show-encoding < %s 2>&1 \2# RUN:     | FileCheck -check-prefixes=CHECK-ERROR %s3# RUN: not llvm-mc -triple=riscv64 -mattr=+zcmt -M no-aliases -show-encoding < %s 2>&1 \4# RUN:     | FileCheck -check-prefixes=CHECK-ERROR %s5 6# CHECK-ERROR: error: immediate must be an integer in the range [0, 31]7cm.jt 648 9# CHECK-ERROR: error: immediate must be an integer in the range [32, 255]10cm.jalt 25611 12# CHECK-ERROR: error: immediate must be an integer in the range [32, 255]13cm.jalt 3114