bolt/deps/llvm-18.1.8/llvm/test/MC/Mips/ginv/set-noginv-directive.s
2025-02-14 19:21:04 +01:00

9 lines
380 B
ArmAsm

# RUN: not llvm-mc %s -triple=mips-unknown-linux-gnu -show-encoding \
# RUN: -mcpu=mips32r6 -mattr=+ginv 2>%t1
# RUN: FileCheck %s < %t1
# RUN: not llvm-mc %s -triple=mips64-unknown-linux-gnu -show-encoding \
# RUN: -mcpu=mips64r6 -mattr=+ginv 2>%t1
# RUN: FileCheck %s < %t1
.set noginv
ginvi $4, 2 # CHECK: instruction requires a CPU feature not currently enabled