llvm-for-llvmta/test/MC/Mips/ginv/valid.s

8 lines
401 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# RUN: llvm-mc %s -triple=mips-unknown-linux-gnu -show-encoding \
# RUN: -mcpu=mips32r6 -mattr=+ginv | FileCheck %s
# RUN: llvm-mc %s -triple=mips64-unknown-linux-gnu -show-encoding \
# RUN: -mcpu=mips64r6 -mattr=+ginv | FileCheck %s
ginvi $4 # CHECK: ginvi $4 # encoding: [0x7c,0x80,0x00,0x3d]
ginvt $4, 2 # CHECK: ginvt $4, 2 # encoding: [0x7c,0x80,0x02,0xbd]