• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llvm-mc %s -triple=mips-unknown-linux-gnu -show-encoding \
2# RUN:   -mcpu=mips32r5 -mattr=+micromips,+virt | FileCheck %s
3
4  mfgc0 $4, $5        # CHECK: mfgc0 $4, $5, 0   # encoding: [0x00,0x85,0x04,0xfc]
5  mfgc0 $4, $5, 2     # CHECK: mfgc0 $4, $5, 2   # encoding: [0x00,0x85,0x14,0xfc]
6  mtgc0 $5, $4        # CHECK: mtgc0 $5, $4, 0   # encoding: [0x00,0xa4,0x06,0xfc]
7  mtgc0 $5, $4, 2     # CHECK: mtgc0 $5, $4, 2   # encoding: [0x00,0xa4,0x16,0xfc]
8  mthgc0 $5, $4       # CHECK: mthgc0 $5, $4, 0  # encoding: [0x00,0xa4,0x06,0xf4]
9  mthgc0 $5, $4, 1    # CHECK: mthgc0 $5, $4, 1  # encoding: [0x00,0xa4,0x0e,0xf4]
10  mfhgc0 $5, $4       # CHECK: mfhgc0 $5, $4, 0  # encoding: [0x00,0xa4,0x04,0xf4]
11  mfhgc0 $5, $4, 7    # CHECK: mfhgc0 $5, $4, 7  # encoding: [0x00,0xa4,0x3c,0xf4]
12  hypcall             # CHECK: hypcall           # encoding: [0x00,0x00,0xc3,0x7c]
13  hypcall 10          # CHECK: hypcall 10        # encoding: [0x00,0x0a,0xc3,0x7c]
14  tlbginv             # CHECK: tlbginv           # encoding: [0x00,0x00,0x41,0x7c]
15  tlbginvf            # CHECK: tlbginvf          # encoding: [0x00,0x00,0x51,0x7c]
16  tlbgp               # CHECK: tlbgp             # encoding: [0x00,0x00,0x01,0x7c]
17  tlbgr               # CHECK: tlbgr             # encoding: [0x00,0x00,0x11,0x7c]
18  tlbgwi              # CHECK: tlbgwi            # encoding: [0x00,0x00,0x21,0x7c]
19  tlbgwr              # CHECK: tlbgwr            # encoding: [0x00,0x00,0x31,0x7c]
20