1# RUN: llvm-mc %s -triple=mips-unknown-linux-gnu -show-encoding \
2# RUN:   -mcpu=mips32r6 -mattr=+ginv | FileCheck %s
3# RUN: llvm-mc %s -triple=mips64-unknown-linux-gnu -show-encoding \
4# RUN:   -mcpu=mips64r6 -mattr=+ginv | FileCheck %s
5
6  ginvi $4           # CHECK: ginvi $4         # encoding: [0x7c,0x80,0x00,0x3d]
7  ginvt $4, 2        # CHECK: ginvt $4, 2      # encoding: [0x7c,0x80,0x02,0xbd]
8