[PATCH v2 6/6] Add nanoMIPS tests.

"Tsing" <[email protected]> Fri, 24 Jul 2026 18:30:58 +0800
Newsgroups gmane.comp.gnu.binutils
Message-ID <[email protected]>
From: tsing <[email protected]>

binutils/testsuite/
        * binutils-all/objdump.exp (cpus_expected): Add nanomips.
                                   Expect the debug_ranges test to fail.
gas/testsuite/
        * gas/all/gas.exp: Expect the relax tests to fail.
        * gas/cfi/cfi.exp: Add cfi-nanomips-1 test.
        * gas/cfi/cfi-nanomips-1.d: New file.
        * gas/elf/elf.exp: Expect the groupauto tests to fail.
        * gas/elf/section2.e-nanomips: New file.
        * gas/nanomips: New directory.
        * gas/nanomips/nanomips.exp: New file.
---
 binutils/testsuite/binutils-all/objdump.exp   |    3 +-
 gas/testsuite/gas/all/gas.exp                 |    6 +-
 gas/testsuite/gas/cfi/cfi-nanomips-1.d        |   29 +
 gas/testsuite/gas/cfi/cfi.exp                 |    5 +-
 gas/testsuite/gas/elf/elf.exp                 |    6 +
 gas/testsuite/gas/elf/section2.e-nanomips     |    8 +
 gas/testsuite/gas/nanomips/abi32-pic.d        |   94 +
 gas/testsuite/gas/nanomips/abi32-pic.s        |   38 +
 gas/testsuite/gas/nanomips/abi32.d            |   79 +
 gas/testsuite/gas/nanomips/abi32.s            |   70 +
 gas/testsuite/gas/nanomips/abs.d              |   17 +
 gas/testsuite/gas/nanomips/abs.s              |    4 +
 gas/testsuite/gas/nanomips/add.d              |   24 +
 gas/testsuite/gas/nanomips/add.s              |   13 +
 gas/testsuite/gas/nanomips/addu.d             |   23 +
 gas/testsuite/gas/nanomips/addu.s             |    9 +
 gas/testsuite/gas/nanomips/aent.d             |   13 +
 gas/testsuite/gas/nanomips/aent.s             |   16 +
 gas/testsuite/gas/nanomips/and.d              |   35 +
 gas/testsuite/gas/nanomips/and.s              |   23 +
 gas/testsuite/gas/nanomips/baddata1.l         |    3 +
 gas/testsuite/gas/nanomips/baddata1.s         |    9 +
 gas/testsuite/gas/nanomips/beq.d              |   39 +
 gas/testsuite/gas/nanomips/beq.s              |   22 +
 gas/testsuite/gas/nanomips/bge.d              |   53 +
 gas/testsuite/gas/nanomips/bge.s              |   24 +
 gas/testsuite/gas/nanomips/bgeu.d             |   44 +
 gas/testsuite/gas/nanomips/bgeu.s             |   21 +
 gas/testsuite/gas/nanomips/blt.d              |   52 +
 gas/testsuite/gas/nanomips/blt.s              |   24 +
 gas/testsuite/gas/nanomips/bltu.d             |   44 +
 gas/testsuite/gas/nanomips/bltu.s             |   21 +
 .../gas/nanomips/cp0-names-numeric.d          |   44 +
 gas/testsuite/gas/nanomips/cp0-names.d        |   43 +
 gas/testsuite/gas/nanomips/cp0-names.s        |   38 +
 .../gas/nanomips/cp0sel-names-numeric.d       |  236 ++
 gas/testsuite/gas/nanomips/cp0sel-names.d     |  235 ++
 gas/testsuite/gas/nanomips/cp0sel-names.s     |  236 ++
 gas/testsuite/gas/nanomips/ctc.d              |   87 +
 gas/testsuite/gas/nanomips/ctc.s              |   66 +
 gas/testsuite/gas/nanomips/debug-dis.d        |   18 +
 gas/testsuite/gas/nanomips/debug-dis.s        |   12 +
 gas/testsuite/gas/nanomips/div.d              |   45 +
 gas/testsuite/gas/nanomips/div.s              |   31 +
 gas/testsuite/gas/nanomips/empty.s            |    3 +
 gas/testsuite/gas/nanomips/expr-const.d       |   11 +
 gas/testsuite/gas/nanomips/expr-const.s       |   24 +
 gas/testsuite/gas/nanomips/expr-ill.l         |    7 +
 gas/testsuite/gas/nanomips/expr-ill.s         |   20 +
 gas/testsuite/gas/nanomips/expr-sym.d         |   71 +
 gas/testsuite/gas/nanomips/expr-sym.s         |   36 +
 gas/testsuite/gas/nanomips/expr-vol.d         |   17 +
 gas/testsuite/gas/nanomips/expr-vol.s         |   17 +
 gas/testsuite/gas/nanomips/expr1.d            |   18 +
 gas/testsuite/gas/nanomips/expr1.s            |    9 +
 .../gas/nanomips/gpr-names-numeric.d          |   44 +
 gas/testsuite/gas/nanomips/gpr-names.d        |   44 +
 gas/testsuite/gas/nanomips/gpr-names.s        |   38 +
 .../gas/nanomips/hwr-names-numeric.d          |   59 +
 .../gas/nanomips/hwr-names-numeric.s          |   53 +
 .../gas/nanomips/insn-suffix-error.l          |   20 +
 .../gas/nanomips/insn-suffix-error.s          |   22 +
 gas/testsuite/gas/nanomips/isa-errors.l       |    7 +
 gas/testsuite/gas/nanomips/isa-errors.s       |    9 +
 gas/testsuite/gas/nanomips/jal.d              |   21 +
 gas/testsuite/gas/nanomips/jal.s              |   11 +
 gas/testsuite/gas/nanomips/jalr.l             |    3 +
 gas/testsuite/gas/nanomips/jalr.s             |   15 +
 gas/testsuite/gas/nanomips/la-lpic-mclarge.d  |  116 +
 gas/testsuite/gas/nanomips/la-lpic-mcmedium.d |  116 +
 gas/testsuite/gas/nanomips/la-mclarge-pcrel.d |  116 +
 gas/testsuite/gas/nanomips/la-mclarge.d       |  115 +
 gas/testsuite/gas/nanomips/la-pcrel.d         |  116 +
 gas/testsuite/gas/nanomips/la-pic-mclarge.d   |  116 +
 gas/testsuite/gas/nanomips/la-pic.d           |  156 ++
 gas/testsuite/gas/nanomips/la.d               |  115 +
 gas/testsuite/gas/nanomips/la.s               |   82 +
 gas/testsuite/gas/nanomips/lb.d               |  176 ++
 gas/testsuite/gas/nanomips/lb.s               |   72 +
 gas/testsuite/gas/nanomips/ld-reloc.d         |   86 +
 gas/testsuite/gas/nanomips/ld-reloc.s         |   34 +
 gas/testsuite/gas/nanomips/ld.d               |  174 ++
 gas/testsuite/gas/nanomips/ld.s               |  145 ++
 gas/testsuite/gas/nanomips/li.d               |   16 +
 gas/testsuite/gas/nanomips/li.s               |    9 +
 gas/testsuite/gas/nanomips/lif-pic.d          |   16 +
 gas/testsuite/gas/nanomips/lifloat-mem.d      |   20 +
 gas/testsuite/gas/nanomips/lifloat-nms.d      |   20 +
 gas/testsuite/gas/nanomips/lifloat.d          |   15 +
 gas/testsuite/gas/nanomips/lifloat.s          |    6 +
 gas/testsuite/gas/nanomips/lineno.d           |   86 +
 gas/testsuite/gas/nanomips/lineno.s           |   54 +
 gas/testsuite/gas/nanomips/linkrelax-dis.d    |   30 +
 gas/testsuite/gas/nanomips/linkrelax-dis.s    |   14 +
 gas/testsuite/gas/nanomips/linkrelax-relocs.d |   79 +
 gas/testsuite/gas/nanomips/linkrelax.d        |   17 +
 gas/testsuite/gas/nanomips/linkrelax.s        |   54 +
 gas/testsuite/gas/nanomips/mcmodel-err.l      |    3 +
 gas/testsuite/gas/nanomips/mcmodel-err.s      |    2 +
 gas/testsuite/gas/nanomips/mcmodel.l          |    0
 gas/testsuite/gas/nanomips/mcmodel.s          |    3 +
 gas/testsuite/gas/nanomips/move.d             |   14 +
 gas/testsuite/gas/nanomips/move.s             |    3 +
 gas/testsuite/gas/nanomips/mt-ase.d           |  651 +++++
 gas/testsuite/gas/nanomips/mt-ase.s           |  656 +++++
 gas/testsuite/gas/nanomips/mvh.d              |   16 +
 gas/testsuite/gas/nanomips/mvh.s              |   12 +
 gas/testsuite/gas/nanomips/nanomips-error.l   |   26 +
 gas/testsuite/gas/nanomips/nanomips-error.s   |   46 +
 .../gas/nanomips/nanomips-exc-noalias.d       |  254 ++
 gas/testsuite/gas/nanomips/nanomips-exc.s     |  282 ++
 gas/testsuite/gas/nanomips/nanomips-exc32.d   |  198 ++
 gas/testsuite/gas/nanomips/nanomips-subset.d  |   37 +
 gas/testsuite/gas/nanomips/nanomips-subset.s  |   23 +
 gas/testsuite/gas/nanomips/nanomips.d         | 2317 ++++++++++++++++
 gas/testsuite/gas/nanomips/nanomips.exp       |  557 ++++
 gas/testsuite/gas/nanomips/nanomips.l         |   10 +
 gas/testsuite/gas/nanomips/nanomips.s         | 2034 +++++++++++++++
 gas/testsuite/gas/nanomips/nanomips32.d       | 2309 ++++++++++++++++
 .../gas/nanomips/[email protected]        | 2318 +++++++++++++++++
 .../gas/nanomips/[email protected]      | 2309 ++++++++++++++++
 .../gas/nanomips/[email protected]        |  206 ++
 .../gas/nanomips/[email protected]       |  206 ++
 .../gas/nanomips/[email protected]       |  206 ++
 gas/testsuite/gas/nanomips/[email protected]   |  206 ++
 gas/testsuite/gas/nanomips/[email protected]     |  176 ++
 .../gas/nanomips/[email protected]         |  156 ++
 gas/testsuite/gas/nanomips/[email protected]           |  175 ++
 gas/testsuite/gas/nanomips/[email protected]  |   23 +
 gas/testsuite/gas/nanomips/[email protected]      |   21 +
 gas/testsuite/gas/nanomips/[email protected]   |   10 +
 gas/testsuite/gas/nanomips/[email protected]   |   26 +
 .../gas/nanomips/nolinkrelax-relocs.d         |   14 +
 gas/testsuite/gas/nanomips/nolinkrelax.d      |   17 +
 gas/testsuite/gas/nanomips/rol.d              |   28 +
 gas/testsuite/gas/nanomips/rol.s              |   22 +
 gas/testsuite/gas/nanomips/save-error.l       |   16 +
 gas/testsuite/gas/nanomips/save-error.s       |   42 +
 gas/testsuite/gas/nanomips/save-relocs.d      |   22 +
 gas/testsuite/gas/nanomips/save.d             |   64 +
 gas/testsuite/gas/nanomips/save.s             |   94 +
 gas/testsuite/gas/nanomips/sb.d               |  175 ++
 gas/testsuite/gas/nanomips/sb.s               |   71 +
 143 files changed, 20764 insertions(+), 4 deletions(-)
 create mode 100644 gas/testsuite/gas/cfi/cfi-nanomips-1.d
 create mode 100644 gas/testsuite/gas/elf/section2.e-nanomips
 create mode 100644 gas/testsuite/gas/nanomips/abi32-pic.d
 create mode 100644 gas/testsuite/gas/nanomips/abi32-pic.s
 create mode 100644 gas/testsuite/gas/nanomips/abi32.d
 create mode 100644 gas/testsuite/gas/nanomips/abi32.s
 create mode 100644 gas/testsuite/gas/nanomips/abs.d
 create mode 100644 gas/testsuite/gas/nanomips/abs.s
 create mode 100644 gas/testsuite/gas/nanomips/add.d
 create mode 100644 gas/testsuite/gas/nanomips/add.s
 create mode 100644 gas/testsuite/gas/nanomips/addu.d
 create mode 100644 gas/testsuite/gas/nanomips/addu.s
 create mode 100644 gas/testsuite/gas/nanomips/aent.d
 create mode 100644 gas/testsuite/gas/nanomips/aent.s
 create mode 100644 gas/testsuite/gas/nanomips/and.d
 create mode 100644 gas/testsuite/gas/nanomips/and.s
 create mode 100644 gas/testsuite/gas/nanomips/baddata1.l
 create mode 100644 gas/testsuite/gas/nanomips/baddata1.s
 create mode 100644 gas/testsuite/gas/nanomips/beq.d
 create mode 100644 gas/testsuite/gas/nanomips/beq.s
 create mode 100644 gas/testsuite/gas/nanomips/bge.d
 create mode 100644 gas/testsuite/gas/nanomips/bge.s
 create mode 100644 gas/testsuite/gas/nanomips/bgeu.d
 create mode 100644 gas/testsuite/gas/nanomips/bgeu.s
 create mode 100644 gas/testsuite/gas/nanomips/blt.d
 create mode 100644 gas/testsuite/gas/nanomips/blt.s
 create mode 100644 gas/testsuite/gas/nanomips/bltu.d
 create mode 100644 gas/testsuite/gas/nanomips/bltu.s
 create mode 100644 gas/testsuite/gas/nanomips/cp0-names-numeric.d
 create mode 100644 gas/testsuite/gas/nanomips/cp0-names.d
 create mode 100644 gas/testsuite/gas/nanomips/cp0-names.s
 create mode 100644 gas/testsuite/gas/nanomips/cp0sel-names-numeric.d
 create mode 100644 gas/testsuite/gas/nanomips/cp0sel-names.d
 create mode 100644 gas/testsuite/gas/nanomips/cp0sel-names.s
 create mode 100644 gas/testsuite/gas/nanomips/ctc.d
 create mode 100644 gas/testsuite/gas/nanomips/ctc.s
 create mode 100644 gas/testsuite/gas/nanomips/debug-dis.d
 create mode 100644 gas/testsuite/gas/nanomips/debug-dis.s
 create mode 100644 gas/testsuite/gas/nanomips/div.d
 create mode 100644 gas/testsuite/gas/nanomips/div.s
 create mode 100644 gas/testsuite/gas/nanomips/empty.s
 create mode 100644 gas/testsuite/gas/nanomips/expr-const.d
 create mode 100644 gas/testsuite/gas/nanomips/expr-const.s
 create mode 100644 gas/testsuite/gas/nanomips/expr-ill.l
 create mode 100644 gas/testsuite/gas/nanomips/expr-ill.s
 create mode 100644 gas/testsuite/gas/nanomips/expr-sym.d
 create mode 100644 gas/testsuite/gas/nanomips/expr-sym.s
 create mode 100644 gas/testsuite/gas/nanomips/expr-vol.d
 create mode 100644 gas/testsuite/gas/nanomips/expr-vol.s
 create mode 100644 gas/testsuite/gas/nanomips/expr1.d
 create mode 100644 gas/testsuite/gas/nanomips/expr1.s
 create mode 100644 gas/testsuite/gas/nanomips/gpr-names-numeric.d
 create mode 100644 gas/testsuite/gas/nanomips/gpr-names.d
 create mode 100644 gas/testsuite/gas/nanomips/gpr-names.s
 create mode 100644 gas/testsuite/gas/nanomips/hwr-names-numeric.d
 create mode 100644 gas/testsuite/gas/nanomips/hwr-names-numeric.s
 create mode 100644 gas/testsuite/gas/nanomips/insn-suffix-error.l
 create mode 100644 gas/testsuite/gas/nanomips/insn-suffix-error.s
 create mode 100644 gas/testsuite/gas/nanomips/isa-errors.l
 create mode 100644 gas/testsuite/gas/nanomips/isa-errors.s
 create mode 100644 gas/testsuite/gas/nanomips/jal.d
 create mode 100644 gas/testsuite/gas/nanomips/jal.s
 create mode 100644 gas/testsuite/gas/nanomips/jalr.l
 create mode 100644 gas/testsuite/gas/nanomips/jalr.s
 create mode 100644 gas/testsuite/gas/nanomips/la-lpic-mclarge.d
 create mode 100644 gas/testsuite/gas/nanomips/la-lpic-mcmedium.d
 create mode 100644 gas/testsuite/gas/nanomips/la-mclarge-pcrel.d
 create mode 100644 gas/testsuite/gas/nanomips/la-mclarge.d
 create mode 100644 gas/testsuite/gas/nanomips/la-pcrel.d
 create mode 100644 gas/testsuite/gas/nanomips/la-pic-mclarge.d
 create mode 100644 gas/testsuite/gas/nanomips/la-pic.d
 create mode 100644 gas/testsuite/gas/nanomips/la.d
 create mode 100644 gas/testsuite/gas/nanomips/la.s
 create mode 100644 gas/testsuite/gas/nanomips/lb.d
 create mode 100644 gas/testsuite/gas/nanomips/lb.s
 create mode 100644 gas/testsuite/gas/nanomips/ld-reloc.d
 create mode 100644 gas/testsuite/gas/nanomips/ld-reloc.s
 create mode 100644 gas/testsuite/gas/nanomips/ld.d
 create mode 100644 gas/testsuite/gas/nanomips/ld.s
 create mode 100644 gas/testsuite/gas/nanomips/li.d
 create mode 100644 gas/testsuite/gas/nanomips/li.s
 create mode 100644 gas/testsuite/gas/nanomips/lif-pic.d
 create mode 100644 gas/testsuite/gas/nanomips/lifloat-mem.d
 create mode 100644 gas/testsuite/gas/nanomips/lifloat-nms.d
 create mode 100644 gas/testsuite/gas/nanomips/lifloat.d
 create mode 100644 gas/testsuite/gas/nanomips/lifloat.s
 create mode 100644 gas/testsuite/gas/nanomips/lineno.d
 create mode 100644 gas/testsuite/gas/nanomips/lineno.s
 create mode 100644 gas/testsuite/gas/nanomips/linkrelax-dis.d
 create mode 100644 gas/testsuite/gas/nanomips/linkrelax-dis.s
 create mode 100644 gas/testsuite/gas/nanomips/linkrelax-relocs.d
 create mode 100644 gas/testsuite/gas/nanomips/linkrelax.d
 create mode 100644 gas/testsuite/gas/nanomips/linkrelax.s
 create mode 100644 gas/testsuite/gas/nanomips/mcmodel-err.l
 create mode 100644 gas/testsuite/gas/nanomips/mcmodel-err.s
 create mode 100644 gas/testsuite/gas/nanomips/mcmodel.l
 create mode 100644 gas/testsuite/gas/nanomips/mcmodel.s
 create mode 100644 gas/testsuite/gas/nanomips/move.d
 create mode 100644 gas/testsuite/gas/nanomips/move.s
 create mode 100644 gas/testsuite/gas/nanomips/mt-ase.d
 create mode 100644 gas/testsuite/gas/nanomips/mt-ase.s
 create mode 100644 gas/testsuite/gas/nanomips/mvh.d
 create mode 100644 gas/testsuite/gas/nanomips/mvh.s
 create mode 100644 gas/testsuite/gas/nanomips/nanomips-error.l
 create mode 100644 gas/testsuite/gas/nanomips/nanomips-error.s
 create mode 100644 gas/testsuite/gas/nanomips/nanomips-exc-noalias.d
 create mode 100644 gas/testsuite/gas/nanomips/nanomips-exc.s
 create mode 100644 gas/testsuite/gas/nanomips/nanomips-exc32.d
 create mode 100644 gas/testsuite/gas/nanomips/nanomips-subset.d
 create mode 100644 gas/testsuite/gas/nanomips/nanomips-subset.s
 create mode 100644 gas/testsuite/gas/nanomips/nanomips.d
 create mode 100644 gas/testsuite/gas/nanomips/nanomips.exp
 create mode 100644 gas/testsuite/gas/nanomips/nanomips.l
 create mode 100644 gas/testsuite/gas/nanomips/nanomips.s
 create mode 100644 gas/testsuite/gas/nanomips/nanomips32.d
 create mode 100644 gas/testsuite/gas/nanomips/[email protected]
 create mode 100644 gas/testsuite/gas/nanomips/[email protected]
 create mode 100644 gas/testsuite/gas/nanomips/[email protected]
 create mode 100644 gas/testsuite/gas/nanomips/[email protected]
 create mode 100644 gas/testsuite/gas/nanomips/[email protected]
 create mode 100644 gas/testsuite/gas/nanomips/[email protected]
 create mode 100644 gas/testsuite/gas/nanomips/[email protected]
 create mode 100644 gas/testsuite/gas/nanomips/[email protected]
 create mode 100644 gas/testsuite/gas/nanomips/[email protected]
 create mode 100644 gas/testsuite/gas/nanomips/[email protected]
 create mode 100644 gas/testsuite/gas/nanomips/[email protected]
 create mode 100644 gas/testsuite/gas/nanomips/[email protected]
 create mode 100644 gas/testsuite/gas/nanomips/[email protected]
 create mode 100644 gas/testsuite/gas/nanomips/nolinkrelax-relocs.d
 create mode 100644 gas/testsuite/gas/nanomips/nolinkrelax.d
 create mode 100644 gas/testsuite/gas/nanomips/rol.d
 create mode 100644 gas/testsuite/gas/nanomips/rol.s
 create mode 100644 gas/testsuite/gas/nanomips/save-error.l
 create mode 100644 gas/testsuite/gas/nanomips/save-error.s
 create mode 100644 gas/testsuite/gas/nanomips/save-relocs.d
 create mode 100644 gas/testsuite/gas/nanomips/save.d
 create mode 100644 gas/testsuite/gas/nanomips/save.s
 create mode 100644 gas/testsuite/gas/nanomips/sb.d
 create mode 100644 gas/testsuite/gas/nanomips/sb.s

diff --git a/binutils/testsuite/binutils-all/objdump.exp b/binutils/testsuite/binutils-all/objdump.exp
index 734f93298ed..164597f7013 100644
--- a/binutils/testsuite/binutils-all/objdump.exp
+++ b/binutils/testsuite/binutils-all/objdump.exp
@@ -37,7 +37,7 @@ set cpus_expected [list]
 lappend cpus_expected aarch64 alpha am33-2 arc ARC700 ARCv2 arm cris
 lappend cpus_expected d10v d30v fr30 fr500 fr550 h8 hppa i386 iamcu ip2022
 lappend cpus_expected m16c m32c m32r m68hc11 m68hc12 m68k MCore mep c5 h1 MicroBlaze
-lappend cpus_expected mips mn10200 mn10300 ms1 msp MSP430 nds32 n1h_v3 ns32k
+lappend cpus_expected mips mn10200 mn10300 ms1 msp MSP430 nanomips nds32 n1h_v3 ns32k
 lappend cpus_expected or1k or1knd pj powerpc pyramid riscv romp rs6000 s390 sh sparc
 lappend cpus_expected tic54x tilegx tms320c30 tms320c4x tms320c54x
 lappend cpus_expected v850 vax x86-64 xscale xtensa z8k z8001 z8002
@@ -260,6 +260,7 @@ if { ![istarget "*-*-aix*"]
      && ![istarget "*c54x-*-*"]
      && ![istarget "alpha-*-*vms*"]
      && ![istarget "i?86-*-msdos"]
+     && ![istarget "nanomips*-*-*"]
      && [file normalize "$LD"] == [file normalize "$objdir/../ld/ld-new"]} then {
     run_dump_test multi-1
     run_dump_test multi-2
diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp
index 46451fb5a90..ae2a25000df 100644
--- a/gas/testsuite/gas/all/gas.exp
+++ b/gas/testsuite/gas/all/gas.exp
@@ -166,6 +166,7 @@ switch -glob $target_triplet {
     mn10200-*-* { }
     mn10300-*-* { }
     msp430*-*-* { }
+    nanomips*-*-* { }
     nds32*-*-* { }
     pdp11-*-* { }
     tic30*-*-* { }
@@ -419,7 +420,8 @@ run_dump_test sleb128-9
 # .byte is 32 bits on tic4x, and .p2align isn't supported on tic54x
 # .space is different on hppa*-hpux.
 # MeP put bytes into packets.
-if { ![istarget "tic4x*-*-*"] && ![istarget "tic54x*-*-*"] && ![istarget "hppa*-*-hpux*"] && ![istarget "mep*-*-*"] } {
+# nanoMIPS does not like variable leb128s
+if { ![istarget "tic4x*-*-*"] && ![istarget "tic54x*-*-*"] && ![istarget "hppa*-*-hpux*"] && ![istarget "mep*-*-*"] && ![istarget "nanomips*-*-*"] } {
     run_dump_test relax
 }
 
@@ -455,6 +457,7 @@ if { [istarget "i?86-*-*"] || [istarget "x86_64-*-*"] } {
 switch -glob $target_triplet {
     alpha*-*-* { }
     mips*-*-* { }
+    nanomips*-*-* { }
     *c54x*-*-* { }
     z80-*-* { }
     default {
@@ -474,6 +477,7 @@ switch -glob $target_triplet {
     iq2000-*-* { }
     microblaze-*-* { }
     mips*-*-* { }
+    nanomips*-*-* { }
     score*-*-* { }
     xtensa*-*-* { }
     m68hc1*-*-* -
diff --git a/gas/testsuite/gas/cfi/cfi-nanomips-1.d b/gas/testsuite/gas/cfi/cfi-nanomips-1.d
new file mode 100644
index 00000000000..25e855d3f88
--- /dev/null
+++ b/gas/testsuite/gas/cfi/cfi-nanomips-1.d
@@ -0,0 +1,29 @@
+#readelf: -wf
+#name: CFI on nanoMIPS, 1
+#source: cfi-mips-1.s
+#as: -march=32r6 -mlegacyregs
+Contents of the .eh_frame section:
+
+0+0000 0+0014 0+0000 CIE
+  Version:               1
+  Augmentation:          "zR"
+  Code alignment factor: 1
+  Data alignment factor: -4
+  Return address column: 31
+  Augmentation data:     0b
+
+  DW_CFA_def_cfa_register: r29
+  DW_CFA_def_cfa: r29 ofs 0
+  DW_CFA_nop
+  DW_CFA_nop
+
+0+0018 0+001c 0+001c FDE cie=0+0000 pc=0+0000..0+0018
+  DW_CFA_advance_loc: 2 to 0+0002
+  DW_CFA_def_cfa_offset: 8
+  DW_CFA_advance_loc: 2 to 0+0004
+  DW_CFA_offset: r30 at cfa-8
+  DW_CFA_advance_loc: 2 to 0+0006
+  DW_CFA_def_cfa: r30 ofs 8
+  DW_CFA_advance_loc: 14 to 0+0014
+  DW_CFA_def_cfa: r29 ofs 0
+  DW_CFA_nop
diff --git a/gas/testsuite/gas/cfi/cfi.exp b/gas/testsuite/gas/cfi/cfi.exp
index de518446a13..a58fd56ee81 100644
--- a/gas/testsuite/gas/cfi/cfi.exp
+++ b/gas/testsuite/gas/cfi/cfi.exp
@@ -110,7 +110,8 @@ if  { [istarget "i*86-*-*"] || [istarget "x86_64-*-*"] } then {
     if { [regexp "elf64\[_-\]sparc" [lindex $nm_status 1]] } then {
 	run_dump_test "cfi-sparc64-1"
     }
-
+} elseif { [istarget "nanomips*-*"] } then {
+    run_dump_test "cfi-nanomips-1"
 } else {
     return
 }
@@ -134,7 +135,7 @@ if { ![istarget "hppa64*-*"] } then {
     run_dump_test "cfi-common-5"
   }
   # Some targets don't support PC relative cfi directives
-  if { ![istarget "mips*-*"] } then {
+  if { ![istarget "mips*-*"]  && ![istarget "nanomips*-*"] } then {
     run_dump_test "cfi-common-6"
   }
   run_dump_test "cfi-common-7"
diff --git a/gas/testsuite/gas/elf/elf.exp b/gas/testsuite/gas/elf/elf.exp
index 5580c494c54..0262219e661 100644
--- a/gas/testsuite/gas/elf/elf.exp
+++ b/gas/testsuite/gas/elf/elf.exp
@@ -94,6 +94,9 @@ if { [is_elf_format] } then {
 	set target_machine -riscv
 	set dump_opts {{as -mno-relax}}
     }
+    if {[istarget "nanomips*-*-*"]} then {
+	set target_machine -nanomips
+    }
     if {[istarget "rl78-*-*"]} then {
 	set target_machine -rl78
     }
@@ -157,6 +160,7 @@ if { [is_elf_format] } then {
 
     switch -glob $target_triplet {
 	hppa64*-*-hpux* { }
+	nanomips*-*-* { }
 	riscv*-*-* { }
 	default {
 	    run_dump_test "groupautoa" $dump_opts
@@ -164,6 +168,7 @@ if { [is_elf_format] } then {
     }
     switch -glob $target_triplet {
 	hppa64*-*-hpux* { }
+	nanomips*-*-* { }
 	riscv*-*-* { }
 	xtensa*-*-* { }
 	default {
@@ -183,6 +188,7 @@ if { [is_elf_format] } then {
 	mn10200-*-* { }
 	mn10300-*-* { }
 	msp43*-*-* { }
+	nanomips*-*-* { }
 	rl78-*-* { }
 	riscv*-*-* { }
 	rx-*-* { }
diff --git a/gas/testsuite/gas/elf/section2.e-nanomips b/gas/testsuite/gas/elf/section2.e-nanomips
new file mode 100644
index 00000000000..fd94cee4db7
--- /dev/null
+++ b/gas/testsuite/gas/elf/section2.e-nanomips
@@ -0,0 +1,8 @@
+
+Symbol table '.symtab' contains 5 entries:
+ +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
+ +0: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +UND 
+ +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1.*
+ +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2.*
+ +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3.*
+ +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4.*
diff --git a/gas/testsuite/gas/nanomips/abi32-pic.d b/gas/testsuite/gas/nanomips/abi32-pic.d
new file mode 100644
index 00000000000..698c175ae83
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/abi32-pic.d
@@ -0,0 +1,94 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: nanoMIPS -m32 (SVR4 PIC)
+#as: -EB
+
+.*: +file format.*
+
+Disassembly of section .text\:
+[0-9a-f]+ <[^>]+> e380 0002 	aluipc	gp,%pcrel_hi\([0-9a-f]+ <_gp>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	_gp
+[0-9a-f]+ <[^>]+> 039c 0000 	addiu	gp,gp,0
+			[0-9a-f]+: R_NANOMIPS_LO12	_gp
+[0-9a-f]+ <[^>]+> e094 5244 	lui	a0,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8084 0678 	ori	a0,a0,0x678
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <shared>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	shared
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	.sdata
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <unshared>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	unshared
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	.data
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <end>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	end
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	end
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	[0-9a-f]+ <end>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	end
+[0-9a-f]+ <[^>]+> 4020 0002 	lw	at,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_CALL	end
+[0-9a-f]+ <[^>]+> d830      	jalrc	at
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\(00000000 <shared>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	shared
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	.sdata
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\(00000000 <unshared>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	unshared
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	.data
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <end>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	end
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	end
+[0-9a-f]+ <[^>]+> 4020 0002 	lw	at,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_PAGE	\.sdata
+[0-9a-f]+ <[^>]+> 8481 8000 	lw	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_GOT_OFST	.sdata
+[0-9a-f]+ <[^>]+> 84a1 8000 	lw	a1,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_GOT_OFST	.sdata\+0x4
+[0-9a-f]+ <[^>]+> 4020 0002 	lw	at,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_PAGE	.data
+[0-9a-f]+ <[^>]+> 8481 8000 	lw	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_GOT_OFST	.data
+[0-9a-f]+ <[^>]+> 84a1 8000 	lw	a1,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_GOT_OFST	.data\+0x4
+[0-9a-f]+ <[^>]+> 4020 0002 	lw	at,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_PAGE	end
+[0-9a-f]+ <[^>]+> 8481 8000 	lw	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_GOT_OFST	end
+[0-9a-f]+ <[^>]+> 84a1 8000 	lw	a1,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_GOT_OFST	end\+0x4
+[0-9a-f]+ <[^>]+> e020 0002 	aluipc	at,%pcrel_hi\(00000000 <shared>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	shared
+[0-9a-f]+ <[^>]+> 8481 9000 	sw	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	.sdata
+[0-9a-f]+ <[^>]+> e020 0002 	aluipc	at,%pcrel_hi\(00000000 <unshared>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	unshared
+[0-9a-f]+ <[^>]+> 8481 9000 	sw	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data
+[0-9a-f]+ <[^>]+> 4020 0002 	lw	at,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_PAGE	.sdata
+[0-9a-f]+ <[^>]+> 8481 9000 	sw	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_GOT_OFST	.sdata
+[0-9a-f]+ <[^>]+> 84a1 9000 	sw	a1,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_GOT_OFST	.sdata\+0x4
+[0-9a-f]+ <[^>]+> 4020 0002 	lw	at,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_PAGE	.data
+[0-9a-f]+ <[^>]+> 8481 9000 	sw	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_GOT_OFST	.data
+[0-9a-f]+ <[^>]+> 84a1 9000 	sw	a1,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_GOT_OFST	.data\+0x4
+[0-9a-f]+ <[^>]+> e090 07fc 	lui	a0,%hi\(0x3ff00000\)
+[0-9a-f]+ <[^>]+> 10a0      	move	a1,zero
+[0-9a-f]+ <[^>]+> 4020 0002 	lw	at,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_PAGE	.rodata
+[0-9a-f]+ <[^>]+> 8481 8000 	lw	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_GOT_OFST	.rodata
+[0-9a-f]+ <[^>]+> 84a1 8000 	lw	a1,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_GOT_OFST	.rodata\+0x4
+[0-9a-f]+ <[^>]+> 0085 0064 	addiu	a0,a1,100
+[0-9a-f]+ <[^>]+> 8084 5001 	sltiu	a0,a0,1
+[0-9a-f]+ <[^>]+> 0085 0064 	addiu	a0,a1,100
+[0-9a-f]+ <[^>]+> 2080 2390 	sltu	a0,zero,a0
+[0-9a-f]+ <[^>]+> 1085      	move	a0,a1
+#pass
diff --git a/gas/testsuite/gas/nanomips/abi32-pic.s b/gas/testsuite/gas/nanomips/abi32-pic.s
new file mode 100644
index 00000000000..c6a441d82f2
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/abi32-pic.s
@@ -0,0 +1,38 @@
+	.sdata
+shared:
+	.word	11
+
+	.data
+unshared:
+	.word	1
+	.word	2
+	.word	3
+	.word	4
+
+	.text
+	.ent	func
+func:
+	.cpsetup $25
+	li	$4, 0x12345678
+	la	$4, shared
+	la	$4, unshared
+	la	$4, end
+	j	end
+	jal	end
+	lw	$4, shared
+	lw	$4, unshared
+	lw	$4, end
+	ld	$4, shared
+	ld	$4, unshared
+	ld	$4, end
+	sw	$4, shared
+	sw	$4, unshared
+	sd	$4, shared
+	sd	$4, unshared
+	li.d	$4, 1.0
+	li.d	$4, 1.9
+	seq	$4, $5, -100
+	sne	$4, $5, -100
+	move	$4, $5
+	.end	func
+end:
diff --git a/gas/testsuite/gas/nanomips/abi32.d b/gas/testsuite/gas/nanomips/abi32.d
new file mode 100644
index 00000000000..1394e530424
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/abi32.d
@@ -0,0 +1,79 @@
+#objdump: -dr --prefix-addresses  --show-raw-insn
+#name: nanoMIPS 32-bit ABI
+#as: -EB --linkrelax
+
+.*: +file format.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <func> e094 5244 	lui	a0,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8084 0678 	ori	a0,a0,0x678
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			[0-9a-f]+: R_NANOMIPS_GPREL19_S2	\.sdata
+[0-9a-f]+ <[^>]+> e080 0000 	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	\.data
+[0-9a-f]+ <[^>]+> 8084 0000 	ori	a0,a0,0x0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data
+[0-9a-f]+ <[^>]+> e080 0000 	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	end
+[0-9a-f]+ <[^>]+> 8084 0000 	ori	a0,a0,0x0
+			[0-9a-f]+: R_NANOMIPS_LO12	end
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	end
+[0-9a-f]+ <[^>]+> 2a00 0000 	balc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	end
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL19_S2	\.sdata
+[0-9a-f]+ <[^>]+> e080 0000 	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	\.data
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data
+[0-9a-f]+ <[^>]+> e080 0000 	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	end
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	end
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL19_S2	\.sdata
+[0-9a-f]+ <[^>]+> 40a0 0002 	lw	a1,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL19_S2	\.sdata\+0x4
+[0-9a-f]+ <[^>]+> e020 0000 	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	\.data
+[0-9a-f]+ <[^>]+> 8481 8000 	lw	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data
+[0-9a-f]+ <[^>]+> 84a1 8000 	lw	a1,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x4
+[0-9a-f]+ <[^>]+> e020 0000 	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	end
+[0-9a-f]+ <[^>]+> 8481 8000 	lw	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	end
+[0-9a-f]+ <[^>]+> 84a1 8000 	lw	a1,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	end\+0x4
+[0-9a-f]+ <[^>]+> 4080 0003 	sw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL19_S2	\.sdata
+[0-9a-f]+ <[^>]+> e020 0000 	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	\.data
+[0-9a-f]+ <[^>]+> 8481 9000 	sw	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data
+[0-9a-f]+ <[^>]+> 4080 0003 	sw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL19_S2	\.sdata
+[0-9a-f]+ <[^>]+> 40a0 0003 	sw	a1,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL19_S2	\.sdata\+0x4
+[0-9a-f]+ <[^>]+> e020 0000 	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	\.data
+[0-9a-f]+ <[^>]+> 8481 9000 	sw	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data
+[0-9a-f]+ <[^>]+> 84a1 9000 	sw	a1,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x4
+[0-9a-f]+ <[^>]+> e090 07fc 	lui	a0,%hi\(0x3ff00000\)
+[0-9a-f]+ <[^>]+> 10a0      	move	a1,zero
+[0-9a-f]+ <[^>]+> e020 0000 	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	\.rodata
+[0-9a-f]+ <[^>]+> 8481 8000 	lw	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	\.rodata
+[0-9a-f]+ <[^>]+> 84a1 8000 	lw	a1,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	\.rodata\+0x4
+[0-9a-f]+ <[^>]+> 0085 0064 	addiu	a0,a1,100
+[0-9a-f]+ <[^>]+> 8084 5001 	sltiu	a0,a0,1
+[0-9a-f]+ <[^>]+> 0085 0064 	addiu	a0,a1,100
+[0-9a-f]+ <[^>]+> 2080 2390 	sltu	a0,zero,a0
+[0-9a-f]+ <[^>]+> 1085      	move	a0,a1
+#pass
diff --git a/gas/testsuite/gas/nanomips/abi32.s b/gas/testsuite/gas/nanomips/abi32.s
new file mode 100644
index 00000000000..6856ddb4fd4
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/abi32.s
@@ -0,0 +1,70 @@
+
+	.sdata
+shared:	.word	11
+
+	.data
+unshared:
+	.word	1
+	.word	2
+	.word	3
+	.word	4
+
+	.text
+func:
+	li	$4, 0x12345678	# 0000 lui	a0,0x1234
+				# 0004 ori	a0,a0,0x5678
+	la	$4, shared	# 0008 addiu	a0,gp,shared
+	la	$4, unshared	# 000c lui	a0,hi(unshared)
+				# 0010 addiu	a0,a0,lo(unshared)
+	la	$4, end		# 0014 lui	a0,hi(end)
+				# 0018 addiu	a0,a0,lo(end)
+	j	end		# 001c j	end
+	jal	end		# 0020 jal	end
+	lw	$4, shared	# 0024 lw	a0,shared(gp)
+	lw	$4, unshared	# 0028 lui	a0,hi(unshared)
+				# 002c lw	a0,lo(unshared)(a0)
+	lw	$4, end		# 0030 lui	a0,hi(end)
+				# 0034 lw	a0,lo(end)(a0)
+	ld	$4, shared	# 0038 lw	a0,shared(gp)
+				# 003c lw	a1,shared+4(gp)
+	ld	$4, unshared	# 0040 lui	at,hi(unshared)
+				# 0044 lw	a0,lo(unshared)(at)
+				# 0048 lw	a1,lo(unshared)+4(at)
+	ld	$4, end		# 004c lui	at,hi(end)
+				# 0050 lw	a0,lo(end)(at)
+				# 0054 lw	a1,lo(end)+4(at)
+	sw	$4, shared	# 0058 sw	a0,shared(gp)
+	sw	$4, unshared	# 005c lui	at,hi(unshared)
+				# 0060 sw	a0,lo(unshared)(at)
+	sd	$4, shared	# 0064 sw	a0,shared(gp)
+				# 0068 sw	a1,shared+4(gp)
+	sd	$4, unshared	# 006c lui	at,hi(unshared)
+				# 0070 sw	a0,lo(unshared)(at)
+				# 0074 sw	a1,lo(unshared)+4(at)
+	li.d	$4, 1.0		# 00d0 lui	a0,0x3ff0
+				# 00d4 move	a1,zero
+	li.d	$4, 1.9		# 00d8 lui	at,hi(F1.9)
+				# 00dc lw	a0,lo(F1.9)(at)
+				# 00e0 lw	a1,lo(F1.9)+4(at)
+	seq	$4, $5, -100	# 00f4 addiu	a0,a1,100
+				# 00f8 sltiu	a0,a0,1
+	sne	$4, $5, -100	# 00fc addiu	a0,a1,100
+				# 0100 sltu	a0,zero,a0
+	move	$4, $5		# 0104 move	a0,a1
+
+# Not available in 32-bit mode
+#	dla	$4, shared
+#	dla	$4, unshared
+#	uld	$4, unshared
+#	usd	$4, unshared
+
+# Should produce warnings given -mgp32
+#	bgt	$4, 0x7fffffff, end
+#	bgtu	$4, 0xffffffff, end
+#	ble	$4, 0x7fffffff, end
+#	bleu	$4, 0xffffffff, end
+
+# Should produce warnings given -mfp32
+#	add.d	$f1, $f2, $f3
+
+end:
diff --git a/gas/testsuite/gas/nanomips/abs.d b/gas/testsuite/gas/nanomips/abs.d
new file mode 100644
index 00000000000..20bf00d63c1
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/abs.d
@@ -0,0 +1,17 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: nanoMIPS abs
+#source: abs.s
+
+# Test the abs macro (nanoMIPS).
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+0+0000 <foo> 8804 8000 	bgezc	a0,00000008 <.*>
+			0: R_NANOMIPS_PC14_S1	.*
+0+0004 <foo\+0x4> 2080 21d0 	negu	a0,a0
+0+0008 <.L\^_0> 1085      	move	a0,a1
+0+000a <.L\^_0\+0x2> 8805 8000 	bgezc	a1,00000012 <.*>
+			a: R_NANOMIPS_PC14_S1	.*
+0+000e <.L\^_0\+0x6> 20a0 21d0 	negu	a0,a1
+#pass
diff --git a/gas/testsuite/gas/nanomips/abs.s b/gas/testsuite/gas/nanomips/abs.s
new file mode 100644
index 00000000000..c4f5c4d720f
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/abs.s
@@ -0,0 +1,4 @@
+# Source file used to test the abs macro.
+foo:
+	abs	$4
+	abs	$4, $5
diff --git a/gas/testsuite/gas/nanomips/add.d b/gas/testsuite/gas/nanomips/add.d
new file mode 100644
index 00000000000..7f96ac8a337
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/add.d
@@ -0,0 +1,24 @@
+#objdump: -dr --no-show-raw-insn
+#name: nanoMIPS add
+#source: add.s
+
+# Test the add macro for nanoMIPS
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+
+00000000 <foo>:
+   0:	addiu	a0,a0,0
+   4:	li	at,1
+   8:	add	a0,a0,at
+   c:	li	at,32768
+  10:	add	a0,a0,at
+  14:	lui	at,%hi\(0xffff8000\)
+  18:	add	a0,a0,at
+  1c:	lui	at,%hi\(0x10000\)
+  20:	add	a0,a0,at
+  24:	li	at,0x1a5a5
+  2a:	add	a0,a0,at
+  2e:	addiu	a0,a0,1
+#pass
diff --git a/gas/testsuite/gas/nanomips/add.s b/gas/testsuite/gas/nanomips/add.s
new file mode 100644
index 00000000000..150aebfbd1a
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/add.s
@@ -0,0 +1,13 @@
+# Source file used to test the add macro.
+
+foo:
+	add	$4, $4, 0
+	add	$4, $4, 1
+	add	$4, $4, 0x8000
+	add	$4, $4, -0x8000
+	add	$4, $4, 0x10000
+	add	$4, $4, 0x1a5a5
+
+# addu is handled the same way add is; just confirm that it isn't
+# totally broken.
+	addu	$4, $4, 1
diff --git a/gas/testsuite/gas/nanomips/addu.d b/gas/testsuite/gas/nanomips/addu.d
new file mode 100644
index 00000000000..62bff6a3a29
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/addu.d
@@ -0,0 +1,23 @@
+#objdump: -dr --no-show-raw-insn
+#name: nanoMIPS addu
+#source: addu.s
+#as:
+
+# Test the add macro for nanoMIPS
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+
+00000000 <foo>:
+   0:	addiu	a0,a0,0
+   4:	addiu	a0,a0,1
+   8:	addiu	a0,a0,32768
+   c:	lui	at,%hi\(0xffff8000\)
+  10:	addu	a0,a0,at
+  14:	lui	at,%hi\(0x10000\)
+  18:	addu	a0,a0,at
+  1c:	lui	at,%hi\(0x1a000\)
+  20:	ori	at,at,0x5a5
+  24:	addu	a0,a0,at
+#pass
diff --git a/gas/testsuite/gas/nanomips/addu.s b/gas/testsuite/gas/nanomips/addu.s
new file mode 100644
index 00000000000..2bbbd23004c
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/addu.s
@@ -0,0 +1,9 @@
+# Source file used to test the add macro.
+
+foo:
+	addu	$a0, $a0, 0
+	addu	$a0, $a0, 1
+	addu	$a0, $a0, 0x8000
+	addu	$a0, $a0, -0x8000
+	addu	$a0, $a0, 0x10000
+	addu	$a0, $a0, 0x1a5a5
diff --git a/gas/testsuite/gas/nanomips/aent.d b/gas/testsuite/gas/nanomips/aent.d
new file mode 100644
index 00000000000..a319bcdcb12
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/aent.d
@@ -0,0 +1,13 @@
+#objdump: -dr --prefix-addresses
+#name: nanoMIPS .aent directive
+
+# Test the .aent directive retains function symbol type annotation.
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+0+0000 <foo> sllv	t4,a0,a2
+0+0004 <foo\+0x4> srav	a4,a6,t0
+0+0008 <bar> sllv	t4,a0,a2
+0+000c <bar\+0x4> srav	a4,a6,t0
+#pass
diff --git a/gas/testsuite/gas/nanomips/aent.s b/gas/testsuite/gas/nanomips/aent.s
new file mode 100644
index 00000000000..fc9e94d8f5f
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/aent.s
@@ -0,0 +1,16 @@
+	.text
+
+	.globl	foo
+	.ent	foo
+foo:
+	sllv	$2, $4, $6
+	srav	$8, $10, $12
+
+	.globl	bar
+	.aent	bar
+bar:
+	sllv	$2, $4, $6
+	srav	$8, $10, $12
+
+	.end	foo
+	.size	foo, . - foo
diff --git a/gas/testsuite/gas/nanomips/and.d b/gas/testsuite/gas/nanomips/and.d
new file mode 100644
index 00000000000..c0e8f201789
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/and.d
@@ -0,0 +1,35 @@
+#objdump: -dr --prefix-addresses
+#name: nanoMIPS and
+
+# Test the and macro for nanoMIPS
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+0+0000 <foo> andi	a0,a0,0x0
+0+0004 <foo\+0x4> andi	a0,a0,0x1
+0+0008 <foo\+0x8> li	at,32768
+0+000c <foo\+0xc> and	a0,a0,at
+0+0010 <foo\+0x10> lui	at,%hi\(0xffff8000\)
+0+0014 <foo\+0x14> and	a0,a0,at
+0+0018 <foo\+0x18> lui	at,%hi\(0x10000\)
+0+001c <foo\+0x1c> and	a0,a0,at
+0+0020 <foo\+0x20> lui	at,%hi\(0x1a000\)
+0+0024 <foo\+0x24> ori	at,at,0x5a5
+0+0028 <foo\+0x28> and	a0,a0,at
+0+002c <foo\+0x2c> li	at,0
+0+0030 <foo\+0x30> nor	a0,a1,at
+0+0034 <foo\+0x34> li	at,1
+0+0038 <foo\+0x38> nor	a0,a1,at
+0+003c <foo\+0x3c> li	at,32768
+0+0040 <foo\+0x40> nor	a0,a1,at
+0+0044 <foo\+0x44> lui	at,%hi\(0xffff8000\)
+0+0048 <foo\+0x48> nor	a0,a1,at
+0+004c <foo\+0x4c> lui	at,%hi\(0x10000\)
+0+0050 <foo\+0x50> nor	a0,a1,at
+0+0054 <foo\+0x54> lui	at,%hi\(0x1a000\)
+0+0058 <foo\+0x58> ori	at,at,0x5a5
+0+005c <foo\+0x5c> nor	a0,a1,at
+0+0060 <foo\+0x60> ori	a0,a1,0x0
+0+0064 <foo\+0x64> xori	a0,a1,0x0
+#pass
diff --git a/gas/testsuite/gas/nanomips/and.s b/gas/testsuite/gas/nanomips/and.s
new file mode 100644
index 00000000000..a23b907caea
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/and.s
@@ -0,0 +1,23 @@
+# Source file used to test the and macro.
+	.text
+foo:
+	and	$4, $4, 0
+	and	$4, $4, 1
+	and	$4, $4, 0x8000
+	and	$4, $4, -0x8000
+	and	$4, $4, 0x10000
+	and	$4, $4, 0x1a5a5
+
+# nor,  or,  and xor are handled by the same code.  There is a special
+# case for nor,  so we test all variants.
+
+	nor	$4, $5, 0
+	nor	$4, $5, 1
+	nor	$4, $5, 0x8000
+	nor	$4, $5, -0x8000
+	nor	$4, $5, 0x10000
+	nor	$4, $5, 0x1a5a5
+
+	or	$4, $5, 0
+
+	xor	$4, $5, 0
diff --git a/gas/testsuite/gas/nanomips/baddata1.l b/gas/testsuite/gas/nanomips/baddata1.l
new file mode 100644
index 00000000000..6d09cca933f
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/baddata1.l
@@ -0,0 +1,3 @@
+.*: Assembler messages:
+.*:8: Error: cannot represent BFD_RELOC_8 relocation in this object file format
+.*:9: Error: cannot represent BFD_RELOC_8 relocation in this object file format
diff --git a/gas/testsuite/gas/nanomips/baddata1.s b/gas/testsuite/gas/nanomips/baddata1.s
new file mode 100644
index 00000000000..0a901078aec
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/baddata1.s
@@ -0,0 +1,9 @@
+# Source file used to some bad data declarations.
+
+	.globl x
+
+	.data
+foo:
+	# no way these are going to hold the pointers.
+	.byte	x
+	.byte	x+1
diff --git a/gas/testsuite/gas/nanomips/beq.d b/gas/testsuite/gas/nanomips/beq.d
new file mode 100644
index 00000000000..d3700ba57b4
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/beq.d
@@ -0,0 +1,39 @@
+#objdump: -dr --prefix-addresses
+#name: nanoMIPS beq
+
+# Test the beq macro on nanoMIPS
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]*> beqc	a0,a1,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> beqzc	a0,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> beqic	a0,1,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC11_S1	text_label
+[0-9a-f]+ <[^>]*> li	at,32768
+[0-9a-f]+ <[^>]*> beqc	a0,at,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]*> beqc	a0,at,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]*> beqc	a0,at,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> lui	at,%hi\(0x1a000\)
+[0-9a-f]+ <[^>]*> ori	at,at,0x5a5
+[0-9a-f]+ <[^>]*> beqc	a0,at,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> bnezc	a0,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+	\.\.\.
+[0-9a-f]+ <[^>]*> bc	00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC25_S1	text_label
+[0-9a-f]+ <[^>]*> balc	00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC25_S1	text_label
+[0-9a-f]+ <[^>]*> bc	00000000 <external_label>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC25_S1	external_label
+[0-9a-f]+ <[^>]*> balc	00000000 <external_label>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC25_S1	external_label
+#pass
diff --git a/gas/testsuite/gas/nanomips/beq.s b/gas/testsuite/gas/nanomips/beq.s
new file mode 100644
index 00000000000..2dbfd2b084d
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/beq.s
@@ -0,0 +1,22 @@
+# Source file used to test the beq macro.
+	.text
+text_label:	
+	beq	$4, $5, text_label
+	beq	$4, 0, text_label
+	beq	$4, 1, text_label
+	beq	$4, 0x8000, text_label
+	beq	$4, -0x8000, text_label
+	beq	$4, 0x10000, text_label
+	beq	$4, 0x1a5a5, text_label
+
+# bne is handled by the same code as beq.  Just sanity check.
+	bne	$4, 0, text_label
+
+# Test that branches which overflow are converted to jumps.
+	.space	0x20000
+	b	text_label
+	bal	text_label
+
+# Branch to an external label.
+	b	external_label
+	bal	external_label
diff --git a/gas/testsuite/gas/nanomips/bge.d b/gas/testsuite/gas/nanomips/bge.d
new file mode 100644
index 00000000000..1480125aee0
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/bge.d
@@ -0,0 +1,53 @@
+#objdump: -dr --prefix-addresses
+#name: nanoMIPS bge
+
+
+# Test the bge macro.
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]*> bgec	a0,a1,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> bgezc	a0,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> blezc	a1,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> bgezc	a0,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> bgtzc	a0,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> bgeic	a0,2,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC11_S1	text_label
+[0-9a-f]+ <[^>]*> li	at,32768
+[0-9a-f]+ <[^>]*> slt	at,a0,at
+[0-9a-f]+ <[^>]*> beqzc	at,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]*> slt	at,a0,at
+[0-9a-f]+ <[^>]*> beqzc	at,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]*> slt	at,a0,at
+[0-9a-f]+ <[^>]*> beqzc	at,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> lui	at,%hi\(0x1a000\)
+[0-9a-f]+ <[^>]*> ori	at,at,0x5a5
+[0-9a-f]+ <[^>]*> slt	at,a0,at
+[0-9a-f]+ <[^>]*> beqzc	at,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> slt	at,a1,a0
+[0-9a-f]+ <[^>]*> bnezc	at,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> bgtzc	a0,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> bltzc	a1,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> bgtzc	a0,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> bgec	a0,a1,00000000 <external_label>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	external_label
+[0-9a-f]+ <[^>]*> slt	at,a1,a0
+[0-9a-f]+ <[^>]*> bnezc	at,00000000 <external_label>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	external_label
+#pass
diff --git a/gas/testsuite/gas/nanomips/bge.s b/gas/testsuite/gas/nanomips/bge.s
new file mode 100644
index 00000000000..a90b927a5b2
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/bge.s
@@ -0,0 +1,24 @@
+# Source file used to test the bge macro.
+	
+text_label:	
+	bge	$4, $5, text_label
+	bge	$4, $0, text_label
+	bge	$0, $5, text_label
+	bge	$4, 0, text_label
+	bge	$4, 1, text_label
+	bge	$4, 2, text_label
+	bge	$4, 0x8000, text_label
+	bge	$4, -0x8000, text_label
+	bge	$4, 0x10000, text_label
+	bge	$4, 0x1a5a5, text_label
+
+# bgt is handled like bge,  except when both arguments are registers.
+# Just sanity check it otherwise.
+	bgt	$4, $5, text_label
+	bgt	$4, $0, text_label
+	bgt	$0, $5, text_label
+	bgt	$4, 0, text_label
+
+# Branch to an external label.
+	bge	$4, $5, external_label
+	bgt	$4, $5, external_label
diff --git a/gas/testsuite/gas/nanomips/bgeu.d b/gas/testsuite/gas/nanomips/bgeu.d
new file mode 100644
index 00000000000..8209a3bbfc4
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/bgeu.d
@@ -0,0 +1,44 @@
+#objdump: -dr --prefix-addresses
+#name: nanoMIPS bgeu
+
+# Test the bgeu macro.
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]*> bgeuc	a0,a1,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> bnezc	a0,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> bgeiuc	a0,2,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC11_S1	text_label
+[0-9a-f]+ <[^>]*> li	at,32768
+[0-9a-f]+ <[^>]*> sltu	at,a0,at
+[0-9a-f]+ <[^>]*> beqzc	at,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]*> sltu	at,a0,at
+[0-9a-f]+ <[^>]*> beqzc	at,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]*> sltu	at,a0,at
+[0-9a-f]+ <[^>]*> beqzc	at,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> lui	at,%hi\(0x1a000\)
+[0-9a-f]+ <[^>]*> ori	at,at,0x5a5
+[0-9a-f]+ <[^>]*> sltu	at,a0,at
+[0-9a-f]+ <[^>]*> beqzc	at,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> sltu	at,a1,a0
+[0-9a-f]+ <[^>]*> bnezc	at,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> bnezc	a0,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> bnezc	a0,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> bgeuc	a0,a1,00000000 <external_label>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	external_label
+[0-9a-f]+ <[^>]*> sltu	at,a1,a0
+[0-9a-f]+ <[^>]*> bnezc	at,00000000 <external_label>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	external_label
+#pass
diff --git a/gas/testsuite/gas/nanomips/bgeu.s b/gas/testsuite/gas/nanomips/bgeu.s
new file mode 100644
index 00000000000..578bcd6a345
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/bgeu.s
@@ -0,0 +1,21 @@
+# Source file used to test the bgeu macro.
+	
+text_label:	
+	bgeu	$4, $5, text_label
+	# A second argument of 0 or $0 is always true
+	bgeu	$4, 1, text_label
+	bgeu	$4, 2, text_label
+	bgeu	$4, 0x8000, text_label
+	bgeu	$4, -0x8000, text_label
+	bgeu	$4, 0x10000, text_label
+	bgeu	$4, 0x1a5a5, text_label
+
+# bgtu is handled like bgeu,  except when both arguments are registers.
+# Just sanity check it otherwise.
+	bgtu	$4, $5, text_label
+	bgtu	$4, $0, text_label
+	bgtu	$4, 0, text_label
+
+# Branch to an external label.
+	bgeu	$4, $5, external_label
+	bgtu	$4, $5, external_label
diff --git a/gas/testsuite/gas/nanomips/blt.d b/gas/testsuite/gas/nanomips/blt.d
new file mode 100644
index 00000000000..6b3c0fffaaf
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/blt.d
@@ -0,0 +1,52 @@
+#objdump: -dr --prefix-addresses
+#name: nanoMIPS blt
+
+# Test the blt macro.
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]*> bltc	a0,a1,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> bltzc	a0,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> bgtzc	a1,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> bltzc	a0,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> blezc	a0,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> bltic	a0,2,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC11_S1	text_label
+[0-9a-f]+ <[^>]*> li	at,32768
+[0-9a-f]+ <[^>]*> slt	at,a0,at
+[0-9a-f]+ <[^>]*> bnezc	at,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]*> slt	at,a0,at
+[0-9a-f]+ <[^>]*> bnezc	at,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]*> slt	at,a0,at
+[0-9a-f]+ <[^>]*> bnezc	at,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> lui	at,%hi\(0x1a000\)
+[0-9a-f]+ <[^>]*> ori	at,at,0x5a5
+[0-9a-f]+ <[^>]*> slt	at,a0,at
+[0-9a-f]+ <[^>]*> bnezc	at,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> slt	at,a1,a0
+[0-9a-f]+ <[^>]*> beqzc	at,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> blezc	a0,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> bgezc	a1,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> blezc	a0,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> bltc	a0,a1,00000000 <external_label>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	external_label
+[0-9a-f]+ <[^>]*> slt	at,a1,a0
+[0-9a-f]+ <[^>]*> beqzc	at,00000000 <external_label>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	external_label
+#pass
diff --git a/gas/testsuite/gas/nanomips/blt.s b/gas/testsuite/gas/nanomips/blt.s
new file mode 100644
index 00000000000..956ee14ccdc
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/blt.s
@@ -0,0 +1,24 @@
+# Source file used to test the blt macro.
+	
+text_label:	
+	blt	$4, $5, text_label
+	blt	$4, $0, text_label
+	blt	$0, $5, text_label
+	blt	$4, 0, text_label
+	blt	$4, 1, text_label
+	blt	$4, 2, text_label
+	blt	$4, 0x8000, text_label
+	blt	$4, -0x8000, text_label
+	blt	$4, 0x10000, text_label
+	blt	$4, 0x1a5a5, text_label
+
+# ble is handled like blt,  except when both arguments are registers.
+# Just sanity check it otherwise.
+	ble	$4, $5, text_label
+	ble	$4, $0, text_label
+	ble	$0, $5, text_label
+	ble	$4, 0, text_label
+
+# Branch to an external label.
+	blt	$4, $5, external_label
+	ble	$4, $5, external_label
diff --git a/gas/testsuite/gas/nanomips/bltu.d b/gas/testsuite/gas/nanomips/bltu.d
new file mode 100644
index 00000000000..c34f02c65d6
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/bltu.d
@@ -0,0 +1,44 @@
+#objdump: -dr --prefix-addresses
+#name: nanoMIPS bltu
+
+# Test the bltu macro.
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]*> bltuc	a0,a1,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> beqzc	a0,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> bltiuc	a0,2,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC11_S1	text_label
+[0-9a-f]+ <[^>]*> li	at,32768
+[0-9a-f]+ <[^>]*> sltu	at,a0,at
+[0-9a-f]+ <[^>]*> bnezc	at,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]*> sltu	at,a0,at
+[0-9a-f]+ <[^>]*> bnezc	at,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]*> sltu	at,a0,at
+[0-9a-f]+ <[^>]*> bnezc	at,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> lui	at,%hi\(0x1a000\)
+[0-9a-f]+ <[^>]*> ori	at,at,0x5a5
+[0-9a-f]+ <[^>]*> sltu	at,a0,at
+[0-9a-f]+ <[^>]*> bnezc	at,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> sltu	at,a1,a0
+[0-9a-f]+ <[^>]*> beqzc	at,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> beqzc	a0,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> beqzc	a0,00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	text_label
+[0-9a-f]+ <[^>]*> bltuc	a0,a1,00000000 <external_label>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	external_label
+[0-9a-f]+ <[^>]*> sltu	at,a1,a0
+[0-9a-f]+ <[^>]*> beqzc	at,00000000 <external_label>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC14_S1	external_label
+#pass
diff --git a/gas/testsuite/gas/nanomips/bltu.s b/gas/testsuite/gas/nanomips/bltu.s
new file mode 100644
index 00000000000..80c9106b657
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/bltu.s
@@ -0,0 +1,21 @@
+# Source file used to test the bltu macro.
+
+text_label:
+	bltu	$4, $5, text_label
+	# A second argument of 0 or $0 is always false
+	bltu	$4, 1, text_label
+	bltu	$4, 2, text_label
+	bltu	$4, 0x8000, text_label
+	bltu	$4, -0x8000, text_label
+	bltu	$4, 0x10000, text_label
+	bltu	$4, 0x1a5a5, text_label
+
+# bleu is handled like bltu,  except when both arguments are registers.
+# Just sanity check it otherwise.
+	bleu	$4, $5, text_label
+	bleu	$4, $0, text_label
+	bleu	$4, 0, text_label
+
+# Branch to an external label.
+	bltu	$4, $5, external_label
+	bleu	$4, $5, external_label
diff --git a/gas/testsuite/gas/nanomips/cp0-names-numeric.d b/gas/testsuite/gas/nanomips/cp0-names-numeric.d
new file mode 100644
index 00000000000..076547febe9
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/cp0-names-numeric.d
@@ -0,0 +1,44 @@
+#objdump: -dr -M gpr-names=numeric,cp0-names=numeric
+#name: nanoMIPS CP0 register disassembly (numeric)
+#source: cp0-names.s
+
+# Check objdump's handling of -M cp0-names=foo options.
+
+.*: +file format .*nanomips.*
+
+Disassembly of section .text:
+
+0+0000 <text_label>:
+   0:	2000 0070 	mtc0	\$0,\$0
+   4:	2001 0070 	mtc0	\$0,\$1
+   8:	2002 0070 	mtc0	\$0,\$2
+   c:	2003 0070 	mtc0	\$0,\$3
+  10:	2004 0070 	mtc0	\$0,\$4
+  14:	2005 0070 	mtc0	\$0,\$5
+  18:	2006 0070 	mtc0	\$0,\$6
+  1c:	2007 0070 	mtc0	\$0,\$7
+  20:	2008 0070 	mtc0	\$0,\$8
+  24:	2009 0070 	mtc0	\$0,\$9
+  28:	200a 0070 	mtc0	\$0,\$10
+  2c:	200b 0070 	mtc0	\$0,\$11
+  30:	200c 0070 	mtc0	\$0,\$12
+  34:	200d 0070 	mtc0	\$0,\$13
+  38:	200e 0070 	mtc0	\$0,\$14
+  3c:	200f 0070 	mtc0	\$0,\$15
+  40:	2010 0070 	mtc0	\$0,\$16
+  44:	2011 0070 	mtc0	\$0,\$17
+  48:	2012 0070 	mtc0	\$0,\$18
+  4c:	2013 0070 	mtc0	\$0,\$19
+  50:	2014 0070 	mtc0	\$0,\$20
+  54:	2015 0070 	mtc0	\$0,\$21
+  58:	2016 0070 	mtc0	\$0,\$22
+  5c:	2017 0070 	mtc0	\$0,\$23
+  60:	2018 0070 	mtc0	\$0,\$24
+  64:	2019 0070 	mtc0	\$0,\$25
+  68:	201a 0070 	mtc0	\$0,\$26
+  6c:	201b 0070 	mtc0	\$0,\$27
+  70:	201c 0070 	mtc0	\$0,\$28
+  74:	201d 0070 	mtc0	\$0,\$29
+  78:	201e 0070 	mtc0	\$0,\$30
+  7c:	201f 0070 	mtc0	\$0,\$31
+#pass
diff --git a/gas/testsuite/gas/nanomips/cp0-names.d b/gas/testsuite/gas/nanomips/cp0-names.d
new file mode 100644
index 00000000000..495181075b3
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/cp0-names.d
@@ -0,0 +1,43 @@
+#objdump: -dr -M gpr-names=numeric,cp0-names=32r6
+#name: nanoMIPS CP0 register disassembly \(32r6\)
+#source: cp0-names.s
+
+# Check objdump's handling of -M cp0-names=foo options.
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+
+0+0000 <text_label>:
+   0:	2000 0070 	mtc0	\$0,index
+   4:	2001 0070 	mtc0	\$0,random
+   8:	2002 0070 	mtc0	\$0,entrylo0
+   c:	2003 0070 	mtc0	\$0,entrylo1
+  10:	2004 0070 	mtc0	\$0,context
+  14:	2005 0070 	mtc0	\$0,pagemask
+  18:	2006 0070 	mtc0	\$0,wired
+  1c:	2007 0070 	mtc0	\$0,hwrena
+  20:	2008 0070 	mtc0	\$0,badvaddr
+  24:	2009 0070 	mtc0	\$0,count
+  28:	200a 0070 	mtc0	\$0,entryhi
+  2c:	200b 0070 	mtc0	\$0,compare
+  30:	200c 0070 	mtc0	\$0,status
+  34:	200d 0070 	mtc0	\$0,cause
+  38:	200e 0070 	mtc0	\$0,epc
+  3c:	200f 0070 	mtc0	\$0,prid
+  40:	2010 0070 	mtc0	\$0,config
+  44:	2011 0070 	mtc0	\$0,lladdr
+  48:	2012 0070 	mtc0	\$0,watchlo,0
+  4c:	2013 0070 	mtc0	\$0,watchhi,0
+  50:	2014 0070 	mtc0	\$0,xcontext
+  54:	2015 0070 	mtc0	\$0,\$21
+  58:	2016 0070 	mtc0	\$0,\$22
+  5c:	2017 0070 	mtc0	\$0,debug
+  60:	2018 0070 	mtc0	\$0,depc
+  64:	2019 0070 	mtc0	\$0,perfctl,0
+  68:	201a 0070 	mtc0	\$0,errctl
+  6c:	201b 0070 	mtc0	\$0,cacheerr
+  70:	201c 0070 	mtc0	\$0,taglo,0
+  74:	201d 0070 	mtc0	\$0,taghi,0
+  78:	201e 0070 	mtc0	\$0,errorepc
+  7c:	201f 0070 	mtc0	\$0,desave
diff --git a/gas/testsuite/gas/nanomips/cp0-names.s b/gas/testsuite/gas/nanomips/cp0-names.s
new file mode 100644
index 00000000000..aa1c9451fbf
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/cp0-names.s
@@ -0,0 +1,38 @@
+# source file to test objdump's disassembly using various styles of
+# CP0 register names.
+
+	.text
+text_label:
+
+	mtc0	$0, $0
+	mtc0	$0, $1
+	mtc0	$0, $2
+	mtc0	$0, $3
+	mtc0	$0, $4
+	mtc0	$0, $5
+	mtc0	$0, $6
+	mtc0	$0, $7
+	mtc0	$0, $8
+	mtc0	$0, $9
+	mtc0	$0, $10
+	mtc0	$0, $11
+	mtc0	$0, $12
+	mtc0	$0, $13
+	mtc0	$0, $14
+	mtc0	$0, $15
+	mtc0	$0, $16
+	mtc0	$0, $17
+	mtc0	$0, $18
+	mtc0	$0, $19
+	mtc0	$0, $20
+	mtc0	$0, $21
+	mtc0	$0, $22
+	mtc0	$0, $23
+	mtc0	$0, $24
+	mtc0	$0, $25
+	mtc0	$0, $26
+	mtc0	$0, $27
+	mtc0	$0, $28
+	mtc0	$0, $29
+	mtc0	$0, $30
+	mtc0	$0, $31
diff --git a/gas/testsuite/gas/nanomips/cp0sel-names-numeric.d b/gas/testsuite/gas/nanomips/cp0sel-names-numeric.d
new file mode 100644
index 00000000000..67c32373be6
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/cp0sel-names-numeric.d
@@ -0,0 +1,236 @@
+#objdump: -dr -M gpr-names=numeric,cp0-names=numeric
+#name: nanoMIPS CP0 with sel register disassembly \(numeric\)
+#source: cp0sel-names.s
+
+# Check objdump's handling of -M cp0-names=foo options.
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+
+0+0000 <text_label>:
+   0:	2000 0870 	mtc0	\$0,\$0,1
+   4:	2000 1070 	mtc0	\$0,\$0,2
+   8:	2000 1870 	mtc0	\$0,\$0,3
+   c:	2000 2070 	mtc0	\$0,\$0,4
+  10:	2000 2870 	mtc0	\$0,\$0,5
+  14:	2000 3070 	mtc0	\$0,\$0,6
+  18:	2000 3870 	mtc0	\$0,\$0,7
+  1c:	2001 0870 	mtc0	\$0,\$1,1
+  20:	2001 1070 	mtc0	\$0,\$1,2
+  24:	2001 1870 	mtc0	\$0,\$1,3
+  28:	2001 2070 	mtc0	\$0,\$1,4
+  2c:	2001 2870 	mtc0	\$0,\$1,5
+  30:	2001 3070 	mtc0	\$0,\$1,6
+  34:	2001 3870 	mtc0	\$0,\$1,7
+  38:	2002 0870 	mtc0	\$0,\$2,1
+  3c:	2002 1070 	mtc0	\$0,\$2,2
+  40:	2002 1870 	mtc0	\$0,\$2,3
+  44:	2002 2070 	mtc0	\$0,\$2,4
+  48:	2002 2870 	mtc0	\$0,\$2,5
+  4c:	2002 3070 	mtc0	\$0,\$2,6
+  50:	2002 3870 	mtc0	\$0,\$2,7
+  54:	2003 0870 	mtc0	\$0,\$3,1
+  58:	2003 1070 	mtc0	\$0,\$3,2
+  5c:	2003 1870 	mtc0	\$0,\$3,3
+  60:	2003 2070 	mtc0	\$0,\$3,4
+  64:	2003 2870 	mtc0	\$0,\$3,5
+  68:	2003 3070 	mtc0	\$0,\$3,6
+  6c:	2003 3870 	mtc0	\$0,\$3,7
+  70:	2004 0870 	mtc0	\$0,\$4,1
+  74:	2004 1070 	mtc0	\$0,\$4,2
+  78:	2004 1870 	mtc0	\$0,\$4,3
+  7c:	2004 2070 	mtc0	\$0,\$4,4
+  80:	2004 2870 	mtc0	\$0,\$4,5
+  84:	2004 3070 	mtc0	\$0,\$4,6
+  88:	2004 3870 	mtc0	\$0,\$4,7
+  8c:	2005 0870 	mtc0	\$0,\$5,1
+  90:	2005 1070 	mtc0	\$0,\$5,2
+  94:	2005 1870 	mtc0	\$0,\$5,3
+  98:	2005 2070 	mtc0	\$0,\$5,4
+  9c:	2005 2870 	mtc0	\$0,\$5,5
+  a0:	2005 3070 	mtc0	\$0,\$5,6
+  a4:	2005 3870 	mtc0	\$0,\$5,7
+  a8:	2006 0870 	mtc0	\$0,\$6,1
+  ac:	2006 1070 	mtc0	\$0,\$6,2
+  b0:	2006 1870 	mtc0	\$0,\$6,3
+  b4:	2006 2070 	mtc0	\$0,\$6,4
+  b8:	2006 2870 	mtc0	\$0,\$6,5
+  bc:	2006 3070 	mtc0	\$0,\$6,6
+  c0:	2006 3870 	mtc0	\$0,\$6,7
+  c4:	2007 0870 	mtc0	\$0,\$7,1
+  c8:	2007 1070 	mtc0	\$0,\$7,2
+  cc:	2007 1870 	mtc0	\$0,\$7,3
+  d0:	2007 2070 	mtc0	\$0,\$7,4
+  d4:	2007 2870 	mtc0	\$0,\$7,5
+  d8:	2007 3070 	mtc0	\$0,\$7,6
+  dc:	2007 3870 	mtc0	\$0,\$7,7
+  e0:	2008 0870 	mtc0	\$0,\$8,1
+  e4:	2008 1070 	mtc0	\$0,\$8,2
+  e8:	2008 1870 	mtc0	\$0,\$8,3
+  ec:	2008 2070 	mtc0	\$0,\$8,4
+  f0:	2008 2870 	mtc0	\$0,\$8,5
+  f4:	2008 3070 	mtc0	\$0,\$8,6
+  f8:	2008 3870 	mtc0	\$0,\$8,7
+  fc:	2009 0870 	mtc0	\$0,\$9,1
+ 100:	2009 1070 	mtc0	\$0,\$9,2
+ 104:	2009 1870 	mtc0	\$0,\$9,3
+ 108:	2009 2070 	mtc0	\$0,\$9,4
+ 10c:	2009 2870 	mtc0	\$0,\$9,5
+ 110:	2009 3070 	mtc0	\$0,\$9,6
+ 114:	2009 3870 	mtc0	\$0,\$9,7
+ 118:	200a 0870 	mtc0	\$0,\$10,1
+ 11c:	200a 1070 	mtc0	\$0,\$10,2
+ 120:	200a 1870 	mtc0	\$0,\$10,3
+ 124:	200a 2070 	mtc0	\$0,\$10,4
+ 128:	200a 2870 	mtc0	\$0,\$10,5
+ 12c:	200a 3070 	mtc0	\$0,\$10,6
+ 130:	200a 3870 	mtc0	\$0,\$10,7
+ 134:	200b 0870 	mtc0	\$0,\$11,1
+ 138:	200b 1070 	mtc0	\$0,\$11,2
+ 13c:	200b 1870 	mtc0	\$0,\$11,3
+ 140:	200b 2070 	mtc0	\$0,\$11,4
+ 144:	200b 2870 	mtc0	\$0,\$11,5
+ 148:	200b 3070 	mtc0	\$0,\$11,6
+ 14c:	200b 3870 	mtc0	\$0,\$11,7
+ 150:	200c 0870 	mtc0	\$0,\$12,1
+ 154:	200c 1070 	mtc0	\$0,\$12,2
+ 158:	200c 1870 	mtc0	\$0,\$12,3
+ 15c:	200c 2070 	mtc0	\$0,\$12,4
+ 160:	200c 2870 	mtc0	\$0,\$12,5
+ 164:	200c 3070 	mtc0	\$0,\$12,6
+ 168:	200c 3870 	mtc0	\$0,\$12,7
+ 16c:	200d 0870 	mtc0	\$0,\$13,1
+ 170:	200d 1070 	mtc0	\$0,\$13,2
+ 174:	200d 1870 	mtc0	\$0,\$13,3
+ 178:	200d 2070 	mtc0	\$0,\$13,4
+ 17c:	200d 2870 	mtc0	\$0,\$13,5
+ 180:	200d 3070 	mtc0	\$0,\$13,6
+ 184:	200d 3870 	mtc0	\$0,\$13,7
+ 188:	200e 0870 	mtc0	\$0,\$14,1
+ 18c:	200e 1070 	mtc0	\$0,\$14,2
+ 190:	200e 1870 	mtc0	\$0,\$14,3
+ 194:	200e 2070 	mtc0	\$0,\$14,4
+ 198:	200e 2870 	mtc0	\$0,\$14,5
+ 19c:	200e 3070 	mtc0	\$0,\$14,6
+ 1a0:	200e 3870 	mtc0	\$0,\$14,7
+ 1a4:	200f 0870 	mtc0	\$0,\$15,1
+ 1a8:	200f 1070 	mtc0	\$0,\$15,2
+ 1ac:	200f 1870 	mtc0	\$0,\$15,3
+ 1b0:	200f 2070 	mtc0	\$0,\$15,4
+ 1b4:	200f 2870 	mtc0	\$0,\$15,5
+ 1b8:	200f 3070 	mtc0	\$0,\$15,6
+ 1bc:	200f 3870 	mtc0	\$0,\$15,7
+ 1c0:	2010 0870 	mtc0	\$0,\$16,1
+ 1c4:	2010 1070 	mtc0	\$0,\$16,2
+ 1c8:	2010 1870 	mtc0	\$0,\$16,3
+ 1cc:	2010 2070 	mtc0	\$0,\$16,4
+ 1d0:	2010 2870 	mtc0	\$0,\$16,5
+ 1d4:	2010 3070 	mtc0	\$0,\$16,6
+ 1d8:	2010 3870 	mtc0	\$0,\$16,7
+ 1dc:	2011 0870 	mtc0	\$0,\$17,1
+ 1e0:	2011 1070 	mtc0	\$0,\$17,2
+ 1e4:	2011 1870 	mtc0	\$0,\$17,3
+ 1e8:	2011 2070 	mtc0	\$0,\$17,4
+ 1ec:	2011 2870 	mtc0	\$0,\$17,5
+ 1f0:	2011 3070 	mtc0	\$0,\$17,6
+ 1f4:	2011 3870 	mtc0	\$0,\$17,7
+ 1f8:	2012 0870 	mtc0	\$0,\$18,1
+ 1fc:	2012 1070 	mtc0	\$0,\$18,2
+ 200:	2012 1870 	mtc0	\$0,\$18,3
+ 204:	2012 2070 	mtc0	\$0,\$18,4
+ 208:	2012 2870 	mtc0	\$0,\$18,5
+ 20c:	2012 3070 	mtc0	\$0,\$18,6
+ 210:	2012 3870 	mtc0	\$0,\$18,7
+ 214:	2013 0870 	mtc0	\$0,\$19,1
+ 218:	2013 1070 	mtc0	\$0,\$19,2
+ 21c:	2013 1870 	mtc0	\$0,\$19,3
+ 220:	2013 2070 	mtc0	\$0,\$19,4
+ 224:	2013 2870 	mtc0	\$0,\$19,5
+ 228:	2013 3070 	mtc0	\$0,\$19,6
+ 22c:	2013 3870 	mtc0	\$0,\$19,7
+ 230:	2014 0870 	mtc0	\$0,\$20,1
+ 234:	2014 1070 	mtc0	\$0,\$20,2
+ 238:	2014 1870 	mtc0	\$0,\$20,3
+ 23c:	2014 2070 	mtc0	\$0,\$20,4
+ 240:	2014 2870 	mtc0	\$0,\$20,5
+ 244:	2014 3070 	mtc0	\$0,\$20,6
+ 248:	2014 3870 	mtc0	\$0,\$20,7
+ 24c:	2015 0870 	mtc0	\$0,\$21,1
+ 250:	2015 1070 	mtc0	\$0,\$21,2
+ 254:	2015 1870 	mtc0	\$0,\$21,3
+ 258:	2015 2070 	mtc0	\$0,\$21,4
+ 25c:	2015 2870 	mtc0	\$0,\$21,5
+ 260:	2015 3070 	mtc0	\$0,\$21,6
+ 264:	2015 3870 	mtc0	\$0,\$21,7
+ 268:	2016 0870 	mtc0	\$0,\$22,1
+ 26c:	2016 1070 	mtc0	\$0,\$22,2
+ 270:	2016 1870 	mtc0	\$0,\$22,3
+ 274:	2016 2070 	mtc0	\$0,\$22,4
+ 278:	2016 2870 	mtc0	\$0,\$22,5
+ 27c:	2016 3070 	mtc0	\$0,\$22,6
+ 280:	2016 3870 	mtc0	\$0,\$22,7
+ 284:	2017 0870 	mtc0	\$0,\$23,1
+ 288:	2017 1070 	mtc0	\$0,\$23,2
+ 28c:	2017 1870 	mtc0	\$0,\$23,3
+ 290:	2017 2070 	mtc0	\$0,\$23,4
+ 294:	2017 2870 	mtc0	\$0,\$23,5
+ 298:	2017 3070 	mtc0	\$0,\$23,6
+ 29c:	2017 3870 	mtc0	\$0,\$23,7
+ 2a0:	2018 0870 	mtc0	\$0,\$24,1
+ 2a4:	2018 1070 	mtc0	\$0,\$24,2
+ 2a8:	2018 1870 	mtc0	\$0,\$24,3
+ 2ac:	2018 2070 	mtc0	\$0,\$24,4
+ 2b0:	2018 2870 	mtc0	\$0,\$24,5
+ 2b4:	2018 3070 	mtc0	\$0,\$24,6
+ 2b8:	2018 3870 	mtc0	\$0,\$24,7
+ 2bc:	2019 0870 	mtc0	\$0,\$25,1
+ 2c0:	2019 1070 	mtc0	\$0,\$25,2
+ 2c4:	2019 1870 	mtc0	\$0,\$25,3
+ 2c8:	2019 2070 	mtc0	\$0,\$25,4
+ 2cc:	2019 2870 	mtc0	\$0,\$25,5
+ 2d0:	2019 3070 	mtc0	\$0,\$25,6
+ 2d4:	2019 3870 	mtc0	\$0,\$25,7
+ 2d8:	201a 0870 	mtc0	\$0,\$26,1
+ 2dc:	201a 1070 	mtc0	\$0,\$26,2
+ 2e0:	201a 1870 	mtc0	\$0,\$26,3
+ 2e4:	201a 2070 	mtc0	\$0,\$26,4
+ 2e8:	201a 2870 	mtc0	\$0,\$26,5
+ 2ec:	201a 3070 	mtc0	\$0,\$26,6
+ 2f0:	201a 3870 	mtc0	\$0,\$26,7
+ 2f4:	201b 0870 	mtc0	\$0,\$27,1
+ 2f8:	201b 1070 	mtc0	\$0,\$27,2
+ 2fc:	201b 1870 	mtc0	\$0,\$27,3
+ 300:	201b 2070 	mtc0	\$0,\$27,4
+ 304:	201b 2870 	mtc0	\$0,\$27,5
+ 308:	201b 3070 	mtc0	\$0,\$27,6
+ 30c:	201b 3870 	mtc0	\$0,\$27,7
+ 310:	201c 0870 	mtc0	\$0,\$28,1
+ 314:	201c 1070 	mtc0	\$0,\$28,2
+ 318:	201c 1870 	mtc0	\$0,\$28,3
+ 31c:	201c 2070 	mtc0	\$0,\$28,4
+ 320:	201c 2870 	mtc0	\$0,\$28,5
+ 324:	201c 3070 	mtc0	\$0,\$28,6
+ 328:	201c 3870 	mtc0	\$0,\$28,7
+ 32c:	201d 0870 	mtc0	\$0,\$29,1
+ 330:	201d 1070 	mtc0	\$0,\$29,2
+ 334:	201d 1870 	mtc0	\$0,\$29,3
+ 338:	201d 2070 	mtc0	\$0,\$29,4
+ 33c:	201d 2870 	mtc0	\$0,\$29,5
+ 340:	201d 3070 	mtc0	\$0,\$29,6
+ 344:	201d 3870 	mtc0	\$0,\$29,7
+ 348:	201e 0870 	mtc0	\$0,\$30,1
+ 34c:	201e 1070 	mtc0	\$0,\$30,2
+ 350:	201e 1870 	mtc0	\$0,\$30,3
+ 354:	201e 2070 	mtc0	\$0,\$30,4
+ 358:	201e 2870 	mtc0	\$0,\$30,5
+ 35c:	201e 3070 	mtc0	\$0,\$30,6
+ 360:	201e 3870 	mtc0	\$0,\$30,7
+ 364:	201f 0870 	mtc0	\$0,\$31,1
+ 368:	201f 1070 	mtc0	\$0,\$31,2
+ 36c:	201f 1870 	mtc0	\$0,\$31,3
+ 370:	201f 2070 	mtc0	\$0,\$31,4
+ 374:	201f 2870 	mtc0	\$0,\$31,5
+ 378:	201f 3070 	mtc0	\$0,\$31,6
+ 37c:	201f 3870 	mtc0	\$0,\$31,7
+#pass
diff --git a/gas/testsuite/gas/nanomips/cp0sel-names.d b/gas/testsuite/gas/nanomips/cp0sel-names.d
new file mode 100644
index 00000000000..0fd8ff42392
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/cp0sel-names.d
@@ -0,0 +1,235 @@
+#objdump: -dr -M gpr-names=numeric,cp0-names=32r6
+#name: nanoMIPS CP0 with sel register disassembly
+
+# Check objdump's handling of -M cp0-names=foo options.
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+
+0+0000 <text_label>:
+   0:	2000 0870 	mtc0	\$0,mvpcontrol
+   4:	2000 1070 	mtc0	\$0,mvpconf0
+   8:	2000 1870 	mtc0	\$0,mvpconf1
+   c:	2000 2070 	mtc0	\$0,vpcontrol
+  10:	2000 2870 	mtc0	\$0,\$0,5
+  14:	2000 3070 	mtc0	\$0,\$0,6
+  18:	2000 3870 	mtc0	\$0,\$0,7
+  1c:	2001 0870 	mtc0	\$0,vpecontrol
+  20:	2001 1070 	mtc0	\$0,vpeconf0
+  24:	2001 1870 	mtc0	\$0,vpeconf1
+  28:	2001 2070 	mtc0	\$0,yqmask
+  2c:	2001 2870 	mtc0	\$0,vpeschedule
+  30:	2001 3070 	mtc0	\$0,vpeschefback
+  34:	2001 3870 	mtc0	\$0,vpeopt
+  38:	2002 0870 	mtc0	\$0,tcstatus
+  3c:	2002 1070 	mtc0	\$0,tcbind
+  40:	2002 1870 	mtc0	\$0,tcrestart
+  44:	2002 2070 	mtc0	\$0,tchalt
+  48:	2002 2870 	mtc0	\$0,tccontext
+  4c:	2002 3070 	mtc0	\$0,tcschedule
+  50:	2002 3870 	mtc0	\$0,tcschefback
+  54:	2003 0870 	mtc0	\$0,\$3,1
+  58:	2003 1070 	mtc0	\$0,\$3,2
+  5c:	2003 1870 	mtc0	\$0,\$3,3
+  60:	2003 2070 	mtc0	\$0,\$3,4
+  64:	2003 2870 	mtc0	\$0,\$3,5
+  68:	2003 3070 	mtc0	\$0,\$3,6
+  6c:	2003 3870 	mtc0	\$0,tcopt
+  70:	2004 0870 	mtc0	\$0,contextconfig
+  74:	2004 1070 	mtc0	\$0,userlocal
+  78:	2004 1870 	mtc0	\$0,xcontextconfig
+  7c:	2004 2070 	mtc0	\$0,\$4,4
+  80:	2004 2870 	mtc0	\$0,\$4,5
+  84:	2004 3070 	mtc0	\$0,\$4,6
+  88:	2004 3870 	mtc0	\$0,\$4,7
+  8c:	2005 0870 	mtc0	\$0,pagegrain
+  90:	2005 1070 	mtc0	\$0,segctl0
+  94:	2005 1870 	mtc0	\$0,segctl1
+  98:	2005 2070 	mtc0	\$0,segctl2
+  9c:	2005 2870 	mtc0	\$0,pwbase
+  a0:	2005 3070 	mtc0	\$0,pwfield
+  a4:	2005 3870 	mtc0	\$0,pwsize
+  a8:	2006 0870 	mtc0	\$0,srsconf0
+  ac:	2006 1070 	mtc0	\$0,srsconf1
+  b0:	2006 1870 	mtc0	\$0,srsconf2
+  b4:	2006 2070 	mtc0	\$0,srsconf3
+  b8:	2006 2870 	mtc0	\$0,srsconf4
+  bc:	2006 3070 	mtc0	\$0,pwctl
+  c0:	2006 3870 	mtc0	\$0,\$6,7
+  c4:	2007 0870 	mtc0	\$0,\$7,1
+  c8:	2007 1070 	mtc0	\$0,\$7,2
+  cc:	2007 1870 	mtc0	\$0,\$7,3
+  d0:	2007 2070 	mtc0	\$0,\$7,4
+  d4:	2007 2870 	mtc0	\$0,\$7,5
+  d8:	2007 3070 	mtc0	\$0,\$7,6
+  dc:	2007 3870 	mtc0	\$0,\$7,7
+  e0:	2008 0870 	mtc0	\$0,badinst
+  e4:	2008 1070 	mtc0	\$0,badinstrp
+  e8:	2008 1870 	mtc0	\$0,\$8,3
+  ec:	2008 2070 	mtc0	\$0,\$8,4
+  f0:	2008 2870 	mtc0	\$0,\$8,5
+  f4:	2008 3070 	mtc0	\$0,\$8,6
+  f8:	2008 3870 	mtc0	\$0,\$8,7
+  fc:	2009 0870 	mtc0	\$0,\$9,1
+ 100:	2009 1070 	mtc0	\$0,\$9,2
+ 104:	2009 1870 	mtc0	\$0,\$9,3
+ 108:	2009 2070 	mtc0	\$0,\$9,4
+ 10c:	2009 2870 	mtc0	\$0,\$9,5
+ 110:	2009 3070 	mtc0	\$0,\$9,6
+ 114:	2009 3870 	mtc0	\$0,\$9,7
+ 118:	200a 0870 	mtc0	\$0,\$10,1
+ 11c:	200a 1070 	mtc0	\$0,\$10,2
+ 120:	200a 1870 	mtc0	\$0,\$10,3
+ 124:	200a 2070 	mtc0	\$0,guestctl1
+ 128:	200a 2870 	mtc0	\$0,guestctl2
+ 12c:	200a 3070 	mtc0	\$0,guestctl3
+ 130:	200a 3870 	mtc0	\$0,\$10,7
+ 134:	200b 0870 	mtc0	\$0,\$11,1
+ 138:	200b 1070 	mtc0	\$0,\$11,2
+ 13c:	200b 1870 	mtc0	\$0,\$11,3
+ 140:	200b 2070 	mtc0	\$0,guestctl0ext
+ 144:	200b 2870 	mtc0	\$0,\$11,5
+ 148:	200b 3070 	mtc0	\$0,\$11,6
+ 14c:	200b 3870 	mtc0	\$0,\$11,7
+ 150:	200c 0870 	mtc0	\$0,intctl
+ 154:	200c 1070 	mtc0	\$0,srsctl
+ 158:	200c 1870 	mtc0	\$0,srsmap
+ 15c:	200c 2070 	mtc0	\$0,view_ipl
+ 160:	200c 2870 	mtc0	\$0,srsmap2
+ 164:	200c 3070 	mtc0	\$0,guestctl0
+ 168:	200c 3870 	mtc0	\$0,gtoffset
+ 16c:	200d 0870 	mtc0	\$0,\$13,1
+ 170:	200d 1070 	mtc0	\$0,\$13,2
+ 174:	200d 1870 	mtc0	\$0,\$13,3
+ 178:	200d 2070 	mtc0	\$0,view_ripl
+ 17c:	200d 2870 	mtc0	\$0,nestedexc
+ 180:	200d 3070 	mtc0	\$0,\$13,6
+ 184:	200d 3870 	mtc0	\$0,\$13,7
+ 188:	200e 0870 	mtc0	\$0,\$14,1
+ 18c:	200e 1070 	mtc0	\$0,nestedepc
+ 190:	200e 1870 	mtc0	\$0,\$14,3
+ 194:	200e 2070 	mtc0	\$0,\$14,4
+ 198:	200e 2870 	mtc0	\$0,\$14,5
+ 19c:	200e 3070 	mtc0	\$0,\$14,6
+ 1a0:	200e 3870 	mtc0	\$0,\$14,7
+ 1a4:	200f 0870 	mtc0	\$0,ebase
+ 1a8:	200f 1070 	mtc0	\$0,cdmmbase
+ 1ac:	200f 1870 	mtc0	\$0,cmgcrbase
+ 1b0:	200f 2070 	mtc0	\$0,\$15,4
+ 1b4:	200f 2870 	mtc0	\$0,\$15,5
+ 1b8:	200f 3070 	mtc0	\$0,\$15,6
+ 1bc:	200f 3870 	mtc0	\$0,\$15,7
+ 1c0:	2010 0870 	mtc0	\$0,config1
+ 1c4:	2010 1070 	mtc0	\$0,config2
+ 1c8:	2010 1870 	mtc0	\$0,config3
+ 1cc:	2010 2070 	mtc0	\$0,config4
+ 1d0:	2010 2870 	mtc0	\$0,config5
+ 1d4:	2010 3070 	mtc0	\$0,\$16,6
+ 1d8:	2010 3870 	mtc0	\$0,\$16,7
+ 1dc:	2011 0870 	mtc0	\$0,\$17,1
+ 1e0:	2011 1070 	mtc0	\$0,\$17,2
+ 1e4:	2011 1870 	mtc0	\$0,\$17,3
+ 1e8:	2011 2070 	mtc0	\$0,\$17,4
+ 1ec:	2011 2870 	mtc0	\$0,\$17,5
+ 1f0:	2011 3070 	mtc0	\$0,\$17,6
+ 1f4:	2011 3870 	mtc0	\$0,\$17,7
+ 1f8:	2012 0870 	mtc0	\$0,watchlo,1
+ 1fc:	2012 1070 	mtc0	\$0,watchlo,2
+ 200:	2012 1870 	mtc0	\$0,watchlo,3
+ 204:	2012 2070 	mtc0	\$0,watchlo,4
+ 208:	2012 2870 	mtc0	\$0,watchlo,5
+ 20c:	2012 3070 	mtc0	\$0,watchlo,6
+ 210:	2012 3870 	mtc0	\$0,watchlo,7
+ 214:	2013 0870 	mtc0	\$0,watchhi,1
+ 218:	2013 1070 	mtc0	\$0,watchhi,2
+ 21c:	2013 1870 	mtc0	\$0,watchhi,3
+ 220:	2013 2070 	mtc0	\$0,watchhi,4
+ 224:	2013 2870 	mtc0	\$0,watchhi,5
+ 228:	2013 3070 	mtc0	\$0,watchhi,6
+ 22c:	2013 3870 	mtc0	\$0,watchhi,7
+ 230:	2014 0870 	mtc0	\$0,\$20,1
+ 234:	2014 1070 	mtc0	\$0,\$20,2
+ 238:	2014 1870 	mtc0	\$0,\$20,3
+ 23c:	2014 2070 	mtc0	\$0,\$20,4
+ 240:	2014 2870 	mtc0	\$0,\$20,5
+ 244:	2014 3070 	mtc0	\$0,\$20,6
+ 248:	2014 3870 	mtc0	\$0,\$20,7
+ 24c:	2015 0870 	mtc0	\$0,\$21,1
+ 250:	2015 1070 	mtc0	\$0,\$21,2
+ 254:	2015 1870 	mtc0	\$0,\$21,3
+ 258:	2015 2070 	mtc0	\$0,\$21,4
+ 25c:	2015 2870 	mtc0	\$0,\$21,5
+ 260:	2015 3070 	mtc0	\$0,\$21,6
+ 264:	2015 3870 	mtc0	\$0,\$21,7
+ 268:	2016 0870 	mtc0	\$0,\$22,1
+ 26c:	2016 1070 	mtc0	\$0,\$22,2
+ 270:	2016 1870 	mtc0	\$0,\$22,3
+ 274:	2016 2070 	mtc0	\$0,\$22,4
+ 278:	2016 2870 	mtc0	\$0,\$22,5
+ 27c:	2016 3070 	mtc0	\$0,\$22,6
+ 280:	2016 3870 	mtc0	\$0,\$22,7
+ 284:	2017 0870 	mtc0	\$0,tracecontrol
+ 288:	2017 1070 	mtc0	\$0,tracecontrol2
+ 28c:	2017 1870 	mtc0	\$0,usertracedata1
+ 290:	2017 2070 	mtc0	\$0,traceibpc
+ 294:	2017 2870 	mtc0	\$0,tracedbpc
+ 298:	2017 3070 	mtc0	\$0,debug2
+ 29c:	2017 3870 	mtc0	\$0,\$23,7
+ 2a0:	2018 0870 	mtc0	\$0,\$24,1
+ 2a4:	2018 1070 	mtc0	\$0,tracecontrol3
+ 2a8:	2018 1870 	mtc0	\$0,usertracedata2
+ 2ac:	2018 2070 	mtc0	\$0,\$24,4
+ 2b0:	2018 2870 	mtc0	\$0,\$24,5
+ 2b4:	2018 3070 	mtc0	\$0,\$24,6
+ 2b8:	2018 3870 	mtc0	\$0,\$24,7
+ 2bc:	2019 0870 	mtc0	\$0,perfcnt,1
+ 2c0:	2019 1070 	mtc0	\$0,perfctl,2
+ 2c4:	2019 1870 	mtc0	\$0,perfcnt,3
+ 2c8:	2019 2070 	mtc0	\$0,perfctl,4
+ 2cc:	2019 2870 	mtc0	\$0,perfcnt,5
+ 2d0:	2019 3070 	mtc0	\$0,perfctl,6
+ 2d4:	2019 3870 	mtc0	\$0,perfcnt,7
+ 2d8:	201a 0870 	mtc0	\$0,\$26,1
+ 2dc:	201a 1070 	mtc0	\$0,\$26,2
+ 2e0:	201a 1870 	mtc0	\$0,\$26,3
+ 2e4:	201a 2070 	mtc0	\$0,\$26,4
+ 2e8:	201a 2870 	mtc0	\$0,\$26,5
+ 2ec:	201a 3070 	mtc0	\$0,\$26,6
+ 2f0:	201a 3870 	mtc0	\$0,\$26,7
+ 2f4:	201b 0870 	mtc0	\$0,\$27,1
+ 2f8:	201b 1070 	mtc0	\$0,\$27,2
+ 2fc:	201b 1870 	mtc0	\$0,\$27,3
+ 300:	201b 2070 	mtc0	\$0,\$27,4
+ 304:	201b 2870 	mtc0	\$0,\$27,5
+ 308:	201b 3070 	mtc0	\$0,\$27,6
+ 30c:	201b 3870 	mtc0	\$0,\$27,7
+ 310:	201c 0870 	mtc0	\$0,datalo,1
+ 314:	201c 1070 	mtc0	\$0,taglo,2
+ 318:	201c 1870 	mtc0	\$0,datalo,3
+ 31c:	201c 2070 	mtc0	\$0,taglo,4
+ 320:	201c 2870 	mtc0	\$0,datalo,5
+ 324:	201c 3070 	mtc0	\$0,taglo,6
+ 328:	201c 3870 	mtc0	\$0,datalo,7
+ 32c:	201d 0870 	mtc0	\$0,datahi,1
+ 330:	201d 1070 	mtc0	\$0,taghi,2
+ 334:	201d 1870 	mtc0	\$0,datahi,3
+ 338:	201d 2070 	mtc0	\$0,taghi,4
+ 33c:	201d 2870 	mtc0	\$0,datahi,5
+ 340:	201d 3070 	mtc0	\$0,taghi,6
+ 344:	201d 3870 	mtc0	\$0,datahi,7
+ 348:	201e 0870 	mtc0	\$0,\$30,1
+ 34c:	201e 1070 	mtc0	\$0,\$30,2
+ 350:	201e 1870 	mtc0	\$0,\$30,3
+ 354:	201e 2070 	mtc0	\$0,\$30,4
+ 358:	201e 2870 	mtc0	\$0,\$30,5
+ 35c:	201e 3070 	mtc0	\$0,\$30,6
+ 360:	201e 3870 	mtc0	\$0,\$30,7
+ 364:	201f 0870 	mtc0	\$0,\$31,1
+ 368:	201f 1070 	mtc0	\$0,kscratch1
+ 36c:	201f 1870 	mtc0	\$0,kscratch2
+ 370:	201f 2070 	mtc0	\$0,kscratch3
+ 374:	201f 2870 	mtc0	\$0,kscratch4
+ 378:	201f 3070 	mtc0	\$0,kscratch5
+ 37c:	201f 3870 	mtc0	\$0,kscratch6
+	\.\.\.
diff --git a/gas/testsuite/gas/nanomips/cp0sel-names.s b/gas/testsuite/gas/nanomips/cp0sel-names.s
new file mode 100644
index 00000000000..f65d26cc1ad
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/cp0sel-names.s
@@ -0,0 +1,236 @@
+# source file to test objdump's disassembly using various styles of
+# CP0 (w/ non-zero select code) register names.
+
+	.set noreorder
+	.set noat
+
+	.globl text_label
+	.text
+text_label:
+
+	mtc0	$0, $0, 1
+	mtc0	$0, $0, 2
+	mtc0	$0, $0, 3
+	mtc0	$0, $0, 4
+	mtc0	$0, $0, 5
+	mtc0	$0, $0, 6
+	mtc0	$0, $0, 7
+	mtc0	$0, $1, 1
+	mtc0	$0, $1, 2
+	mtc0	$0, $1, 3
+	mtc0	$0, $1, 4
+	mtc0	$0, $1, 5
+	mtc0	$0, $1, 6
+	mtc0	$0, $1, 7
+	mtc0	$0, $2, 1
+	mtc0	$0, $2, 2
+	mtc0	$0, $2, 3
+	mtc0	$0, $2, 4
+	mtc0	$0, $2, 5
+	mtc0	$0, $2, 6
+	mtc0	$0, $2, 7
+	mtc0	$0, $3, 1
+	mtc0	$0, $3, 2
+	mtc0	$0, $3, 3
+	mtc0	$0, $3, 4
+	mtc0	$0, $3, 5
+	mtc0	$0, $3, 6
+	mtc0	$0, $3, 7
+	mtc0	$0, $4, 1
+	mtc0	$0, $4, 2
+	mtc0	$0, $4, 3
+	mtc0	$0, $4, 4
+	mtc0	$0, $4, 5
+	mtc0	$0, $4, 6
+	mtc0	$0, $4, 7
+	mtc0	$0, $5, 1
+	mtc0	$0, $5, 2
+	mtc0	$0, $5, 3
+	mtc0	$0, $5, 4
+	mtc0	$0, $5, 5
+	mtc0	$0, $5, 6
+	mtc0	$0, $5, 7
+	mtc0	$0, $6, 1
+	mtc0	$0, $6, 2
+	mtc0	$0, $6, 3
+	mtc0	$0, $6, 4
+	mtc0	$0, $6, 5
+	mtc0	$0, $6, 6
+	mtc0	$0, $6, 7
+	mtc0	$0, $7, 1
+	mtc0	$0, $7, 2
+	mtc0	$0, $7, 3
+	mtc0	$0, $7, 4
+	mtc0	$0, $7, 5
+	mtc0	$0, $7, 6
+	mtc0	$0, $7, 7
+	mtc0	$0, $8, 1
+	mtc0	$0, $8, 2
+	mtc0	$0, $8, 3
+	mtc0	$0, $8, 4
+	mtc0	$0, $8, 5
+	mtc0	$0, $8, 6
+	mtc0	$0, $8, 7
+	mtc0	$0, $9, 1
+	mtc0	$0, $9, 2
+	mtc0	$0, $9, 3
+	mtc0	$0, $9, 4
+	mtc0	$0, $9, 5
+	mtc0	$0, $9, 6
+	mtc0	$0, $9, 7
+	mtc0	$0, $10, 1
+	mtc0	$0, $10, 2
+	mtc0	$0, $10, 3
+	mtc0	$0, $10, 4
+	mtc0	$0, $10, 5
+	mtc0	$0, $10, 6
+	mtc0	$0, $10, 7
+	mtc0	$0, $11, 1
+	mtc0	$0, $11, 2
+	mtc0	$0, $11, 3
+	mtc0	$0, $11, 4
+	mtc0	$0, $11, 5
+	mtc0	$0, $11, 6
+	mtc0	$0, $11, 7
+	mtc0	$0, $12, 1
+	mtc0	$0, $12, 2
+	mtc0	$0, $12, 3
+	mtc0	$0, $12, 4
+	mtc0	$0, $12, 5
+	mtc0	$0, $12, 6
+	mtc0	$0, $12, 7
+	mtc0	$0, $13, 1
+	mtc0	$0, $13, 2
+	mtc0	$0, $13, 3
+	mtc0	$0, $13, 4
+	mtc0	$0, $13, 5
+	mtc0	$0, $13, 6
+	mtc0	$0, $13, 7
+	mtc0	$0, $14, 1
+	mtc0	$0, $14, 2
+	mtc0	$0, $14, 3
+	mtc0	$0, $14, 4
+	mtc0	$0, $14, 5
+	mtc0	$0, $14, 6
+	mtc0	$0, $14, 7
+	mtc0	$0, $15, 1
+	mtc0	$0, $15, 2
+	mtc0	$0, $15, 3
+	mtc0	$0, $15, 4
+	mtc0	$0, $15, 5
+	mtc0	$0, $15, 6
+	mtc0	$0, $15, 7
+	mtc0	$0, $16, 1
+	mtc0	$0, $16, 2
+	mtc0	$0, $16, 3
+	mtc0	$0, $16, 4
+	mtc0	$0, $16, 5
+	mtc0	$0, $16, 6
+	mtc0	$0, $16, 7
+	mtc0	$0, $17, 1
+	mtc0	$0, $17, 2
+	mtc0	$0, $17, 3
+	mtc0	$0, $17, 4
+	mtc0	$0, $17, 5
+	mtc0	$0, $17, 6
+	mtc0	$0, $17, 7
+	mtc0	$0, $18, 1
+	mtc0	$0, $18, 2
+	mtc0	$0, $18, 3
+	mtc0	$0, $18, 4
+	mtc0	$0, $18, 5
+	mtc0	$0, $18, 6
+	mtc0	$0, $18, 7
+	mtc0	$0, $19, 1
+	mtc0	$0, $19, 2
+	mtc0	$0, $19, 3
+	mtc0	$0, $19, 4
+	mtc0	$0, $19, 5
+	mtc0	$0, $19, 6
+	mtc0	$0, $19, 7
+	mtc0	$0, $20, 1
+	mtc0	$0, $20, 2
+	mtc0	$0, $20, 3
+	mtc0	$0, $20, 4
+	mtc0	$0, $20, 5
+	mtc0	$0, $20, 6
+	mtc0	$0, $20, 7
+	mtc0	$0, $21, 1
+	mtc0	$0, $21, 2
+	mtc0	$0, $21, 3
+	mtc0	$0, $21, 4
+	mtc0	$0, $21, 5
+	mtc0	$0, $21, 6
+	mtc0	$0, $21, 7
+	mtc0	$0, $22, 1
+	mtc0	$0, $22, 2
+	mtc0	$0, $22, 3
+	mtc0	$0, $22, 4
+	mtc0	$0, $22, 5
+	mtc0	$0, $22, 6
+	mtc0	$0, $22, 7
+	mtc0	$0, $23, 1
+	mtc0	$0, $23, 2
+	mtc0	$0, $23, 3
+	mtc0	$0, $23, 4
+	mtc0	$0, $23, 5
+	mtc0	$0, $23, 6
+	mtc0	$0, $23, 7
+	mtc0	$0, $24, 1
+	mtc0	$0, $24, 2
+	mtc0	$0, $24, 3
+	mtc0	$0, $24, 4
+	mtc0	$0, $24, 5
+	mtc0	$0, $24, 6
+	mtc0	$0, $24, 7
+	mtc0	$0, $25, 1
+	mtc0	$0, $25, 2
+	mtc0	$0, $25, 3
+	mtc0	$0, $25, 4
+	mtc0	$0, $25, 5
+	mtc0	$0, $25, 6
+	mtc0	$0, $25, 7
+	mtc0	$0, $26, 1
+	mtc0	$0, $26, 2
+	mtc0	$0, $26, 3
+	mtc0	$0, $26, 4
+	mtc0	$0, $26, 5
+	mtc0	$0, $26, 6
+	mtc0	$0, $26, 7
+	mtc0	$0, $27, 1
+	mtc0	$0, $27, 2
+	mtc0	$0, $27, 3
+	mtc0	$0, $27, 4
+	mtc0	$0, $27, 5
+	mtc0	$0, $27, 6
+	mtc0	$0, $27, 7
+	mtc0	$0, $28, 1
+	mtc0	$0, $28, 2
+	mtc0	$0, $28, 3
+	mtc0	$0, $28, 4
+	mtc0	$0, $28, 5
+	mtc0	$0, $28, 6
+	mtc0	$0, $28, 7
+	mtc0	$0, $29, 1
+	mtc0	$0, $29, 2
+	mtc0	$0, $29, 3
+	mtc0	$0, $29, 4
+	mtc0	$0, $29, 5
+	mtc0	$0, $29, 6
+	mtc0	$0, $29, 7
+	mtc0	$0, $30, 1
+	mtc0	$0, $30, 2
+	mtc0	$0, $30, 3
+	mtc0	$0, $30, 4
+	mtc0	$0, $30, 5
+	mtc0	$0, $30, 6
+	mtc0	$0, $30, 7
+	mtc0	$0, $31, 1
+	mtc0	$0, $31, 2
+	mtc0	$0, $31, 3
+	mtc0	$0, $31, 4
+	mtc0	$0, $31, 5
+	mtc0	$0, $31, 6
+	mtc0	$0, $31, 7
+
+	.space  8
diff --git a/gas/testsuite/gas/nanomips/ctc.d b/gas/testsuite/gas/nanomips/ctc.d
new file mode 100644
index 00000000000..546e3b10fa3
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/ctc.d
@@ -0,0 +1,87 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: nanoMIPS CTC instructions
+
+# Check nanoMIPS convert-to-compact branch instructions
+
+.*: +file format .*nanomips.*
+
+Disassembly of section .text:
+[0-9a-f]+ <[^>]*> 1800      	bc	[0-9a-f]+ <[^>]+>
+			0: R_NANOMIPS_PC10_S1	.L1\^B1
+[0-9a-f]+ <[^>]*> 1800      	bc	[0-9a-f]+ <[^>]+>
+			2: R_NANOMIPS_PC10_S1	.L1\^B1
+[0-9a-f]+ <[^>]*> 2800 0000 	bc	[0-9a-f]+ <[^>]+>
+			4: R_NANOMIPS_PC25_S1	.L1\^B1
+[0-9a-f]+ <[^>]*> 3800      	balc	[0-9a-f]+ <[^>]+>
+			8: R_NANOMIPS_PC10_S1	.L1\^B1
+[0-9a-f]+ <[^>]*> 8a40 0000 	beqzc	s2,[0-9a-f]+ <[^>]+>
+			a: R_NANOMIPS_PC14_S1	.L1\^B1
+[0-9a-f]+ <[^>]*> 8a40 0000 	beqzc	s2,[0-9a-f]+ <[^>]+>
+			e: R_NANOMIPS_PC14_S1	.L1\^B1
+[0-9a-f]+ <[^>]*> 9900      	beqzc	s2,[0-9a-f]+ <[^>]+>
+			12: R_NANOMIPS_PC7_S1	.L1\^B1
+[0-9a-f]+ <[^>]*> da3f      	beqc	s3,a0,[0-9a-f]+ <[^>]+>
+			14: R_NANOMIPS_PC4_S1	ext
+[0-9a-f]+ <[^>]*> da3f      	beqc	s3,a0,[0-9a-f]+ <[^>]+>
+			16: R_NANOMIPS_PC4_S1	ext
+[0-9a-f]+ <[^>]*> 8a60 0000 	beqzc	s3,[0-9a-f]+ <[^>]+>
+			18: R_NANOMIPS_PC14_S1	ext
+[0-9a-f]+ <[^>]*> 8a60 0000 	beqzc	s3,[0-9a-f]+ <[^>]+>
+			1c: R_NANOMIPS_PC14_S1	ext
+[0-9a-f]+ <[^>]*> 8a72 0000 	beqc	s2,s3,[0-9a-f]+ <[^>]+>
+			20: R_NANOMIPS_PC14_S1	ext
+[0-9a-f]+ <[^>]*> 8a72 0000 	beqc	s2,s3,[0-9a-f]+ <[^>]+>
+			24: R_NANOMIPS_PC14_S1	ext
+[0-9a-f]+ <[^>]*> 9980      	beqzc	s3,[0-9a-f]+ <[^>]+>
+			28: R_NANOMIPS_PC7_S1	ext
+[0-9a-f]+ <[^>]*> 8a60 0000 	beqzc	s3,[0-9a-f]+ <[^>]+>
+			2a: R_NANOMIPS_PC14_S1	ext
+[0-9a-f]+ <[^>]*> b900      	bnezc	s2,[0-9a-f]+ <[^>]+>
+			2e: R_NANOMIPS_PC7_S1	.L1\^B1
+[0-9a-f]+ <[^>]*> aa40 0000 	bnezc	s2,[0-9a-f]+ <[^>]+>
+			30: R_NANOMIPS_PC14_S1	.L1\^B1
+[0-9a-f]+ <[^>]*> b900      	bnezc	s2,[0-9a-f]+ <[^>]+>
+			34: R_NANOMIPS_PC7_S1	.L1\^B1
+[0-9a-f]+ <[^>]*> d9cf      	bnec	a0,s3,[0-9a-f]+ <[^>]+>
+			36: R_NANOMIPS_PC4_S1	ext
+[0-9a-f]+ <[^>]*> d9cf      	bnec	a0,s3,[0-9a-f]+ <[^>]+>
+			38: R_NANOMIPS_PC4_S1	ext
+[0-9a-f]+ <[^>]*> aa60 0000 	bnezc	s3,[0-9a-f]+ <[^>]+>
+			3a: R_NANOMIPS_PC14_S1	ext
+[0-9a-f]+ <[^>]*> aa60 0000 	bnezc	s3,[0-9a-f]+ <[^>]+>
+			3e: R_NANOMIPS_PC14_S1	ext
+[0-9a-f]+ <[^>]*> aa53 0000 	bnec	s3,s2,[0-9a-f]+ <[^>]+>
+			42: R_NANOMIPS_PC14_S1	ext
+[0-9a-f]+ <[^>]*> aa53 0000 	bnec	s3,s2,[0-9a-f]+ <[^>]+>
+			46: R_NANOMIPS_PC14_S1	ext
+[0-9a-f]+ <[^>]*> b980      	bnezc	s3,[0-9a-f]+ <[^>]+>
+			4a: R_NANOMIPS_PC7_S1	ext
+[0-9a-f]+ <[^>]*> aa60 0000 	bnezc	s3,[0-9a-f]+ <[^>]+>
+			4c: R_NANOMIPS_PC14_S1	ext
+[0-9a-f]+ <[^>]*> 8812 8000 	bgezc	s2,[0-9a-f]+ <[^>]+>
+			50: R_NANOMIPS_PC14_S1	ext
+[0-9a-f]+ <[^>]*> a812 8000 	bltzc	s2,[0-9a-f]+ <[^>]+>
+			54: R_NANOMIPS_PC14_S1	ext
+[0-9a-f]+ <[^>]*> d880      	jrc	a0
+[0-9a-f]+ <[^>]*> d840      	jrc	t4
+[0-9a-f]+ <[^>]*> 4802 0000 	jrc	t4
+[0-9a-f]+ <[^>]*> 2800 0000 	bc	[0-9a-f]+ <[^>]+>
+			60: R_NANOMIPS_PC25_S1	.L1\^B1
+[0-9a-f]+ <[^>]*> 2800 0000 	bc	[0-9a-f]+ <[^>]*>
+			64: R_NANOMIPS_PC25_S1	\*ABS\*\+0x100
+[0-9a-f]+ <[^>]*> 2a00 0000 	balc	[0-9a-f]+ <[^>]+>
+			68: R_NANOMIPS_PC25_S1	.L1\^B1
+[0-9a-f]+ <[^>]*> 4804 0000 	jrc	a0
+[0-9a-f]+ <[^>]*> 4804 0000 	jrc	a0
+[0-9a-f]+ <[^>]*> d890      	jalrc	a0
+[0-9a-f]+ <[^>]*> 4be4 0000 	jalrc	a0
+[0-9a-f]+ <[^>]*> 4885 0000 	jalrc	a0,a1
+[0-9a-f]+ <[^>]*> 4885 0000 	jalrc	a0,a1
+[0-9a-f]+ <[^>]*> d850      	jalrc	t4
+[0-9a-f]+ <[^>]*> d850      	jalrc	t4
+[0-9a-f]+ <[^>]*> d850      	jalrc	t4
+[0-9a-f]+ <[^>]*> 4804 1000 	jrc.hb	a0
+[0-9a-f]+ <[^>]*> 4be4 1000 	jalrc.hb	a0
+[0-9a-f]+ <[^>]*> 4885 1000 	jalrc.hb	a0,a1
+[0-9a-f]+ <[^>]*> 9008      	nop
+#pass
diff --git a/gas/testsuite/gas/nanomips/ctc.s b/gas/testsuite/gas/nanomips/ctc.s
new file mode 100644
index 00000000000..ec778949860
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/ctc.s
@@ -0,0 +1,66 @@
+	.text
+	.set reorder
+reorder:
+	b 1f			# bc16
+	b16 1f			# bc16
+	b32 1f			# bc32 (pre-r6 beq32)
+
+	bal 1f			# balc
+
+	beqz	$s2,1f		# beqzc16 s2,1f [PC7]
+	beqz32 	$s2,1f		# beqzc32 s2,1f
+	beqz16 	$s2,1f		# beqzc16 s2,1f
+
+	beq16	$s3,$a0,ext	# beqzc16 s3,ext [PC7]
+	beq16	$a0,$s3,ext	# beqzc16 s3,ext
+	beq	$s3,$zero,ext	# beqzc s3,ext [PC21]
+	beq	$zero,$s3,ext	# beqzc s3,ext
+	beq	$s3,$s2,ext	# beqc s2,s3,ext [PC16]
+	beq	$s2,$s3,ext	# beqc s2,s3,ext
+	beqz16	$s3,ext		# beqzc16 s3,ext [PC7]
+	beqzc	$s3, ext	# beqzc s3, ext [new reloc=PC21]
+
+	bnez	$s2, 1f		# bnezc16 s2, 1f [PC7]
+	bnez32	$s2, 1f		# bnezc32 s2, 1f [PC7]
+	bnez16 	$s2, 1f		# bnezc16 s2, 1f
+
+	bne16	$s3, $a0, ext	# bnezc16 s3, ext [PC7]
+	bne16	$a0, $s3, ext	# bnezc16 s3, ext
+	bne	$s3, $zero, ext	# bnezc s3, ext [PC21]
+	bne	$zero, $s3, ext	# bnezc s3, ext [PC21]
+	bne	$s3, $s2, ext	# bnec s2, s3, ext [PC16]
+	bne	$s2, $s3, ext	# bnec s2, s3, ext
+	bnez16	$s3, ext	# bnezc16 s3, ext [PC7]
+	bnezc	$s3, ext	# bnezc s3, ext [new reloc=PC21]
+
+	bgez	$s2,  ext	# bgezc s2, ext
+	bltz	$s2,  ext	# bgezc s2, ext
+
+	j16	$a0		# jrc16 a0
+	jr	$t4		# jrc16 t4
+
+	jrc32	$t4		# jic t4, 0
+	j	1f		# bc32
+	j	0x100		# bc32
+
+	jal 	1f		# balc
+
+	j32	$a0		# jic a0, 0
+	jr32	$a0		# jic a0, 0
+
+	jalr	$a0		# jalrc16 a0
+
+	jalr32	$a0		# jalrc a0
+	jalr	$a0, $a1	# jalrc a0, a1
+	jalr32	$a0, $a1	# jalrc a0, a1
+
+	jalr	$t4		# jalrc16 t4
+	jalr16	$t4		# jalrc16 t4
+
+	jalr16	$ra, $t4	# jalrc16 t4
+	jr.hb $a0		# jrc.hb a0
+	jalr.hb $a0		# jalrc.hb a0
+	jalr.hb $a0, $a1	# jalrc.hb a0, a1
+
+1:
+	nop
diff --git a/gas/testsuite/gas/nanomips/debug-dis.d b/gas/testsuite/gas/nanomips/debug-dis.d
new file mode 100644
index 00000000000..e430f5f94d5
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/debug-dis.d
@@ -0,0 +1,18 @@
+#objdump: -dr
+#name: nanoMIPS disassembly with debug location info
+
+.*:     file format .*
+
+Disassembly of section \.text:
+
+00000000 <foo>:
+   0:	1800      	bc	0 <foo>
+			0: R_NANOMIPS_PC10_S1	foo
+
+00000002 <.L4>:
+   2:	9008      	nop
+
+00000004 <b>:
+   4:	0000 0000 	.*
+			4: R_NANOMIPS_32	\.L4
+#pass
diff --git a/gas/testsuite/gas/nanomips/debug-dis.s b/gas/testsuite/gas/nanomips/debug-dis.s
new file mode 100644
index 00000000000..052bf863925
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/debug-dis.s
@@ -0,0 +1,12 @@
+# Test disassembly with debug location info
+	.file 1 "debug-dis.s"
+	.text
+foo:
+	.loc 1 10 0
+.L3:
+	b foo
+.L4:
+	nop
+	.loc 1 20 0
+b:
+	.word .L4  # this should remain symbol-relative.
diff --git a/gas/testsuite/gas/nanomips/div.d b/gas/testsuite/gas/nanomips/div.d
new file mode 100644
index 00000000000..eccc359104c
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/div.d
@@ -0,0 +1,45 @@
+#objdump: -dr --no-show-raw-insn -mnanomips:isa64r6
+#name: nanoMIPS div
+
+# Test the div macro.
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+
+00000000 <foo>:
+   0:	div	zero,a0,a1
+   4:	div	a0,a0,a1
+   8:	div	a0,a1,a2
+   c:	move	a0,a0
+   e:	move	a0,a1
+  10:	neg	a0,a0
+  14:	neg	a0,a1
+  18:	li	at,2
+  1c:	div	a0,a0,at
+  20:	li	at,2
+  24:	div	a0,a1,at
+  28:	li	at,32768
+  2c:	div	a0,a0,at
+  30:	li	at,32768
+  34:	div	a0,a1,at
+  38:	lui	at,%hi\(0xffff8000\)
+  3c:	div	a0,a0,at
+  40:	lui	at,%hi\(0xffff8000\)
+  44:	div	a0,a1,at
+  48:	lui	at,%hi\(0x10000\)
+  4c:	div	a0,a0,at
+  50:	lui	at,%hi\(0x10000\)
+  54:	div	a0,a1,at
+  58:	li	at,0x1a5a5
+  5e:	div	a0,a0,at
+  62:	li	at,0x1a5a5
+  68:	div	a0,a1,at
+  6c:	divu	zero,a0,a1
+  70:	divu	a0,a0,a1
+  74:	divu	a0,a1,a2
+  78:	move	a0,a0
+  7a:	mod	a0,a1,a2
+  7e:	li	at,2
+  82:	modu	a0,a1,at
+#pass
diff --git a/gas/testsuite/gas/nanomips/div.s b/gas/testsuite/gas/nanomips/div.s
new file mode 100644
index 00000000000..c241c7a46d7
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/div.s
@@ -0,0 +1,31 @@
+
+	# Source file used to test the div macro.
+foo:
+	div	$0,$4,$5
+	div	$4,$5
+	div	$4,$5,$6
+	div	$4,1
+	div	$4,$5,1
+	div	$4,-1
+	div	$4,$5,-1
+	div	$4,2
+	div	$4,$5,2
+	div	$4,0x8000
+	div	$4,$5,0x8000
+	div	$4,-0x8000
+	div	$4,$5,-0x8000
+	div	$4,0x10000
+	div	$4,$5,0x10000
+	div	$4,0x1a5a5
+	div	$4,$5,0x1a5a5
+
+# divu is like div, except when both arguments are registers.
+# Just sanity check it otherwise.
+	divu	$0,$4,$5
+	divu	$4,$5
+	divu	$4,$5,$6
+	divu	$4,1
+
+# mod is like div, modu is like divu
+	mod	$4,$5,$6
+	modu	$4,$5,2
diff --git a/gas/testsuite/gas/nanomips/empty.s b/gas/testsuite/gas/nanomips/empty.s
new file mode 100644
index 00000000000..f30bd3cc93c
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/empty.s
@@ -0,0 +1,3 @@
+# An empty source file for tests that need no instructions.
+
+	# No actual contents necessary!
diff --git a/gas/testsuite/gas/nanomips/expr-const.d b/gas/testsuite/gas/nanomips/expr-const.d
new file mode 100644
index 00000000000..2793e37502b
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/expr-const.d
@@ -0,0 +1,11 @@
+#name: Constant expression evaluation
+#objdump: -sj.text
+
+.*:     file format .*nanomips.*
+
+Contents of section \.text:
+ 0000 00000000 00000127 00000020 011fdd00.*
+ 0010 00000000 0000000e 00000001 0006f600.*
+ 0020 00000000 00000016 00000001 fffc0300.*
+ 0030 00000000 00000127 00000000 00000127.*
+ 0040 00000001 00000001 00000001 00000001.*
diff --git a/gas/testsuite/gas/nanomips/expr-const.s b/gas/testsuite/gas/nanomips/expr-const.s
new file mode 100644
index 00000000000..bd65a951646
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/expr-const.s
@@ -0,0 +1,24 @@
+# Check that general const expression evaluations work as expected
+# after introducing special handling for expressions as relocations.
+
+	.text
+	.equ sym1,10
+	.equ sym2,8
+test:
+	.dword (0x123 + 4)
+	.word (0x100 >> 3)
+	.hword (0x123 - 4)
+	.byte (0x100 - 0x123)
+
+	.dword (sym1 + 4)
+	.word (sym1 >> 3)
+	.hword (sym1 - 4)
+	.byte (0x100 - sym1)
+
+	.dword ((sym1 + sym2) + 4)
+	.word ((sym1 + 1) >> 3)
+	.hword ((sym1 >> 4) - 4)
+	.byte (0x1 + (sym1 - sym2))
+
+	.dword (0x123 + 4):2
+	.word ((sym1 + 1) >> 3):4
diff --git a/gas/testsuite/gas/nanomips/expr-ill.l b/gas/testsuite/gas/nanomips/expr-ill.l
new file mode 100644
index 00000000000..8e89a9aafc8
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/expr-ill.l
@@ -0,0 +1,7 @@
+.*expr-ill.s: Assembler messages:
+.*expr-ill.s:16: Error: Expression too complex to relocate!
+.*expr-ill.s:17: Error: Expression too complex to relocate!
+.*expr-ill.s:18: Error: Expression too complex to relocate!
+.*expr-ill.s:19: Warning: unresolvable or nonpositive repeat count; using 1
+.*expr-ill.s:20: Warning: unresolvable or nonpositive repeat count; using 1
+#pass
diff --git a/gas/testsuite/gas/nanomips/expr-ill.s b/gas/testsuite/gas/nanomips/expr-ill.s
new file mode 100644
index 00000000000..830d6ff3b13
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/expr-ill.s
@@ -0,0 +1,20 @@
+# Test representation of various symbolic expressions as relocations.
+# This only works for PABI currently.
+
+	.text
+	.linkrelax
+foo:
+	jrc $a0
+.L3:
+	nop
+.L4:
+	bc .L3
+.L2:
+	jrc $ra
+
+b:
+	.word	(.L4 - .L2) - .L3
+	.word	.L3 >> .L4
+	.word	(.L2 >> 1) + 3
+	.word	(.L2 >> 1):-2
+	.word	(.L2 >> 1):.L3
diff --git a/gas/testsuite/gas/nanomips/expr-sym.d b/gas/testsuite/gas/nanomips/expr-sym.d
new file mode 100644
index 00000000000..ceed202d4f3
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/expr-sym.d
@@ -0,0 +1,71 @@
+#name: Symbolic expression evaluation on nanoMIPS
+#DUMPPROG: readelf
+#readelf: -Wr
+#source: expr-sym.s
+
+#...
+Relocation section '\.rela\.data' at offset 0x[0-9a-f]+ contains 62 entries:
+ Offset     Info    Type                Sym\. Value  Symbol's Name \+ Addend
+00000000  [0-9a-f]+01 R_NANOMIPS_32          00000010   \.L2 \+ 0
+00000004  [0-9a-f]+01 R_NANOMIPS_32          00000010   \.L2 \+ 0
+00000008  [0-9a-f]+07 R_NANOMIPS_UNSIGNED_16 00000000   \.L3 \+ 0
+0000000a  [0-9a-f]+05 R_NANOMIPS_UNSIGNED_8  00000004   \.L4 \+ 0
+0000000c  [0-9a-f]+01 R_NANOMIPS_32          00000010   \.L2 \+ 2
+00000010  [0-9a-f]+07 R_NANOMIPS_UNSIGNED_16 00000000   \.L3 - 3
+00000012  [0-9a-f]+05 R_NANOMIPS_UNSIGNED_8  00000004   \.L4 - 6
+00000014  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1   00000010   \.L2 \+ 0
+00000014  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1              0
+00000014  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1              0
+00000014  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1              0
+00000018  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1   00000000   \.L3 - a
+00000018  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1              0
+00000018  [0-9a-f]+07 R_NANOMIPS_UNSIGNED_16            0
+0000001a  [0-9a-f]+03 R_NANOMIPS_NEG         00000004   \.L4 \+ 0
+0000001a  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1   00000010   \.L2 \+ 0
+0000001a  [0-9a-f]+05 R_NANOMIPS_UNSIGNED_8             0
+0000001c  [0-9a-f]+03 R_NANOMIPS_NEG         00000000   \.L3 \+ 0
+0000001c  [0-9a-f]+01 R_NANOMIPS_32          00000010   \.L2 \+ 0
+00000020  [0-9a-f]+03 R_NANOMIPS_NEG         00000004   \.L4 \+ 4
+00000020  [0-9a-f]+07 R_NANOMIPS_UNSIGNED_16 00000010   \.L2 \+ 0
+00000022  [0-9a-f]+03 R_NANOMIPS_NEG         00000004   \.L4 - a
+00000022  [0-9a-f]+05 R_NANOMIPS_UNSIGNED_8  00000000   \.L3 \+ 0
+00000024  [0-9a-f]+03 R_NANOMIPS_NEG         00000010   \.L2 \- 3
+00000024  [0-9a-f]+01 R_NANOMIPS_32          00000004   \.L4 \+ 0
+00000028  [0-9a-f]+03 R_NANOMIPS_NEG         00000000   \.L3 \- 5
+00000028  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1   00000004   \.L4 \+ 0
+00000028  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1              0
+00000028  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1              0
+0000002c  [0-9a-f]+03 R_NANOMIPS_NEG         00000004   \.L4 - 6
+0000002c  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1              0
+0000002c  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1              0
+0000002c  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1              0
+0000002c  [0-9a-f]+07 R_NANOMIPS_UNSIGNED_16 00000000   \.L3 \+ 0
+0000002e  [0-9a-f]+03 R_NANOMIPS_NEG         00000010   \.L2 - 7
+0000002e  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1              0
+0000002e  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1              0
+0000002e  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1              0
+0000002e  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1   00000000   \.L3 \+ 0
+0000002e  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1              0
+0000002e  [0-9a-f]+05 R_NANOMIPS_UNSIGNED_8             0
+0000002f  [0-9a-f]+03 R_NANOMIPS_NEG         00000010   \.L2 - 7
+0000002f  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1              0
+0000002f  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1              0
+0000002f  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1              0
+0000002f  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1   00000000   \.L3 \+ 0
+0000002f  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1              0
+0000002f  [0-9a-f]+05 R_NANOMIPS_UNSIGNED_8             0
+00000030  [0-9a-f]+03 R_NANOMIPS_NEG         00000010   \.L2 \- 7
+00000030  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1              0
+00000030  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1              0
+00000030  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1              0
+00000030  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1   00000000   \.L3 \+ 0
+00000030  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1              0
+00000030  [0-9a-f]+05 R_NANOMIPS_UNSIGNED_8             0
+00000032  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1   00000004   \.L4 \+ 6
+00000032  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1              0
+00000032  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1              0
+00000032  [0-9a-f]+08 R_NANOMIPS_SIGNED_16              0
+00000034  [0-9a-f]+03 R_NANOMIPS_NEG         00000010   \.L2 \+ 0
+00000034  [0-9a-f]+04 R_NANOMIPS_ASHIFTR_1   00000000   \.L3 \+ 0
+00000034  [0-9a-f]+06 R_NANOMIPS_SIGNED_8               0
+#pass
diff --git a/gas/testsuite/gas/nanomips/expr-sym.s b/gas/testsuite/gas/nanomips/expr-sym.s
new file mode 100644
index 00000000000..52ae0faf970
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/expr-sym.s
@@ -0,0 +1,36 @@
+# Test representation of various symbolic expressions as relocations.
+# This only works for PABI currently.
+
+	.text
+	.linkrelax
+foo:
+.L3:
+	bal foo1
+.L4:
+	addiu	$t4, $gp,%gprel(foo)
+.L2:
+	.align 4
+	.data
+b:
+	.word	.L2:2
+	.hword	.L3
+	.byte	.L4
+
+	.word	.L2 + 2
+	.hword	.L3 - 3
+	.byte	(.L4 + 4) - 10
+
+	.word	.L2 >> 4
+	.hword	(.L3 - 10) >> 2
+	.byte	(.L2 - .L4) >> 1
+
+	.word	(.L2 - .L3)
+	.hword	(.L2 + 4) - .L4
+	.byte	(.L3 - 10) - .L4
+
+	.word	.L4 - (.L2 + 3)
+	.word	(.L4 - (.L3 + 5)) >> 3
+	.hword	.L3 - ((.L4 + 6) >> 3)
+	.byte	((.L3 - ((.L2 + 7) >> 3)) >> 2):3
+	.shword	(.L4 + 6) >> 3
+	.sbyte	(.L3 - .L2) >> 1
diff --git a/gas/testsuite/gas/nanomips/expr-vol.d b/gas/testsuite/gas/nanomips/expr-vol.d
new file mode 100644
index 00000000000..bd86ff07dbe
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/expr-vol.d
@@ -0,0 +1,17 @@
+#objdump: -dr --show-raw-insn
+#name: Expressions with volatile labels on nanoMIPS
+
+.*\.o: +file format .*nanomips.*
+
+Disassembly of section \.text:
+
+[0-9a-f]+ <test>:
+   0:	9008      	nop
+
+[0-9a-f]+ <\$LVL2>:
+   2:	90e9      	addiu	a3,a3,1
+
+[0-9a-f]+ <\$LVL3>:
+   4:	0200 00e8 	li	s0,232
+   8:	dbe0      	jrc	ra
+#pass
\ No newline at end of file
diff --git a/gas/testsuite/gas/nanomips/expr-vol.s b/gas/testsuite/gas/nanomips/expr-vol.s
new file mode 100644
index 00000000000..ae6038d8d26
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/expr-vol.s
@@ -0,0 +1,17 @@
+/* verify disassembly with local volatile labels.  */
+
+	.text
+	.ent	test
+test:
+	nop
+$LVL2 = .
+	addiu	$a3,$a3,1
+$L2:
+$LVL3 = .
+	li	$s0,232
+	jrc	$ra
+	.end	test
+
+	.data
+.word $LVL3
+.word $LVL2
diff --git a/gas/testsuite/gas/nanomips/expr1.d b/gas/testsuite/gas/nanomips/expr1.d
new file mode 100644
index 00000000000..b4f81edae5f
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/expr1.d
@@ -0,0 +1,18 @@
+#name: nanoMIPS expression 1
+#objdump: -dr
+
+.*:     file format .*
+
+Disassembly of section \.text:
+
+0+0000 <foo>:
+   0:	8484 8000 	lw	a0,0\(a0\)
+			0: R_NANOMIPS_LO12	foo
+   4:	164e      	lw	a0,56\(a0\)
+   6:	8484 8000 	lw	a0,0\(a0\)
+			6: R_NANOMIPS_LO12	foo\+0x8
+   a:	8484 8000 	lw	a0,0\(a0\)
+			a: R_NANOMIPS_LO12	foo\+0x8
+   e:	8484 8000 	lw	a0,0\(a0\)
+			e: R_NANOMIPS_LO12	foo\+0x8
+#pass
diff --git a/gas/testsuite/gas/nanomips/expr1.s b/gas/testsuite/gas/nanomips/expr1.s
new file mode 100644
index 00000000000..71c46231ac8
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/expr1.s
@@ -0,0 +1,9 @@
+	.globl	foo
+	.ent	foo
+foo:
+	lw	$4,%lo(foo)($4)
+	lw	$4,((10 + 4) * 4)($4)
+	lw	$4,%lo (2 * 4) + foo($4)
+	lw	$4,%lo((2 * 4) + foo)($4)
+	lw	$4,(((%lo ((2 * 4) + foo))))($4)
+	.end	foo
diff --git a/gas/testsuite/gas/nanomips/gpr-names-numeric.d b/gas/testsuite/gas/nanomips/gpr-names-numeric.d
new file mode 100644
index 00000000000..b4f9ad028f5
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/gpr-names-numeric.d
@@ -0,0 +1,44 @@
+#objdump: -dr --no-show-raw-insn -M gpr-names=numeric
+#name: nanoMIPS GPR disassembly (numeric)
+#source: gpr-names.s
+
+# Check objdump's handling of -M gpr-names=foo options.
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+
+00000000 <text_label>:
+   0:	lui	\$0,0x0
+   4:	lui	\$1,0x0
+   8:	lui	\$2,0x0
+   c:	lui	\$3,0x0
+  10:	lui	\$4,0x0
+  14:	lui	\$5,0x0
+  18:	lui	\$6,0x0
+  1c:	lui	\$7,0x0
+  20:	lui	\$8,0x0
+  24:	lui	\$9,0x0
+  28:	lui	\$10,0x0
+  2c:	lui	\$11,0x0
+  30:	lui	\$12,0x0
+  34:	lui	\$13,0x0
+  38:	lui	\$14,0x0
+  3c:	lui	\$15,0x0
+  40:	lui	\$16,0x0
+  44:	lui	\$17,0x0
+  48:	lui	\$18,0x0
+  4c:	lui	\$19,0x0
+  50:	lui	\$20,0x0
+  54:	lui	\$21,0x0
+  58:	lui	\$22,0x0
+  5c:	lui	\$23,0x0
+  60:	lui	\$24,0x0
+  64:	lui	\$25,0x0
+  68:	lui	\$26,0x0
+  6c:	lui	\$27,0x0
+  70:	lui	\$28,0x0
+  74:	lui	\$29,0x0
+  78:	lui	\$30,0x0
+  7c:	lui	\$31,0x0
+#pass
diff --git a/gas/testsuite/gas/nanomips/gpr-names.d b/gas/testsuite/gas/nanomips/gpr-names.d
new file mode 100644
index 00000000000..6b922d084a0
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/gpr-names.d
@@ -0,0 +1,44 @@
+#objdump: -dr --no-show-raw-insn -M gpr-names=32
+#name: nanoMIPS GPR disassembly
+#source: gpr-names.s
+
+# Check objdump's handling of -M gpr-names=foo options.
+
+.*: +file format .*nanomips.*
+
+Disassembly of section .text:
+
+00000000 <text_label>:
+   0:	lui	zero,0x0
+   4:	lui	at,0x0
+   8:	lui	t4,0x0
+   c:	lui	t5,0x0
+  10:	lui	a0,0x0
+  14:	lui	a1,0x0
+  18:	lui	a2,0x0
+  1c:	lui	a3,0x0
+  20:	lui	a4,0x0
+  24:	lui	a5,0x0
+  28:	lui	a6,0x0
+  2c:	lui	a7,0x0
+  30:	lui	t0,0x0
+  34:	lui	t1,0x0
+  38:	lui	t2,0x0
+  3c:	lui	t3,0x0
+  40:	lui	s0,0x0
+  44:	lui	s1,0x0
+  48:	lui	s2,0x0
+  4c:	lui	s3,0x0
+  50:	lui	s4,0x0
+  54:	lui	s5,0x0
+  58:	lui	s6,0x0
+  5c:	lui	s7,0x0
+  60:	lui	t8,0x0
+  64:	lui	t9,0x0
+  68:	lui	k0,0x0
+  6c:	lui	k1,0x0
+  70:	lui	gp,0x0
+  74:	lui	sp,0x0
+  78:	lui	fp,0x0
+  7c:	lui	ra,0x0
+#pass
diff --git a/gas/testsuite/gas/nanomips/gpr-names.s b/gas/testsuite/gas/nanomips/gpr-names.s
new file mode 100644
index 00000000000..305951bb0a1
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/gpr-names.s
@@ -0,0 +1,38 @@
+# source file to test objdump's disassembly using various styles of
+# GPR names.
+
+	.set noat
+	.text
+text_label:
+	lui	$0,0
+	lui	$1,0
+	lui	$2,0
+	lui	$3,0
+	lui	$4,0
+	lui	$5,0
+	lui	$6,0
+	lui	$7,0
+	lui	$8,0
+	lui	$9,0
+	lui	$10,0
+	lui	$11,0
+	lui	$12,0
+	lui	$13,0
+	lui	$14,0
+	lui	$15,0
+	lui	$16,0
+	lui	$17,0
+	lui	$18,0
+	lui	$19,0
+	lui	$20,0
+	lui	$21,0
+	lui	$22,0
+	lui	$23,0
+	lui	$24,0
+	lui	$25,0
+	lui	$26,0
+	lui	$27,0
+	lui	$28,0
+	lui	$29,0
+	lui	$30,0
+	lui	$31,0
diff --git a/gas/testsuite/gas/nanomips/hwr-names-numeric.d b/gas/testsuite/gas/nanomips/hwr-names-numeric.d
new file mode 100644
index 00000000000..10b8dae6055
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/hwr-names-numeric.d
@@ -0,0 +1,59 @@
+#objdump: -dr -M gpr-names=numeric,hwr-names=numeric
+#name: nanoMIPS HWR disassembly \(numeric\)
+
+# Check objdump's handling of -M hwr-names=foo options.
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+
+0+0000 <text_label>:
+   0:	2000 01c0 	rdhwr	\$0,\$0
+   4:	2001 01c0 	rdhwr	\$0,\$1
+   8:	2002 01c0 	rdhwr	\$0,\$2
+   c:	2003 01c0 	rdhwr	\$0,\$3
+  10:	2004 01c0 	rdhwr	\$0,\$4
+  14:	2005 01c0 	rdhwr	\$0,\$5
+  18:	2006 01c0 	rdhwr	\$0,\$6
+  1c:	2007 01c0 	rdhwr	\$0,\$7
+  20:	2008 01c0 	rdhwr	\$0,\$8
+  24:	2009 01c0 	rdhwr	\$0,\$9
+  28:	200a 01c0 	rdhwr	\$0,\$10
+  2c:	200b 01c0 	rdhwr	\$0,\$11
+  30:	200c 01c0 	rdhwr	\$0,\$12
+  34:	200d 01c0 	rdhwr	\$0,\$13
+  38:	200e 01c0 	rdhwr	\$0,\$14
+  3c:	200f 01c0 	rdhwr	\$0,\$15
+  40:	2010 01c0 	rdhwr	\$0,\$16
+  44:	2011 01c0 	rdhwr	\$0,\$17
+  48:	2012 01c0 	rdhwr	\$0,\$18
+  4c:	2013 01c0 	rdhwr	\$0,\$19
+  50:	2014 01c0 	rdhwr	\$0,\$20
+  54:	2015 01c0 	rdhwr	\$0,\$21
+  58:	2016 01c0 	rdhwr	\$0,\$22
+  5c:	2017 01c0 	rdhwr	\$0,\$23
+  60:	2018 01c0 	rdhwr	\$0,\$24
+  64:	2019 01c0 	rdhwr	\$0,\$25
+  68:	201a 01c0 	rdhwr	\$0,\$26
+  6c:	201b 01c0 	rdhwr	\$0,\$27
+  70:	201c 01c0 	rdhwr	\$0,\$28
+  74:	201d 01c0 	rdhwr	\$0,\$29
+  78:	201e 01c0 	rdhwr	\$0,\$30
+  7c:	201f 01c0 	rdhwr	\$0,\$31
+  80:	2004 01c0 	rdhwr	\$0,\$4
+  84:	2004 09c0 	rdhwr	\$0,\$4,1
+  88:	2004 11c0 	rdhwr	\$0,\$4,2
+  8c:	2004 19c0 	rdhwr	\$0,\$4,3
+  90:	2004 21c0 	rdhwr	\$0,\$4,4
+  94:	2004 29c0 	rdhwr	\$0,\$4,5
+  98:	2004 31c0 	rdhwr	\$0,\$4,6
+  9c:	2004 39c0 	rdhwr	\$0,\$4,7
+  a0:	2004 41c0 	rdhwr	\$0,\$4,8
+  a4:	2004 49c0 	rdhwr	\$0,\$4,9
+  a8:	2004 51c0 	rdhwr	\$0,\$4,10
+  ac:	2004 59c0 	rdhwr	\$0,\$4,11
+  b0:	2004 61c0 	rdhwr	\$0,\$4,12
+  b4:	2004 69c0 	rdhwr	\$0,\$4,13
+  b8:	2004 71c0 	rdhwr	\$0,\$4,14
+  bc:	2004 79c0 	rdhwr	\$0,\$4,15
+#pass
diff --git a/gas/testsuite/gas/nanomips/hwr-names-numeric.s b/gas/testsuite/gas/nanomips/hwr-names-numeric.s
new file mode 100644
index 00000000000..fd4dbf88120
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/hwr-names-numeric.s
@@ -0,0 +1,53 @@
+# source file to test objdump's disassembly of HWR (hardware register) names.
+
+	.text
+text_label:
+	rdhwr	$0, $0
+	rdhwr	$0, $1
+	rdhwr	$0, $2
+	rdhwr	$0, $3
+	rdhwr	$0, $4
+	rdhwr	$0, $5
+	rdhwr	$0, $6
+	rdhwr	$0, $7
+	rdhwr	$0, $8
+	rdhwr	$0, $9
+	rdhwr	$0, $10
+	rdhwr	$0, $11
+	rdhwr	$0, $12
+	rdhwr	$0, $13
+	rdhwr	$0, $14
+	rdhwr	$0, $15
+	rdhwr	$0, $16
+	rdhwr	$0, $17
+	rdhwr	$0, $18
+	rdhwr	$0, $19
+	rdhwr	$0, $20
+	rdhwr	$0, $21
+	rdhwr	$0, $22
+	rdhwr	$0, $23
+	rdhwr	$0, $24
+	rdhwr	$0, $25
+	rdhwr	$0, $26
+	rdhwr	$0, $27
+	rdhwr	$0, $28
+	rdhwr	$0, $29
+	rdhwr	$0, $30
+	rdhwr	$0, $31
+
+	rdhwr	$0, $4, 0
+	rdhwr	$0, $4, 1
+	rdhwr	$0, $4, 2
+	rdhwr	$0, $4, 3
+	rdhwr	$0, $4, 4
+	rdhwr	$0, $4, 5
+	rdhwr	$0, $4, 6
+	rdhwr	$0, $4, 7
+	rdhwr	$0, $4, 8
+	rdhwr	$0, $4, 9
+	rdhwr	$0, $4, 10
+	rdhwr	$0, $4, 11
+	rdhwr	$0, $4, 12
+	rdhwr	$0, $4, 13
+	rdhwr	$0, $4, 14
+	rdhwr	$0, $4, 15
diff --git a/gas/testsuite/gas/nanomips/insn-suffix-error.l b/gas/testsuite/gas/nanomips/insn-suffix-error.l
new file mode 100644
index 00000000000..84a20232125
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/insn-suffix-error.l
@@ -0,0 +1,20 @@
+.*.s: Assembler messages:
+.*.s:3: Error: unrecognized opcode `addiu\[r1.sp\]32 \$a0,\$sp,8'
+.*.s:4: Error: unrecognized opcode `addiu\[r2\]32 \$a0,\$a1,4'
+.*.s:5: Error: unrecognized opcode `addiu\[rs5\]48 \$t0,\$t0,3'
+.*.s:6: Error: unrecognized opcode `addiu\[gp.b\]16 \$a0,\$gp,%gprel\(test8\)'
+.*.s:7: Error: unrecognized opcode `addiu\[gp.w\]16 \$a0,\$gp,%gprel\(test8\)'
+.*.s:8: Error: unrecognized opcode `addiu\[neg\]48 \$a0,\$a1,-4'
+.*.s:9: Error: unrecognized opcode `addiu\[32\]48 \$a0,\$a1,64'
+.*.s:10: Error: unrecognized opcode `addiu\[48\]32 \$a0,\$a0,12'
+.*.s:11: Error: unrecognized opcode `addiu\[gp48\]16 \$a0,\$gp,%gprel\(test8\)'
+.*.s:13: Error: unrecognized opcode `lw\[16\]32 \$a0,8\(\$a1\)'
+.*.s:14: Error: unrecognized opcode `lw\[4x4\]32 \$a1,12\(\$a2\)'
+.*.s:15: Error: unrecognized opcode `lw\[gp16\]48 \$a3,24\(\$gp\)'
+.*.s:16: Error: unrecognized opcode `lw\[gp16\]32 \$a3,%gprel\(test8\)\(\$gp\)'
+.*.s:17: Error: unrecognized opcode `lw\[sp\]32 \$a3,20\(\$sp\)'
+.*.s:18: Error: unrecognized opcode `lw\[gp\]16 \$a3,224\(\$gp\)'
+.*.s:19: Error: unrecognized opcode `lw\[gp\]48 \$a3,%gprel\(test8\)\(\$gp\)'
+.*.s:20: Error: unrecognized opcode `lw\[s9\]48 \$a3,20\(\$s0\)'
+.*.s:21: Error: unrecognized opcode `lw\[u12\]16 \$a3,20\(\$s1\)'
+.*.s:22: Error: unrecognized opcode `lwpc\[48\]32 \$a3,test8'
diff --git a/gas/testsuite/gas/nanomips/insn-suffix-error.s b/gas/testsuite/gas/nanomips/insn-suffix-error.s
new file mode 100644
index 00000000000..2a4e3a6605a
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/insn-suffix-error.s
@@ -0,0 +1,22 @@
+	.text
+test8:
+	addiu[r1.sp]32 $a0,$sp,8
+	addiu[r2]32 $a0,$a1,4
+	addiu[rs5]48 $t0,$t0,3
+	addiu[gp.b]16 $a0,$gp,%gprel(test8)
+	addiu[gp.w]16 $a0,$gp,%gprel(test8)
+	addiu[neg]48 $a0,$a1,-4
+	addiu[32]48 $a0,$a1,64
+	addiu[48]32 $a0,$a0,12
+	addiu[gp48]16 $a0,$gp,%gprel(test8)
+	
+	lw[16]32 $a0,8($a1)
+	lw[4x4]32 $a1,12($a2)
+	lw[gp16]48 $a3,24($gp)
+	lw[gp16]32 $a3,%gprel(test8)($gp)
+	lw[sp]32 $a3,20($sp)
+	lw[gp]16 $a3,224($gp)
+	lw[gp]48 $a3,%gprel(test8)($gp)
+	lw[s9]48 $a3,20($s0)
+	lw[u12]16 $a3,20($s1)
+	lwpc[48]32 $a3,test8
diff --git a/gas/testsuite/gas/nanomips/isa-errors.l b/gas/testsuite/gas/nanomips/isa-errors.l
new file mode 100644
index 00000000000..4cee744743f
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/isa-errors.l
@@ -0,0 +1,7 @@
+.*: Assembler messages:
+.*:2: Error: nanoMIPS does not support MIPS16 ASE
+.*:4: Error: cannot change ISA from nanoMIPS to mips32r2
+.*:6: Error: cannot change ISA from nanoMIPS to mips32
+.*:7: Error: cannot change ISA from nanoMIPS to mips0
+.*:8: Error: cannot change ISA from nanoMIPS to mips32r5
+.*:9: Error: cannot change ISA from nanoMIPS to mips64
diff --git a/gas/testsuite/gas/nanomips/isa-errors.s b/gas/testsuite/gas/nanomips/isa-errors.s
new file mode 100644
index 00000000000..9ff9bd81e68
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/isa-errors.s
@@ -0,0 +1,9 @@
+.text
+	.set mips16
+	.set arch=32r6
+	.set mips32r2
+	.set arch=64r6
+	.set mips32
+	.set mips0
+	.set arch=mips32r5
+	.set arch=mips64
diff --git a/gas/testsuite/gas/nanomips/jal.d b/gas/testsuite/gas/nanomips/jal.d
new file mode 100644
index 00000000000..c10ab9e93be
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/jal.d
@@ -0,0 +1,21 @@
+#objdump: -dr --prefix-addresses
+#name: nanoMIPS ELF jal
+#source: jal.s
+#as: -mlegacyregs
+
+# Test the jal macro (nanoMIPS).
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]*> jalrc	t9
+[0-9a-f]+ <[^>]*> jalrc	a0,t9
+[0-9a-f]+ <[^>]*> balc	00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC25_S1	text_label
+[0-9a-f]+ <[^>]*> balc	00000000 <external_text_label>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC25_S1	external_text_label
+[0-9a-f]+ <[^>]*> bc	00000000 <.*>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC25_S1	text_label
+[0-9a-f]+ <[^>]*> bc	00000000 <external_text_label>
+[ 			]*[0-9a-f]+: R_NANOMIPS_PC25_S1	external_text_label
+#pass
diff --git a/gas/testsuite/gas/nanomips/jal.s b/gas/testsuite/gas/nanomips/jal.s
new file mode 100644
index 00000000000..2c4822b7e5d
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/jal.s
@@ -0,0 +1,11 @@
+# Source file used to test the jal macro.
+	.globl	text_label
+text_label:	
+	jal	$25
+	jal	$4,$25
+	jal	text_label
+	jal	external_text_label
+	
+# Test j as well	
+	j	text_label
+	j	external_text_label
diff --git a/gas/testsuite/gas/nanomips/jalr.l b/gas/testsuite/gas/nanomips/jalr.l
new file mode 100644
index 00000000000..a7a8ab90310
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/jalr.l
@@ -0,0 +1,3 @@
+.*: Assembler messages:
+.*:1: Error: invalid operands.*
+.*:9: Error: invalid operands.*
diff --git a/gas/testsuite/gas/nanomips/jalr.s b/gas/testsuite/gas/nanomips/jalr.s
new file mode 100644
index 00000000000..97eb26299f3
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/jalr.s
@@ -0,0 +1,15 @@
+	jalr 	$32
+	jalr	$31
+	jalr	$7, $7
+	jalr	$31, $2
+	jalr	$0
+	jalr	$0, $31
+	jalr	$31, $0
+
+	jalr.hb	$32
+	jalr.hb	$31
+	jalr.hb	$7, $7
+	jalr.hb	$31, $2
+	jalr.hb	$0
+	jalr.hb	$0, $31
+	jalr.hb	$31, $0
diff --git a/gas/testsuite/gas/nanomips/la-lpic-mclarge.d b/gas/testsuite/gas/nanomips/la-lpic-mclarge.d
new file mode 100644
index 00000000000..3a96cac7f33
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/la-lpic-mclarge.d
@@ -0,0 +1,116 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: nanoMIPS la PIC large memory model
+#as: -mPIC -mcmodel=large -G0
+#source: la.s
+
+# Test the la macro with mPIC and large memory model
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]+> 0080 0000 	li	a0,0
+[0-9a-f]+ <[^>]+> 0080 0001 	li	a0,1
+[0-9a-f]+ <[^>]+> 0080 8000 	li	a0,32768
+[0-9a-f]+ <[^>]+> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> e081 0000 	lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 6080 a5a5 0001 	li	a0,0x1a5a5
+[0-9a-f]+ <[^>]+> 0085 0000 	addiu	a0,a1,0
+[0-9a-f]+ <[^>]+> 0085 0001 	addiu	a0,a1,1
+[0-9a-f]+ <[^>]+> 0085 8000 	addiu	a0,a1,32768
+[0-9a-f]+ <[^>]+> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e081 0000 	lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> 6080 a5a5 0001 	li	a0,0x1a5a5
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	data_label
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_data_label
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	small_external_data_label
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_common
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	small_external_common
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	big_local_common
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	small_local_common
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	data_label\+0x1
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	small_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_common\+0x1
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	small_external_common\+0x1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	big_local_common\+0x1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	small_local_common\+0x1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	data_label\+0x8000
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	small_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_common\+0x8000
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	small_external_common\+0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	big_local_common\+0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	small_local_common\+0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	data_label-0x8000
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	small_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_common-0x8000
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	small_external_common-0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	big_local_common-0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	small_local_common-0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	data_label\+0x10000
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	small_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_common\+0x10000
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	small_external_common\+0x10000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	big_local_common\+0x10000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	small_local_common\+0x10000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	small_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	small_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	big_local_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	small_local_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0085 0000 	addiu	a0,a1,0
+[0-9a-f]+ <[^>]+> 6080 3456 0012 	li	a0,0x123456
+[0-9a-f]+ <[^>]+> 6080 3456 0012 	li	a0,0x123456
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_data_label
+#pass
diff --git a/gas/testsuite/gas/nanomips/la-lpic-mcmedium.d b/gas/testsuite/gas/nanomips/la-lpic-mcmedium.d
new file mode 100644
index 00000000000..8a0803c79dd
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/la-lpic-mcmedium.d
@@ -0,0 +1,116 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: nanoMIPS la PIC medium memory model
+#as: -mPIC -mcmodel=medium -G0
+#source: la.s
+
+# Test the la macro with mPIC and large memory model
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]+> 0080 0000 	li	a0,0
+[0-9a-f]+ <[^>]+> 0080 0001 	li	a0,1
+[0-9a-f]+ <[^>]+> 0080 8000 	li	a0,32768
+[0-9a-f]+ <[^>]+> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> e081 0000 	lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 6080 a5a5 0001 	li	a0,0x1a5a5
+[0-9a-f]+ <[^>]+> 0085 0000 	addiu	a0,a1,0
+[0-9a-f]+ <[^>]+> 0085 0001 	addiu	a0,a1,1
+[0-9a-f]+ <[^>]+> 0085 8000 	addiu	a0,a1,32768
+[0-9a-f]+ <[^>]+> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e081 0000 	lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> 6080 a5a5 0001 	li	a0,0x1a5a5
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	data_label
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_data_label
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	small_external_data_label
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_common
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	small_external_common
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	big_local_common
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	small_local_common
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	data_label\+0x1
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	small_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_common\+0x1
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	small_external_common\+0x1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	big_local_common\+0x1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	small_local_common\+0x1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	data_label\+0x8000
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	small_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_common\+0x8000
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	small_external_common\+0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	big_local_common\+0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	small_local_common\+0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	data_label-0x8000
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	small_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_common-0x8000
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	small_external_common-0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	big_local_common-0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	small_local_common-0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	data_label\+0x10000
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	small_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_common\+0x10000
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	small_external_common\+0x10000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	big_local_common\+0x10000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	small_local_common\+0x10000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	small_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	small_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	big_local_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	small_local_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0085 0000 	addiu	a0,a1,0
+[0-9a-f]+ <[^>]+> 6080 3456 0012 	li	a0,0x123456
+[0-9a-f]+ <[^>]+> 6080 3456 0012 	li	a0,0x123456
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> 608b 0000 0000 	lwpc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_GOTPC_I32	big_external_data_label
+#pass
diff --git a/gas/testsuite/gas/nanomips/la-mclarge-pcrel.d b/gas/testsuite/gas/nanomips/la-mclarge-pcrel.d
new file mode 100644
index 00000000000..15cef6aaa8e
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/la-mclarge-pcrel.d
@@ -0,0 +1,116 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: nanoMIPS PC-relative la using li[48] for large memory model
+#source: la.s
+#as: -mlegacyregs -mpcrel
+
+# Test the la macro PC-relative expansion for mcmodel=large
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]+> 0080 0000 	li	a0,0
+[0-9a-f]+ <[^>]+> 0080 0001 	li	a0,1
+[0-9a-f]+ <[^>]+> 0080 8000 	li	a0,32768
+[0-9a-f]+ <[^>]+> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> e081 0000 	lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 6080 a5a5 0001 	li	a0,0x1a5a5
+[0-9a-f]+ <[^>]+> 0085 0000 	addiu	a0,a1,0
+[0-9a-f]+ <[^>]+> 0085 0001 	addiu	a0,a1,1
+[0-9a-f]+ <[^>]+> 0085 8000 	addiu	a0,a1,32768
+[0-9a-f]+ <[^>]+> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e081 0000 	lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> 6080 a5a5 0001 	li	a0,0x1a5a5
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			42: R_NANOMIPS_PC_I32	data_label
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			48: R_NANOMIPS_PC_I32	big_external_data_label
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			4e: R_NANOMIPS_PC_I32	small_external_data_label
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			54: R_NANOMIPS_PC_I32	big_external_common
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			5a: R_NANOMIPS_PC_I32	small_external_common
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			60: R_NANOMIPS_PC_I32	big_local_common
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			66: R_NANOMIPS_PC_I32	small_local_common
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			6c: R_NANOMIPS_PC_I32	data_label\+0x1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			72: R_NANOMIPS_PC_I32	big_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			78: R_NANOMIPS_PC_I32	small_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			7e: R_NANOMIPS_PC_I32	big_external_common\+0x1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			84: R_NANOMIPS_PC_I32	small_external_common\+0x1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			8a: R_NANOMIPS_PC_I32	big_local_common\+0x1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			90: R_NANOMIPS_PC_I32	small_local_common\+0x1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			96: R_NANOMIPS_PC_I32	data_label\+0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			9c: R_NANOMIPS_PC_I32	big_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			a2: R_NANOMIPS_PC_I32	small_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			a8: R_NANOMIPS_PC_I32	big_external_common\+0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			ae: R_NANOMIPS_PC_I32	small_external_common\+0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			b4: R_NANOMIPS_PC_I32	big_local_common\+0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			ba: R_NANOMIPS_PC_I32	small_local_common\+0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			c0: R_NANOMIPS_PC_I32	data_label-0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			c6: R_NANOMIPS_PC_I32	big_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			cc: R_NANOMIPS_PC_I32	small_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			d2: R_NANOMIPS_PC_I32	big_external_common-0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			d8: R_NANOMIPS_PC_I32	small_external_common-0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			de: R_NANOMIPS_PC_I32	big_local_common-0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			e4: R_NANOMIPS_PC_I32	small_local_common-0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			ea: R_NANOMIPS_PC_I32	data_label\+0x10000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			f0: R_NANOMIPS_PC_I32	big_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			f6: R_NANOMIPS_PC_I32	small_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			fc: R_NANOMIPS_PC_I32	big_external_common\+0x10000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			102: R_NANOMIPS_PC_I32	small_external_common\+0x10000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			108: R_NANOMIPS_PC_I32	big_local_common\+0x10000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			10e: R_NANOMIPS_PC_I32	small_local_common\+0x10000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			114: R_NANOMIPS_PC_I32	data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			11a: R_NANOMIPS_PC_I32	big_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			120: R_NANOMIPS_PC_I32	small_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			126: R_NANOMIPS_PC_I32	big_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			12c: R_NANOMIPS_PC_I32	small_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			132: R_NANOMIPS_PC_I32	big_local_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			138: R_NANOMIPS_PC_I32	small_local_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0085 0000 	addiu	a0,a1,0
+[0-9a-f]+ <[^>]+> 6080 3456 0012 	li	a0,0x123456
+[0-9a-f]+ <[^>]+> 6080 3456 0012 	li	a0,0x123456
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			152: R_NANOMIPS_PC_I32	big_external_data_label
+#pass
diff --git a/gas/testsuite/gas/nanomips/la-mclarge.d b/gas/testsuite/gas/nanomips/la-mclarge.d
new file mode 100644
index 00000000000..558c7b49739
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/la-mclarge.d
@@ -0,0 +1,115 @@
+#objdump: -dr --prefix-addresses
+#name: nanoMIPS la using li[48] for large memory model
+#source: la.s
+
+# Test the la macro for mcmodel=large
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]*> li	a0,0
+[0-9a-f]+ <[^>]*> li	a0,1
+[0-9a-f]+ <[^>]*> li	a0,32768
+[0-9a-f]+ <[^>]*> lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]*> lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]*> li	a0,0x1a5a5
+[0-9a-f]+ <[^>]*> addiu	a0,a1,0
+[0-9a-f]+ <[^>]*> addiu	a0,a1,1
+[0-9a-f]+ <[^>]*> addiu	a0,a1,32768
+[0-9a-f]+ <[^>]*> lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]*> addu	a0,a0,a1
+[0-9a-f]+ <[^>]*> lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]*> addu	a0,a0,a1
+[0-9a-f]+ <[^>]*> li	a0,0x1a5a5
+[0-9a-f]+ <[^>]*> addu	a0,a0,a1
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	\.data
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	big_external_data_label
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	small_external_data_label
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	big_external_common
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	small_external_common
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	\.bss
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	\.sbss
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	\.data\+0x1
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	big_external_data_label\+0x1
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	small_external_data_label\+0x1
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	big_external_common\+0x1
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	small_external_common\+0x1
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	\.bss\+0x1
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	\.sbss\+0x1
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	\.data\+0x8000
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	big_external_data_label\+0x8000
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	small_external_data_label\+0x8000
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	big_external_common\+0x8000
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	small_external_common\+0x8000
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	\.bss\+0x8000
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	\.sbss\+0x8000
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	\.data-0x8000
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	big_external_data_label-0x8000
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	small_external_data_label-0x8000
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	big_external_common-0x8000
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	small_external_common-0x8000
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	\.bss-0x8000
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	\.sbss-0x8000
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	\.data\+0x10000
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	big_external_data_label\+0x10000
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	small_external_data_label\+0x10000
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	big_external_common\+0x10000
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	small_external_common\+0x10000
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	\.bss\+0x10000
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	\.sbss\+0x10000
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	\.data\+0x1a5a5
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	big_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	small_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	big_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	small_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	\.bss\+0x1a5a5
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	\.sbss\+0x1a5a5
+[0-9a-f]+ <[^>]*> addiu	a0,a1,0
+[0-9a-f]+ <[^>]*> li	a0,0x123456
+[0-9a-f]+ <[^>]*> li	a0,0x123456
+[0-9a-f]+ <[^>]*> addu	a0,a0,a1
+[0-9a-f]+ <[^>]*> li	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_I32	big_external_data_label
+#pass
diff --git a/gas/testsuite/gas/nanomips/la-pcrel.d b/gas/testsuite/gas/nanomips/la-pcrel.d
new file mode 100644
index 00000000000..f20e64d52e7
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/la-pcrel.d
@@ -0,0 +1,116 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: nanoMIPS la using li[48] PC-relative
+#as: -mlegacyregs -mpcrel
+#source: la.s
+
+# Test PC-relative expansion of the la macro.
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]+> 0080 0000 	li	a0,0
+[0-9a-f]+ <[^>]+> 0080 0001 	li	a0,1
+[0-9a-f]+ <[^>]+> 0080 8000 	li	a0,32768
+[0-9a-f]+ <[^>]+> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> e081 0000 	lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 6080 a5a5 0001 	li	a0,0x1a5a5
+[0-9a-f]+ <[^>]+> 0085 0000 	addiu	a0,a1,0
+[0-9a-f]+ <[^>]+> 0085 0001 	addiu	a0,a1,1
+[0-9a-f]+ <[^>]+> 0085 8000 	addiu	a0,a1,32768
+[0-9a-f]+ <[^>]+> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e081 0000 	lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> 6080 a5a5 0001 	li	a0,0x1a5a5
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			42: R_NANOMIPS_PC_I32	data_label
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			48: R_NANOMIPS_PC_I32	big_external_data_label
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			4c: R_NANOMIPS_GPREL19_S2	small_external_data_label
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			52: R_NANOMIPS_PC_I32	big_external_common
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			56: R_NANOMIPS_GPREL19_S2	small_external_common
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			5c: R_NANOMIPS_PC_I32	big_local_common
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			60: R_NANOMIPS_GPREL19_S2	.sbss
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			66: R_NANOMIPS_PC_I32	data_label\+0x1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			6c: R_NANOMIPS_PC_I32	big_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			70: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			76: R_NANOMIPS_PC_I32	big_external_common\+0x1
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			7a: R_NANOMIPS_GPREL19_S2	small_external_common\+0x1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			80: R_NANOMIPS_PC_I32	big_local_common\+0x1
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			84: R_NANOMIPS_GPREL19_S2	.sbss\+0x1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			8a: R_NANOMIPS_PC_I32	data_label\+0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			90: R_NANOMIPS_PC_I32	big_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			94: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			9a: R_NANOMIPS_PC_I32	big_external_common\+0x8000
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			9e: R_NANOMIPS_GPREL19_S2	small_external_common\+0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			a4: R_NANOMIPS_PC_I32	big_local_common\+0x8000
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			a8: R_NANOMIPS_GPREL19_S2	.sbss\+0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			ae: R_NANOMIPS_PC_I32	data_label-0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			b4: R_NANOMIPS_PC_I32	big_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			ba: R_NANOMIPS_PC_I32	small_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			c0: R_NANOMIPS_PC_I32	big_external_common-0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			c6: R_NANOMIPS_PC_I32	small_external_common-0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			cc: R_NANOMIPS_PC_I32	big_local_common-0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			d2: R_NANOMIPS_PC_I32	small_local_common-0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			d8: R_NANOMIPS_PC_I32	data_label\+0x10000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			de: R_NANOMIPS_PC_I32	big_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			e2: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			e8: R_NANOMIPS_PC_I32	big_external_common\+0x10000
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			ec: R_NANOMIPS_GPREL19_S2	small_external_common\+0x10000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			f2: R_NANOMIPS_PC_I32	big_local_common\+0x10000
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			f6: R_NANOMIPS_GPREL19_S2	.sbss\+0x10000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			fc: R_NANOMIPS_PC_I32	data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			102: R_NANOMIPS_PC_I32	big_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			106: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			10c: R_NANOMIPS_PC_I32	big_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			110: R_NANOMIPS_GPREL19_S2	small_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			116: R_NANOMIPS_PC_I32	big_local_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			11a: R_NANOMIPS_GPREL19_S2	.sbss\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0085 0000 	addiu	a0,a1,0
+[0-9a-f]+ <[^>]+> 6080 3456 0012 	li	a0,0x123456
+[0-9a-f]+ <[^>]+> 6080 3456 0012 	li	a0,0x123456
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			134: R_NANOMIPS_PC_I32	big_external_data_label
+#pass
diff --git a/gas/testsuite/gas/nanomips/la-pic-mclarge.d b/gas/testsuite/gas/nanomips/la-pic-mclarge.d
new file mode 100644
index 00000000000..a73c31226b7
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/la-pic-mclarge.d
@@ -0,0 +1,116 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: nanoMIPS la-pic large memory model
+#as: -mpic -mcmodel=large
+#source: la.s
+
+# Test the la macro with mpic and large memory model
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]+> 0080 0000 	li	a0,0
+[0-9a-f]+ <[^>]+> 0080 0001 	li	a0,1
+[0-9a-f]+ <[^>]+> 0080 8000 	li	a0,32768
+[0-9a-f]+ <[^>]+> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> e081 0000 	lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 6080 a5a5 0001 	li	a0,0x1a5a5
+[0-9a-f]+ <[^>]+> 0085 0000 	addiu	a0,a1,0
+[0-9a-f]+ <[^>]+> 0085 0001 	addiu	a0,a1,1
+[0-9a-f]+ <[^>]+> 0085 8000 	addiu	a0,a1,32768
+[0-9a-f]+ <[^>]+> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e081 0000 	lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> 6080 a5a5 0001 	li	a0,0x1a5a5
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	data_label
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_data_label
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	small_external_data_label
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_common
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	small_external_common
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	big_local_common
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	small_local_common
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	data_label\+0x1
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	small_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_common\+0x1
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	small_external_common\+0x1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	big_local_common\+0x1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	small_local_common\+0x1
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	data_label\+0x8000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	small_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_common\+0x8000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	small_external_common\+0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	big_local_common\+0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	small_local_common\+0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	data_label-0x8000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	small_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_common-0x8000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	small_external_common-0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	big_local_common-0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	small_local_common-0x8000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	data_label\+0x10000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	small_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_common\+0x10000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	small_external_common\+0x10000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	big_local_common\+0x10000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	small_local_common\+0x10000
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	small_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	small_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	big_local_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 6083 0000 0000 	lapc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	small_local_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0085 0000 	addiu	a0,a1,0
+[0-9a-f]+ <[^>]+> 6080 3456 0012 	li	a0,0x123456
+[0-9a-f]+ <[^>]+> 6080 3456 0012 	li	a0,0x123456
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_data_label
+#pass
diff --git a/gas/testsuite/gas/nanomips/la-pic.d b/gas/testsuite/gas/nanomips/la-pic.d
new file mode 100644
index 00000000000..8c5ae9f2536
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/la-pic.d
@@ -0,0 +1,156 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: nanoMIPS la-pic
+#as: -mpic -G0
+#source: la.s
+
+# Test the la macro with -mpic.
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]+> 0080 0000 	li	a0,0
+[0-9a-f]+ <[^>]+> 0080 0001 	li	a0,1
+[0-9a-f]+ <[^>]+> 0080 8000 	li	a0,32768
+[0-9a-f]+ <[^>]+> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> e081 0000 	lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> e081 a000 	lui	a0,%hi\(0x1a000\)
+[0-9a-f]+ <[^>]+> 8084 05a5 	ori	a0,a0,0x5a5
+[0-9a-f]+ <[^>]+> 0085 0000 	addiu	a0,a1,0
+[0-9a-f]+ <[^>]+> 0085 0001 	addiu	a0,a1,1
+[0-9a-f]+ <[^>]+> 0085 8000 	addiu	a0,a1,32768
+[0-9a-f]+ <[^>]+> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e081 0000 	lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e081 a000 	lui	a0,%hi\(0x1a000\)
+[0-9a-f]+ <[^>]+> 8084 05a5 	ori	a0,a0,0x5a5
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			44: R_NANOMIPS_PCHI20	data_label
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			48: R_NANOMIPS_LO12	.data
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			4c: R_NANOMIPS_GOT_DISP	big_external_data_label
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			50: R_NANOMIPS_GOT_DISP	small_external_data_label
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			54: R_NANOMIPS_GOT_DISP	big_external_common
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			58: R_NANOMIPS_GOT_DISP	small_external_common
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			5c: R_NANOMIPS_PCHI20	big_local_common
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			60: R_NANOMIPS_LO12	.bss
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			64: R_NANOMIPS_PCHI20	small_local_common
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			68: R_NANOMIPS_LO12	.bss\+0x3e8
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			6c: R_NANOMIPS_PCHI20	data_label\+0x1
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			70: R_NANOMIPS_LO12	.data\+0x1
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			74: R_NANOMIPS_GOT_DISP	big_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			78: R_NANOMIPS_GOT_DISP	small_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			7c: R_NANOMIPS_GOT_DISP	big_external_common\+0x1
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			80: R_NANOMIPS_GOT_DISP	small_external_common\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			84: R_NANOMIPS_PCHI20	big_local_common\+0x1
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			88: R_NANOMIPS_LO12	.bss\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			8c: R_NANOMIPS_PCHI20	small_local_common\+0x1
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			90: R_NANOMIPS_LO12	.bss\+0x3e9
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			94: R_NANOMIPS_PCHI20	data_label\+0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			98: R_NANOMIPS_LO12	.data\+0x8000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			9c: R_NANOMIPS_GOT_DISP	big_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			a0: R_NANOMIPS_GOT_DISP	small_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			a4: R_NANOMIPS_GOT_DISP	big_external_common\+0x8000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			a8: R_NANOMIPS_GOT_DISP	small_external_common\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			ac: R_NANOMIPS_PCHI20	big_local_common\+0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			b0: R_NANOMIPS_LO12	.bss\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			b4: R_NANOMIPS_PCHI20	small_local_common\+0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			b8: R_NANOMIPS_LO12	.bss\+0x83e8
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			bc: R_NANOMIPS_PCHI20	data_label-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			c0: R_NANOMIPS_LO12	.data-0x8000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			c4: R_NANOMIPS_GOT_DISP	big_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			c8: R_NANOMIPS_GOT_DISP	small_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			cc: R_NANOMIPS_GOT_DISP	big_external_common-0x8000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			d0: R_NANOMIPS_GOT_DISP	small_external_common-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			d4: R_NANOMIPS_PCHI20	big_local_common-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			d8: R_NANOMIPS_LO12	.bss-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			dc: R_NANOMIPS_PCHI20	small_local_common-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			e0: R_NANOMIPS_LO12	.bss-0x7c18
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			e4: R_NANOMIPS_PCHI20	data_label\+0x10000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			e8: R_NANOMIPS_LO12	.data\+0x10000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			ec: R_NANOMIPS_GOT_DISP	big_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			f0: R_NANOMIPS_GOT_DISP	small_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			f4: R_NANOMIPS_GOT_DISP	big_external_common\+0x10000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			f8: R_NANOMIPS_GOT_DISP	small_external_common\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			fc: R_NANOMIPS_PCHI20	big_local_common\+0x10000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			100: R_NANOMIPS_LO12	.bss\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			104: R_NANOMIPS_PCHI20	small_local_common\+0x10000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			108: R_NANOMIPS_LO12	.bss\+0x103e8
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			10c: R_NANOMIPS_PCHI20	data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			110: R_NANOMIPS_LO12	.data\+0x1a5a5
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			114: R_NANOMIPS_GOT_DISP	big_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			118: R_NANOMIPS_GOT_DISP	small_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			11c: R_NANOMIPS_GOT_DISP	big_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			120: R_NANOMIPS_GOT_DISP	small_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			124: R_NANOMIPS_PCHI20	big_local_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			128: R_NANOMIPS_LO12	.bss\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			12c: R_NANOMIPS_PCHI20	small_local_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			130: R_NANOMIPS_LO12	.bss\+0x1a98d
+[0-9a-f]+ <[^>]+> 0085 0000 	addiu	a0,a1,0
+[0-9a-f]+ <[^>]+> e092 3000 	lui	a0,%hi\(0x123000\)
+[0-9a-f]+ <[^>]+> 8084 0456 	ori	a0,a0,0x456
+[0-9a-f]+ <[^>]+> e092 3000 	lui	a0,%hi\(0x123000\)
+[0-9a-f]+ <[^>]+> 8084 0456 	ori	a0,a0,0x456
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			14c: R_NANOMIPS_GOT_DISP	big_external_data_label
+#pass
diff --git a/gas/testsuite/gas/nanomips/la.d b/gas/testsuite/gas/nanomips/la.d
new file mode 100644
index 00000000000..7e3686e5dcf
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/la.d
@@ -0,0 +1,115 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: nanoMIPS la using li[48]
+#source: la.s
+
+# Test the la macro.
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]+> 0080 0000 	li	a0,0
+[0-9a-f]+ <[^>]+> 0080 0001 	li	a0,1
+[0-9a-f]+ <[^>]+> 0080 8000 	li	a0,32768
+[0-9a-f]+ <[^>]+> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> e081 0000 	lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 6080 a5a5 0001 	li	a0,0x1a5a5
+[0-9a-f]+ <[^>]+> 0085 0000 	addiu	a0,a1,0
+[0-9a-f]+ <[^>]+> 0085 0001 	addiu	a0,a1,1
+[0-9a-f]+ <[^>]+> 0085 8000 	addiu	a0,a1,32768
+[0-9a-f]+ <[^>]+> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e081 0000 	lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> 6080 a5a5 0001 	li	a0,0x1a5a5
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	\.data
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	big_external_data_label
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			[0-9a-f]+: R_NANOMIPS_GPREL19_S2	small_external_data_label
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	big_external_common
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			[0-9a-f]+: R_NANOMIPS_GPREL19_S2	small_external_common
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	\.bss
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			[0-9a-f]+: R_NANOMIPS_GPREL19_S2	\.sbss
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	\.data\+0x1
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	big_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			[0-9a-f]+: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	big_external_common\+0x1
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			[0-9a-f]+: R_NANOMIPS_GPREL19_S2	small_external_common\+0x1
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	\.bss\+0x1
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			[0-9a-f]+: R_NANOMIPS_GPREL19_S2	\.sbss\+0x1
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	\.data\+0x8000
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	big_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			[0-9a-f]+: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	big_external_common\+0x8000
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			[0-9a-f]+: R_NANOMIPS_GPREL19_S2	small_external_common\+0x8000
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	\.bss\+0x8000
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			[0-9a-f]+: R_NANOMIPS_GPREL19_S2	\.sbss\+0x8000
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	\.data-0x8000
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	big_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	small_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	big_external_common-0x8000
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	small_external_common-0x8000
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	\.bss-0x8000
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	\.sbss-0x8000
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	\.data\+0x10000
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	big_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			[0-9a-f]+: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	big_external_common\+0x10000
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			[0-9a-f]+: R_NANOMIPS_GPREL19_S2	small_external_common\+0x10000
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	\.bss\+0x10000
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			[0-9a-f]+: R_NANOMIPS_GPREL19_S2	\.sbss\+0x10000
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	\.data\+0x1a5a5
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	big_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			[0-9a-f]+: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	big_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			[0-9a-f]+: R_NANOMIPS_GPREL19_S2	small_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	\.bss\+0x1a5a5
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			[0-9a-f]+: R_NANOMIPS_GPREL19_S2	\.sbss\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0085 0000 	addiu	a0,a1,0
+[0-9a-f]+ <[^>]+> 6080 3456 0012 	li	a0,0x123456
+[0-9a-f]+ <[^>]+> 6080 3456 0012 	li	a0,0x123456
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> 6080 0000 0000 	li	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	big_external_data_label
+#pass
diff --git a/gas/testsuite/gas/nanomips/la.s b/gas/testsuite/gas/nanomips/la.s
new file mode 100644
index 00000000000..029e3c605e5
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/la.s
@@ -0,0 +1,82 @@
+# Source file used to test the la macro.
+
+	.ifdef mc_large
+	.set mcmodel=large
+	.endif
+	
+	.ifdef mc_medium
+	.set mcmodel=medium
+	.endif
+
+	.data
+data_label:
+	.extern big_external_data_label,1000
+	.extern small_external_data_label,1
+	.comm big_external_common,1000
+	.comm small_external_common,1
+	.lcomm big_local_common,1000
+	.lcomm small_local_common,1
+	
+	.text
+text_label:
+	la	$4,0
+	la	$4,1
+	la	$4,0x8000
+	la	$4,-0x8000
+	la	$4,0x10000
+	la	$4,0x1a5a5
+	la	$4,0($5)
+	la	$4,1($5)
+	la	$4,0x8000($5)
+	la	$4,-0x8000($5)
+	la	$4,0x10000($5)
+	la	$4,0x1a5a5($5)
+	la	$4,data_label
+	la	$4,big_external_data_label
+	la	$4,small_external_data_label
+	la	$4,big_external_common
+	la	$4,small_external_common
+	la	$4,big_local_common
+	la	$4,small_local_common
+	la	$4,data_label+1
+	la	$4,big_external_data_label+1
+	la	$4,small_external_data_label+1
+	la	$4,big_external_common+1
+	la	$4,small_external_common+1
+	la	$4,big_local_common+1
+	la	$4,small_local_common+1
+	la	$4,data_label+0x8000
+	la	$4,big_external_data_label+0x8000
+	la	$4,small_external_data_label+0x8000
+	la	$4,big_external_common+0x8000
+	la	$4,small_external_common+0x8000
+	la	$4,big_local_common+0x8000
+	la	$4,small_local_common+0x8000
+	la	$4,data_label-0x8000
+	la	$4,big_external_data_label-0x8000
+	la	$4,small_external_data_label-0x8000
+	la	$4,big_external_common-0x8000
+	la	$4,small_external_common-0x8000
+	la	$4,big_local_common-0x8000
+	la	$4,small_local_common-0x8000
+	la	$4,data_label+0x10000
+	la	$4,big_external_data_label+0x10000
+	la	$4,small_external_data_label+0x10000
+	la	$4,big_external_common+0x10000
+	la	$4,small_external_common+0x10000
+	la	$4,big_local_common+0x10000
+	la	$4,small_local_common+0x10000
+	la	$4,data_label+0x1a5a5
+	la	$4,big_external_data_label+0x1a5a5
+	la	$4,small_external_data_label+0x1a5a5
+	la	$4,big_external_common+0x1a5a5
+	la	$4,small_external_common+0x1a5a5
+	la	$4,big_local_common+0x1a5a5
+	la	$4,small_local_common+0x1a5a5
+	la	$4,($5)
+	la	$4,(0x123456)
+	la	$4,(0x123456)($5)
+	la	$4,(big_external_data_label)
+
+# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
+	.space  8
diff --git a/gas/testsuite/gas/nanomips/lb.d b/gas/testsuite/gas/nanomips/lb.d
new file mode 100644
index 00000000000..470bbca36e9
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/lb.d
@@ -0,0 +1,176 @@
+#objdump: -dr --no-show-raw-insn
+#name: nanoMIPS lb
+
+# Test the lb macro.
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+
+00000000 <.text>:
+   [0-9a-f]+:	lb	a0,0\(zero\)
+   [0-9a-f]+:	lb	a0,1\(zero\)
+   [0-9a-f]+:	li	a0,32768
+   [0-9a-f]+:	lb	a0,0\(a0\)
+  [0-9a-f]+:	lui	a0,%hi\(0xffff8000\)
+  [0-9a-f]+:	lb	a0,0\(a0\)
+  [0-9a-f]+:	lui	a0,%hi\(0x10000\)
+  [0-9a-f]+:	lb	a0,0\(a0\)
+  [0-9a-f]+:	lui	a0,%hi\(0x1a000\)
+  [0-9a-f]+:	lb	a0,1445\(a0\)
+  [0-9a-f]+:	lb	a0,0\(a1\)
+  [0-9a-f]+:	lb	a0,1\(a1\)
+  [0-9a-f]+:	addiu	a0,a1,32768
+  [0-9a-f]+:	lb	a0,0\(a0\)
+  [0-9a-f]+:	lui	a0,%hi\(0xffff8000\)
+  [0-9a-f]+:	addu	a0,a0,a1
+  [0-9a-f]+:	lb	a0,0\(a0\)
+  [0-9a-f]+:	lui	a0,%hi\(0x10000\)
+  [0-9a-f]+:	addu	a0,a0,a1
+  [0-9a-f]+:	lb	a0,0\(a0\)
+  [0-9a-f]+:	lui	a0,%hi\(0x1a000\)
+  [0-9a-f]+:	addu	a0,a0,a1
+  [0-9a-f]+:	lb	a0,1445\(a0\)
+  [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	.data
+  [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	.data
+  [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label
+  [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label
+  [0-9a-f]+:	lb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	small_external_data_label
+  [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	big_external_common
+  [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	big_external_common
+  [0-9a-f]+:	lb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	small_external_common
+  [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	.bss
+  [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	.bss
+  [0-9a-f]+:	lb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	.sbss
+  [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	.data\+0x1
+  [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	.data\+0x1
+  [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label\+0x1
+  [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label\+0x1
+  [0-9a-f]+:	lb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	small_external_data_label\+0x1
+  [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	big_external_common\+0x1
+  [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	big_external_common\+0x1
+  [0-9a-f]+:	lb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	small_external_common\+0x1
+  [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	.bss\+0x1
+  [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	.bss\+0x1
+  [0-9a-f]+:	lb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	.sbss\+0x1
+  [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	.data\+0x8000
+  [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	.data\+0x8000
+  [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label\+0x8000
+  [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label\+0x8000
+  [0-9a-f]+:	lb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	small_external_data_label\+0x8000
+  [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	big_external_common\+0x8000
+  [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	big_external_common\+0x8000
+  [0-9a-f]+:	lb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	small_external_common\+0x8000
+  [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	.bss\+0x8000
+  [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	.bss\+0x8000
+  [0-9a-f]+:	lb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	.sbss\+0x8000
+  [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	.data-0x8000
+  [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	.data-0x8000
+  [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label-0x8000
+  [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label-0x8000
+  [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	small_external_data_label-0x8000
+  [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	small_external_data_label-0x8000
+  [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	big_external_common-0x8000
+  [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	big_external_common-0x8000
+  [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	small_external_common-0x8000
+ [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	small_external_common-0x8000
+ [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	.bss-0x8000
+ [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	.bss-0x8000
+ [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	.sbss-0x8000
+ [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	.sbss-0x8000
+ [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	.data\+0x10000
+ [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	.data\+0x10000
+ [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label\+0x10000
+ [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label\+0x10000
+ [0-9a-f]+:	lb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	small_external_data_label\+0x10000
+ [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	big_external_common\+0x10000
+ [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	big_external_common\+0x10000
+ [0-9a-f]+:	lb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	small_external_common\+0x10000
+ [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	.bss\+0x10000
+ [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	.bss\+0x10000
+ [0-9a-f]+:	lb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	.sbss\+0x10000
+ [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	.data\+0x1a5a5
+ [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	.data\+0x1a5a5
+ [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label\+0x1a5a5
+ [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label\+0x1a5a5
+ [0-9a-f]+:	lb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	small_external_data_label\+0x1a5a5
+ [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	big_external_common\+0x1a5a5
+ [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	big_external_common\+0x1a5a5
+ [0-9a-f]+:	lb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	small_external_common\+0x1a5a5
+ [0-9a-f]+:	lui	a0,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	.bss\+0x1a5a5
+ [0-9a-f]+:	lb	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_LO12	.bss\+0x1a5a5
+ [0-9a-f]+:	lb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	.sbss\+0x1a5a5
+ [0-9a-f]+:	lbu	a0,0\(zero\)
+ [0-9a-f]+:	lh	a0,0\(zero\)
+ [0-9a-f]+:	lhu	a0,0\(zero\)
+ [0-9a-f]+:	lw	a0,0\(zero\)
+#pass
diff --git a/gas/testsuite/gas/nanomips/lb.s b/gas/testsuite/gas/nanomips/lb.s
new file mode 100644
index 00000000000..d1321bb56d2
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/lb.s
@@ -0,0 +1,72 @@
+# Source file used to test the lb macro.
+	
+	.data
+data_label:
+	.extern big_external_data_label,1000
+	.extern small_external_data_label,1
+	.comm big_external_common,1000
+	.comm small_external_common,1
+	.lcomm big_local_common,1000
+	.lcomm small_local_common,1
+	
+	.text
+	lb	$4,0
+	lb	$4,1
+	lb	$4,0x8000
+	lb	$4,-0x8000
+	lb	$4,0x10000
+	lb	$4,0x1a5a5
+	lb	$4,0($5)
+	lb	$4,1($5)
+	lb	$4,0x8000($5)
+	lb	$4,-0x8000($5)
+	lb	$4,0x10000($5)
+	lb	$4,0x1a5a5($5)
+	lb	$4,data_label
+	lb	$4,big_external_data_label
+	lb	$4,small_external_data_label
+	lb	$4,big_external_common
+	lb	$4,small_external_common
+	lb	$4,big_local_common
+	lb	$4,small_local_common
+	lb	$4,data_label+1
+	lb	$4,big_external_data_label+1
+	lb	$4,small_external_data_label+1
+	lb	$4,big_external_common+1
+	lb	$4,small_external_common+1
+	lb	$4,big_local_common+1
+	lb	$4,small_local_common+1
+	lb	$4,data_label+0x8000
+	lb	$4,big_external_data_label+0x8000
+	lb	$4,small_external_data_label+0x8000
+	lb	$4,big_external_common+0x8000
+	lb	$4,small_external_common+0x8000
+	lb	$4,big_local_common+0x8000
+	lb	$4,small_local_common+0x8000
+	lb	$4,data_label-0x8000
+	lb	$4,big_external_data_label-0x8000
+	lb	$4,small_external_data_label-0x8000
+	lb	$4,big_external_common-0x8000
+	lb	$4,small_external_common-0x8000
+	lb	$4,big_local_common-0x8000
+	lb	$4,small_local_common-0x8000
+	lb	$4,data_label+0x10000
+	lb	$4,big_external_data_label+0x10000
+	lb	$4,small_external_data_label+0x10000
+	lb	$4,big_external_common+0x10000
+	lb	$4,small_external_common+0x10000
+	lb	$4,big_local_common+0x10000
+	lb	$4,small_local_common+0x10000
+	lb	$4,data_label+0x1a5a5
+	lb	$4,big_external_data_label+0x1a5a5
+	lb	$4,small_external_data_label+0x1a5a5
+	lb	$4,big_external_common+0x1a5a5
+	lb	$4,small_external_common+0x1a5a5
+	lb	$4,big_local_common+0x1a5a5
+	lb	$4,small_local_common+0x1a5a5
+
+# Several macros are handled like lb.  Sanity check them.
+	lbu	$4,0
+	lh	$4,0
+	lhu	$4,0
+	lw	$4,0
diff --git a/gas/testsuite/gas/nanomips/ld-reloc.d b/gas/testsuite/gas/nanomips/ld-reloc.d
new file mode 100644
index 00000000000..4670cc11b61
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/ld-reloc.d
@@ -0,0 +1,86 @@
+#objdump: -dr
+#name: LD with relocation operators for nanoMIPS
+
+.*file format.*
+
+Disassembly of section \.text:
+
+00000000 <func>:
+   0:	84a4 8004 	lw	a1,4\(a0\)
+   4:	8484 8000 	lw	a0,0\(a0\)
+   8:	0024 7ffb 	addiu	at,a0,32763
+   c:	8481 8000 	lw	a0,0\(at\)
+  10:	84a1 8004 	lw	a1,4\(at\)
+  14:	0024 7ffc 	addiu	at,a0,32764
+  18:	8481 8000 	lw	a0,0\(at\)
+  1c:	84a1 8004 	lw	a1,4\(at\)
+  20:	0024 7fff 	addiu	at,a0,32767
+  24:	8481 8000 	lw	a0,0\(at\)
+  28:	84a1 8004 	lw	a1,4\(at\)
+  2c:	0024 8000 	addiu	at,a0,32768
+  30:	8481 8000 	lw	a0,0\(at\)
+  34:	84a1 8004 	lw	a1,4\(at\)
+  38:	8485 8000 	lw	a0,0\(a1\)
+  3c:	84a5 8004 	lw	a1,4\(a1\)
+  40:	0025 7ffb 	addiu	at,a1,32763
+  44:	8481 8000 	lw	a0,0\(at\)
+  48:	84a1 8004 	lw	a1,4\(at\)
+  4c:	0025 7ffc 	addiu	at,a1,32764
+  50:	8481 8000 	lw	a0,0\(at\)
+  54:	84a1 8004 	lw	a1,4\(at\)
+  58:	0025 7fff 	addiu	at,a1,32767
+  5c:	8481 8000 	lw	a0,0\(at\)
+  60:	84a1 8004 	lw	a1,4\(at\)
+  64:	0025 8000 	addiu	at,a1,32768
+  68:	8481 8000 	lw	a0,0\(at\)
+  6c:	84a1 8004 	lw	a1,4\(at\)
+  70:	e023 7000 	lui	at,%hi\(0x37000\)
+  74:	2025 0950 	addu	at,a1,at
+  78:	8481 8ffb 	lw	a0,4091\(at\)
+  7c:	84a1 8fff 	lw	a1,4095\(at\)
+  80:	e023 7000 	lui	at,%hi\(0x37000\)
+  84:	8021 0ffc 	ori	at,at,0xffc
+  88:	2025 0950 	addu	at,a1,at
+  8c:	8481 8000 	lw	a0,0\(at\)
+  90:	84a1 8004 	lw	a1,4\(at\)
+  94:	e023 7000 	lui	at,%hi\(0x37000\)
+  98:	8021 0fff 	ori	at,at,0xfff
+  9c:	2025 0950 	addu	at,a1,at
+  a0:	8481 8000 	lw	a0,0\(at\)
+  a4:	84a1 8004 	lw	a1,4\(at\)
+  a8:	e023 8000 	lui	at,%hi\(0x38000\)
+  ac:	2025 0950 	addu	at,a1,at
+  b0:	8481 8000 	lw	a0,0\(at\)
+  b4:	84a1 8004 	lw	a1,4\(at\)
+  b8:	8480 8000 	lw	a0,0\(zero\)
+			b8: R_NANOMIPS_LO12	foo
+  bc:	84a0 8000 	lw	a1,0\(zero\)
+			bc: R_NANOMIPS_LO12	foo\+0x4
+  c0:	4080 0002 	lw	a0,0\(gp\)
+			c0: R_NANOMIPS_GPREL19_S2	foo
+  c4:	40a0 0002 	lw	a1,0\(gp\)
+			c4: R_NANOMIPS_GPREL19_S2	foo\+0x4
+  c8:	8480 8765 	lw	a0,1893\(zero\)
+  cc:	84a0 8769 	lw	a1,1897\(zero\)
+  d0:	e034 8244 	lui	at,%hi\(0x12348000\)
+  d4:	8481 8000 	lw	a0,0\(at\)
+  d8:	84a1 8004 	lw	a1,4\(at\)
+  dc:	84a4 8000 	lw	a1,0\(a0\)
+			dc: R_NANOMIPS_LO12	foo\+0x4
+  e0:	8484 8000 	lw	a0,0\(a0\)
+			e0: R_NANOMIPS_LO12	foo
+  e4:	8485 8000 	lw	a0,0\(a1\)
+			e4: R_NANOMIPS_LO12	foo
+  e8:	84a5 8000 	lw	a1,0\(a1\)
+			e8: R_NANOMIPS_LO12	foo\+0x4
+  ec:	8485 8765 	lw	a0,1893\(a1\)
+  f0:	84a5 8769 	lw	a1,1897\(a1\)
+  f4:	e034 8244 	lui	at,%hi\(0x12348000\)
+  f8:	2025 0950 	addu	at,a1,at
+  fc:	8481 8000 	lw	a0,0\(at\)
+ 100:	84a1 8004 	lw	a1,4\(at\)
+ 104:	8485 8000 	lw	a0,0\(a1\)
+			104: R_NANOMIPS_LO12	foo\+0x12348765
+ 108:	84a5 8000 	lw	a1,0\(a1\)
+			108: R_NANOMIPS_LO12	foo\+0x12348769
+#pass
diff --git a/gas/testsuite/gas/nanomips/ld-reloc.s b/gas/testsuite/gas/nanomips/ld-reloc.s
new file mode 100644
index 00000000000..e691b4977cd
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/ld-reloc.s
@@ -0,0 +1,34 @@
+	.data
+data_label:
+	.comm 	foo,4
+	.text
+	.ent	func
+func:
+	ld	$4,($4)
+	ld	$4,0x7ffb($4)
+	ld	$4,0x7ffc($4)
+	ld	$4,0x7fff($4)
+	ld	$4,0x8000($4)
+
+	ld	$4,($5)
+	ld	$4,0x7ffb($5)
+	ld	$4,0x7ffc($5)
+	ld	$4,0x7fff($5)
+	ld	$4,0x8000($5)
+	ld	$4,0x37ffb($5)
+	ld	$4,0x37ffc($5)
+	ld	$4,0x37fff($5)
+	ld	$4,0x38000($5)
+
+	ld	$4,%lo(foo)
+	ld	$4,%gprel(foo)
+	ld	$4,%lo(0x12348765)
+	ld	$4,%hi(0x12348765)
+
+	ld	$4,%lo(foo)($4)
+	ld	$4,%lo(foo)($5)
+
+	ld	$4,%lo(0x12348765)($5)
+	ld	$4,%hi(0x12348765)($5)
+	ld	$4,%lo(foo+0x12348765)($5)
+	.end	func
diff --git a/gas/testsuite/gas/nanomips/ld.d b/gas/testsuite/gas/nanomips/ld.d
new file mode 100644
index 00000000000..93666cf6221
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/ld.d
@@ -0,0 +1,174 @@
+#objdump: -dr --no-show-raw-insn
+#name: nanoMIPS ld
+#source: ld.s
+
+# Test the ld macro on nanoMIPS
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+
+00000000 <text_label>:
+       0:	lwm	a0,0\(zero\),2
+       4:	lwm	a0,1\(zero\),2
+       8:	li	at,4092
+       c:	lwm	a0,0\(at\),2
+      10:	li	at,-4092
+      14:	lwm	a0,0\(at\),2
+      18:	li	at,4096
+      1c:	lwm	a0,0\(at\),2
+      20:	li	at,0x1a5a5
+      26:	lwm	a0,0\(at\),2
+      2a:	lwm	a0,0\(a1\),2
+      2e:	lwm	a0,1\(a1\),2
+      32:	addiu	at,a1,4092
+      36:	lwm	a0,0\(at\),2
+      3a:	addiu	at,a1,-4092
+      3e:	lwm	a0,0\(at\),2
+      42:	addiu	at,a1,4096
+      46:	lwm	a0,0\(at\),2
+      4a:	li	at,0x1a5a5
+      50:	addu	at,a1,at
+      54:	lwm	a0,0\(at\),2
+      58:	li	at,0x0
+			5a: R_NANOMIPS_I32	\.data
+      5e:	lwm	a0,0\(at\),2
+      62:	li	at,0x0
+			64: R_NANOMIPS_I32	big_external_data_label
+      68:	lwm	a0,0\(at\),2
+      6c:	lw	a0,0\(gp\)
+			6c: R_NANOMIPS_GPREL19_S2	small_external_data_label
+      70:	lw	a1,0\(gp\)
+			70: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0x4
+      74:	li	at,0x0
+			76: R_NANOMIPS_I32	big_external_common
+      7a:	lwm	a0,0\(at\),2
+      7e:	lw	a0,0\(gp\)
+			7e: R_NANOMIPS_GPREL19_S2	small_external_common
+      82:	lw	a1,0\(gp\)
+			82: R_NANOMIPS_GPREL19_S2	small_external_common\+0x4
+      86:	li	at,0x0
+			88: R_NANOMIPS_I32	\.bss
+      8c:	lwm	a0,0\(at\),2
+      90:	lw	a0,0\(gp\)
+			90: R_NANOMIPS_GPREL19_S2	\.sbss
+      94:	lw	a1,0\(gp\)
+			94: R_NANOMIPS_GPREL19_S2	\.sbss\+0x4
+      98:	li	at,0x0
+			9a: R_NANOMIPS_I32	\.data\+0x1
+      9e:	lwm	a0,0\(at\),2
+      a2:	li	at,0x0
+			a4: R_NANOMIPS_I32	big_external_data_label\+0x1
+      a8:	lwm	a0,0\(at\),2
+      ac:	lw	a0,0\(gp\)
+			ac: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0x1
+      b0:	lw	a1,0\(gp\)
+			b0: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0x5
+      b4:	li	at,0x0
+			b6: R_NANOMIPS_I32	big_external_common\+0x1
+      ba:	lwm	a0,0\(at\),2
+      be:	lw	a0,0\(gp\)
+			be: R_NANOMIPS_GPREL19_S2	small_external_common\+0x1
+      c2:	lw	a1,0\(gp\)
+			c2: R_NANOMIPS_GPREL19_S2	small_external_common\+0x5
+      c6:	li	at,0x0
+			c8: R_NANOMIPS_I32	\.bss\+0x1
+      cc:	lwm	a0,0\(at\),2
+      d0:	lw	a0,0\(gp\)
+			d0: R_NANOMIPS_GPREL19_S2	\.sbss\+0x1
+      d4:	lw	a1,0\(gp\)
+			d4: R_NANOMIPS_GPREL19_S2	\.sbss\+0x5
+      d8:	li	at,0x0
+			da: R_NANOMIPS_I32	\.data\+0xffc
+      de:	lwm	a0,0\(at\),2
+      e2:	li	at,0x0
+			e4: R_NANOMIPS_I32	big_external_data_label\+0xffc
+      e8:	lwm	a0,0\(at\),2
+      ec:	lw	a0,0\(gp\)
+			ec: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0xffc
+      f0:	lw	a1,0\(gp\)
+			f0: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0x1000
+      f4:	li	at,0x0
+			f6: R_NANOMIPS_I32	big_external_common\+0xffc
+      fa:	lwm	a0,0\(at\),2
+      fe:	lw	a0,0\(gp\)
+			fe: R_NANOMIPS_GPREL19_S2	small_external_common\+0xffc
+     102:	lw	a1,0\(gp\)
+			102: R_NANOMIPS_GPREL19_S2	small_external_common\+0x1000
+     106:	li	at,0x0
+			108: R_NANOMIPS_I32	\.bss\+0xffc
+     10c:	lwm	a0,0\(at\),2
+     110:	lw	a0,0\(gp\)
+			110: R_NANOMIPS_GPREL19_S2	\.sbss\+0xffc
+     114:	lw	a1,0\(gp\)
+			114: R_NANOMIPS_GPREL19_S2	\.sbss\+0x1000
+     118:	li	at,0x0
+			11a: R_NANOMIPS_I32	\.data-0xffc
+     11e:	lwm	a0,0\(at\),2
+     122:	li	at,0x0
+			124: R_NANOMIPS_I32	big_external_data_label-0xffc
+     128:	lwm	a0,0\(at\),2
+     12c:	li	at,0x0
+			12e: R_NANOMIPS_I32	small_external_data_label-0xffc
+     132:	lwm	a0,0\(at\),2
+     136:	li	at,0x0
+			138: R_NANOMIPS_I32	big_external_common-0xffc
+     13c:	lwm	a0,0\(at\),2
+     140:	li	at,0x0
+			142: R_NANOMIPS_I32	small_external_common-0xffc
+     146:	lwm	a0,0\(at\),2
+     14a:	li	at,0x0
+			14c: R_NANOMIPS_I32	\.bss-0xffc
+     150:	lwm	a0,0\(at\),2
+     154:	li	at,0x0
+			156: R_NANOMIPS_I32	\.sbss-0xffc
+     15a:	lwm	a0,0\(at\),2
+     15e:	li	at,0x0
+			160: R_NANOMIPS_I32	\.data\+0x1000
+     164:	lwm	a0,0\(at\),2
+     168:	li	at,0x0
+			16a: R_NANOMIPS_I32	big_external_data_label\+0x1000
+     16e:	lwm	a0,0\(at\),2
+     172:	lw	a0,0\(gp\)
+			172: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0x1000
+     176:	lw	a1,0\(gp\)
+			176: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0x1004
+     17a:	li	at,0x0
+			17c: R_NANOMIPS_I32	big_external_common\+0x1000
+     180:	lwm	a0,0\(at\),2
+     184:	lw	a0,0\(gp\)
+			184: R_NANOMIPS_GPREL19_S2	small_external_common\+0x1000
+     188:	lw	a1,0\(gp\)
+			188: R_NANOMIPS_GPREL19_S2	small_external_common\+0x1004
+     18c:	li	at,0x0
+			18e: R_NANOMIPS_I32	\.bss\+0x1000
+     192:	lwm	a0,0\(at\),2
+     196:	lw	a0,0\(gp\)
+			196: R_NANOMIPS_GPREL19_S2	\.sbss\+0x1000
+     19a:	lw	a1,0\(gp\)
+			19a: R_NANOMIPS_GPREL19_S2	\.sbss\+0x1004
+     19e:	li	at,0x0
+			1a0: R_NANOMIPS_I32	\.data\+0x1a5a5
+     1a4:	lwm	a0,0\(at\),2
+     1a8:	li	at,0x0
+			1aa: R_NANOMIPS_I32	big_external_data_label\+0x1a5a5
+     1ae:	lwm	a0,0\(at\),2
+     1b2:	lw	a0,0\(gp\)
+			1b2: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0x1a5a5
+     1b6:	lw	a1,0\(gp\)
+			1b6: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0x1a5a9
+     1ba:	li	at,0x0
+			1bc: R_NANOMIPS_I32	big_external_common\+0x1a5a5
+     1c0:	lwm	a0,0\(at\),2
+     1c4:	lw	a0,0\(gp\)
+			1c4: R_NANOMIPS_GPREL19_S2	small_external_common\+0x1a5a5
+     1c8:	lw	a1,0\(gp\)
+			1c8: R_NANOMIPS_GPREL19_S2	small_external_common\+0x1a5a9
+     1cc:	li	at,0x0
+			1ce: R_NANOMIPS_I32	\.bss\+0x1a5a5
+     1d2:	lwm	a0,0\(at\),2
+     1d6:	lw	a0,0\(gp\)
+			1d6: R_NANOMIPS_GPREL19_S2	\.sbss\+0x1a5a5
+     1da:	lw	a1,0\(gp\)
+			1da: R_NANOMIPS_GPREL19_S2	\.sbss\+0x1a5a9
+#pass
diff --git a/gas/testsuite/gas/nanomips/ld.s b/gas/testsuite/gas/nanomips/ld.s
new file mode 100644
index 00000000000..1d68dafa327
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/ld.s
@@ -0,0 +1,145 @@
+# Source file used to test the doubleword memory access macros
+# (ld and friends).
+
+	.ifdef mc_large
+	.set mcmodel=large
+	.endif
+	
+	.ifdef mc_medium
+	.set mcmodel=medium
+	.endif
+	
+# By default test ld.
+	.set	d4, $4
+	
+# If defined, test sd instead.
+	.ifdef	tsd
+	.macro	ld ops:vararg
+	sd	\ops
+	.endm
+	.endif
+# If defined, test l.d instead.
+	.ifdef	tl_d
+	.set	d4, $f4
+	.macro	ld ops:vararg
+	l.d	\ops
+	.endm
+	.endif
+# If defined, test s.d instead.
+	.ifdef	ts_d
+	.set	d4, $f4
+	.macro	ld ops:vararg
+	s.d	\ops
+	.endm
+	.endif
+# If defined, test ldc1 instead.
+	.ifdef	tldc1
+	.set	d4, $f4
+	.macro	ld ops:vararg
+	ldc1	\ops
+	.endm
+	.endif
+# If defined, test sdc1 instead.
+	.ifdef	tsdc1
+	.set	d4, $f4
+	.macro	ld ops:vararg
+	sdc1	\ops
+	.endm
+	.endif
+# If defined, test lw instead.
+	.ifdef	tlw
+	.macro	ld ops:vararg
+	lw	\ops
+	.endm
+	.endif
+# If defined, test sw instead.
+	.ifdef	tsw
+	.macro	ld ops:vararg
+	sw	\ops
+	.endm
+	.endif
+
+	.equ lo_max,0xffc
+	.equ hi_min,0x1000
+
+	.macro	data
+	.bss
+	.align	12
+	.sbss
+	.align	12
+	.data
+	.align	12
+data_label:
+	.extern big_external_data_label,1000
+	.extern small_external_data_label,1
+	.comm big_external_common,1000
+	.comm small_external_common,1
+	.lcomm big_local_common,1000
+	.lcomm small_local_common,1
+	.endm
+
+	.ifndef	forward
+	data
+	.endif
+
+	.text
+	.align	12
+text_label:
+	ld	d4,0
+	ld	d4,1
+	ld	d4,lo_max
+	ld	d4,-lo_max
+	ld	d4,hi_min
+	ld	d4,0x1a5a5
+	ld	d4,0($5)
+	ld	d4,1($5)
+	ld	d4,lo_max($5)
+	ld	d4,-lo_max($5)
+	ld	d4,hi_min($5)
+	ld	d4,0x1a5a5($5)
+	ld	d4,data_label
+	ld	d4,big_external_data_label
+	ld	d4,small_external_data_label
+	ld	d4,big_external_common
+	ld	d4,small_external_common
+	ld	d4,big_local_common
+	ld	d4,small_local_common
+	ld	d4,data_label+1
+	ld	d4,big_external_data_label+1
+	ld	d4,small_external_data_label+1
+	ld	d4,big_external_common+1
+	ld	d4,small_external_common+1
+	ld	d4,big_local_common+1
+	ld	d4,small_local_common+1
+	ld	d4,data_label+lo_max
+	ld	d4,big_external_data_label+lo_max
+	ld	d4,small_external_data_label+lo_max
+	ld	d4,big_external_common+lo_max
+	ld	d4,small_external_common+lo_max
+	ld	d4,big_local_common+lo_max
+	ld	d4,small_local_common+lo_max
+	ld	d4,data_label-lo_max
+	ld	d4,big_external_data_label-lo_max
+	ld	d4,small_external_data_label-lo_max
+	ld	d4,big_external_common-lo_max
+	ld	d4,small_external_common-lo_max
+	ld	d4,big_local_common-lo_max
+	ld	d4,small_local_common-lo_max
+	ld	d4,data_label+hi_min
+	ld	d4,big_external_data_label+hi_min
+	ld	d4,small_external_data_label+hi_min
+	ld	d4,big_external_common+hi_min
+	ld	d4,small_external_common+hi_min
+	ld	d4,big_local_common+hi_min
+	ld	d4,small_local_common+hi_min
+	ld	d4,data_label+0x1a5a5
+	ld	d4,big_external_data_label+0x1a5a5
+	ld	d4,small_external_data_label+0x1a5a5
+	ld	d4,big_external_common+0x1a5a5
+	ld	d4,small_external_common+0x1a5a5
+	ld	d4,big_local_common+0x1a5a5
+	ld	d4,small_local_common+0x1a5a5
+
+	.ifdef	forward
+	data
+	.endif
diff --git a/gas/testsuite/gas/nanomips/li.d b/gas/testsuite/gas/nanomips/li.d
new file mode 100644
index 00000000000..67ab935fc5a
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/li.d
@@ -0,0 +1,16 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: nanoMIPS li
+
+# Test the li macro (nanoMIPS).
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+0+0000 <foo> d200      	li	a0,0
+0+0002 <foo\+0x2> d201      	li	a0,1
+0+0004 <foo\+0x4> 0080 8000 	li	a0,32768
+0+0008 <foo\+0x8> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+0+000c <foo\+0xc> e081 0000 	lui	a0,%hi\(0x10000\)
+0+0010 <foo\+0x10> e081 a000 	lui	a0,%hi\(0x1a000\)
+0+0014 <foo\+0x14> 8084 05a5 	ori	a0,a0,0x5a5
+#pass
diff --git a/gas/testsuite/gas/nanomips/li.s b/gas/testsuite/gas/nanomips/li.s
new file mode 100644
index 00000000000..7a3848ca4ad
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/li.s
@@ -0,0 +1,9 @@
+# Source file used to test the li macro.
+
+foo:
+	li	$4,0
+	li	$4,1
+	li	$4,0x8000
+	li	$4,-0x8000
+	li	$4,0x10000
+	li	$4,0x1a5a5
diff --git a/gas/testsuite/gas/nanomips/lif-pic.d b/gas/testsuite/gas/nanomips/lif-pic.d
new file mode 100644
index 00000000000..4985c3f8615
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/lif-pic.d
@@ -0,0 +1,16 @@
+#objdump: -dr --no-show-raw-insn
+#name: nanoMIPS LI float sysVr4 PIC little endian mode
+#as: -mpic -EL
+#source: lifloat.s
+
+# Test loading immediate floating point values in PIC (nanoMIPS)
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+
+00000000 <foo>:
+   0:	li	a1,0x3ff1f9a6
+   6:	li	a0,0xb50b0f28
+   c:	li	a0,0x3f8fcd36
+#pass
diff --git a/gas/testsuite/gas/nanomips/lifloat-mem.d b/gas/testsuite/gas/nanomips/lifloat-mem.d
new file mode 100644
index 00000000000..0ebccf63566
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/lifloat-mem.d
@@ -0,0 +1,20 @@
+#objdump: -dr --no-show-raw-insn
+#name: LI float without float construction
+#source: lifloat.s
+#as: --no-construct-floats
+
+# Test loading immediate floating point values without float construction
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+
+00000000 <foo>:
+   0:	li	at,0x0
+			2: R_NANOMIPS_I32	.rodata
+   6:	lwm	a0,0\(at\),2
+   a:	lui	a0,0x0
+			a: R_NANOMIPS_HI20	.rodata\+0x8
+   e:	lw	a0,0\(a0\)
+			e: R_NANOMIPS_LO12	.rodata\+0x8
+#pass
diff --git a/gas/testsuite/gas/nanomips/lifloat-nms.d b/gas/testsuite/gas/nanomips/lifloat-nms.d
new file mode 100644
index 00000000000..ce279c0cdbe
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/lifloat-nms.d
@@ -0,0 +1,20 @@
+#objdump: -dr --no-show-raw-insn
+#name: LI float nanoMIPS subset
+#source: lifloat.s
+
+# Test loading immediate floating point values (nanoMIPS subset)
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+
+00000000 <foo>:
+   0:	lui	at,0x0
+			0: R_NANOMIPS_HI20	\.rodata
+   4:	lw	a0,0\(at\)
+			4: R_NANOMIPS_LO12	\.rodata
+   8:	lw	a1,0\(at\)
+			8: R_NANOMIPS_LO12	\.rodata\+0x4
+   c:	lui	a0,%hi\(0x3f8fc000\)
+  10:	ori	a0,a0,0xd36
+#pass
diff --git a/gas/testsuite/gas/nanomips/lifloat.d b/gas/testsuite/gas/nanomips/lifloat.d
new file mode 100644
index 00000000000..b58b3f9bc2f
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/lifloat.d
@@ -0,0 +1,15 @@
+#objdump: -dr --no-show-raw-insn
+#name: nanoMIPS LI float little endian
+#as: -EL
+
+# Test loading immediate floating point values (nanoMIPS)
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+
+00000000 <foo>:
+   0:	li	a1,0x3ff1f9a6
+   6:	li	a0,0xb50b0f28
+   c:	li	a0,0x3f8fcd36
+#pass
diff --git a/gas/testsuite/gas/nanomips/lifloat.s b/gas/testsuite/gas/nanomips/lifloat.s
new file mode 100644
index 00000000000..03610eb4c26
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/lifloat.s
@@ -0,0 +1,6 @@
+# Source file used to test the li.d and li.s macros.
+	
+foo:	
+	li.d	$4,1.12345
+	li.s	$4,1.12345
+
diff --git a/gas/testsuite/gas/nanomips/lineno.d b/gas/testsuite/gas/nanomips/lineno.d
new file mode 100644
index 00000000000..a6ef3bca35c
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/lineno.d
@@ -0,0 +1,86 @@
+#objdump: -d -l
+#name: assembly line numbers
+#as: --gstabs
+
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+00000000 <main>:
+main\(\):
+.*:10
+   0:	83bd 8018 	addiu	sp,sp,-24
+.*:11
+   4:	b7e5      	sw	ra,20\(sp\)
+.*:12
+   6:	b7c4      	sw	fp,16\(sp\)
+.*:13
+   8:	13dd      	move	fp,sp
+.*:14
+   a:	2a00 0000 	balc	0 <__main>
+.*:15
+   e:	0040 0002 	li	t4,2
+.*:16
+  12:	845e 9000 	sw	t4,0\(fp\)
+.*:17
+  16:	845e 8000 	lw	t4,0\(fp\)
+.*:18
+  1a:	1062      	move	t5,t4
+.*:19
+  1c:	8083 c001 	sll	a0,t5,1
+.*:20
+  20:	2044 1150 	addu	t4,a0,t4
+.*:21
+  24:	845e 9004 	sw	t4,4\(fp\)
+.*:22
+  28:	849e 8004 	lw	a0,4\(fp\)
+.*:23
+  2c:	2a00 0000 	balc	44 <g>
+.*:24
+  30:	847e 8000 	lw	t5,0\(fp\)
+.*:25
+  34:	1043      	move	t4,t5
+.*:26
+  36:	1800      	bc	38 <\$L1>
+
+00000038 <\$L1>:
+.*:28
+  38:	13be      	move	sp,fp
+.*:29
+  3a:	37e5      	lw	ra,20\(sp\)
+.*:30
+  3c:	37c4      	lw	fp,16\(sp\)
+.*:31
+  3e:	03bd 0018 	addiu	sp,sp,24
+.*:32
+  42:	dbe0      	jrc	ra
+
+00000044 <g>:
+g\(\):
+.*:41
+  44:	83bd 8018 	addiu	sp,sp,-24
+.*:42
+  48:	b7c4      	sw	fp,16\(sp\)
+.*:43
+  4a:	13dd      	move	fp,sp
+.*:44
+  4c:	849e 9000 	sw	a0,0\(fp\)
+.*:45
+  50:	845e 8000 	lw	t4,0\(fp\)
+.*:46
+  54:	0062 0001 	addiu	t5,t4,1
+.*:47
+  58:	1043      	move	t4,t5
+.*:48
+  5a:	1800      	bc	5c <\$L2>
+
+0000005c <\$L2>:
+.*:50
+  5c:	13be      	move	sp,fp
+.*:51
+  5e:	37c4      	lw	fp,16\(sp\)
+.*:52
+  60:	03bd 0018 	addiu	sp,sp,24
+.*:53
+  64:	dbe0      	jrc	ra
+#pass
diff --git a/gas/testsuite/gas/nanomips/lineno.s b/gas/testsuite/gas/nanomips/lineno.s
new file mode 100644
index 00000000000..0d651808f1a
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/lineno.s
@@ -0,0 +1,54 @@
+	.text
+
+# some real code, compiled from a toy C program
+	.globl  main
+	.ent    main
+main:
+	.frame  $fp,24,$31              # vars= 16, regs= 2/0, args= 0, extra= 0
+	.mask   0xc0000000,-8
+	.fmask  0x00000000,0
+	subu    $sp,$sp,24
+	sw      $31,20($sp)
+	sw      $fp,16($sp)
+	move    $fp,$sp
+	jal     __main
+	li      $2,2                    # 0x2
+	sw      $2,0($fp)
+	lw      $2,0($fp)
+	move    $3,$2
+	sll     $4,$3,1
+	addu    $2,$4,$2
+	sw      $2,4($fp)
+	lw      $4,4($fp)
+	jal     g
+	lw      $3,0($fp)
+	move    $2,$3
+	b       $L1
+$L1:
+	move    $sp,$fp
+	lw      $31,20($sp)
+	lw      $fp,16($sp)
+	addu    $sp,$sp,24
+	j       $31
+	.end    main
+	.align  2
+	.globl  g
+	.ent    g
+g:
+	.frame  $fp,24,$31              # vars= 16, regs= 1/0, args= 0, extra= 0
+	.mask   0x40000000,-16
+	.fmask  0x00000000,0
+	subu    $sp,$sp,24
+	sw      $fp,16($sp)
+	move    $fp,$sp
+	sw      $4,0($fp)
+	lw      $2,0($fp)
+	addu    $3,$2,1
+	move    $2,$3
+	b       $L2
+$L2:
+	move    $sp,$fp
+	lw      $fp,16($sp)
+	addu    $sp,$sp,24
+	j       $31
+	.end    g
diff --git a/gas/testsuite/gas/nanomips/linkrelax-dis.d b/gas/testsuite/gas/nanomips/linkrelax-dis.d
new file mode 100644
index 00000000000..21a788aa644
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/linkrelax-dis.d
@@ -0,0 +1,30 @@
+#objdump: -dr
+#name: nanoMIPS PC-relative disassembly with linkrelax flag
+
+# Check nanoMIPS PC-relative disassembly with linkrelax
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+
+[0-9a-f]+ <test>:
+   0:	0480 0000 	lapc	a0,12 <test1>
+			[0-9a-f]+: R_NANOMIPS_PC21_S1	test1
+			[0-9a-f]+: R_NANOMIPS_ALIGN	__reloc_align_\^B_1
+			[0-9a-f]+: R_NANOMIPS_FILL	__reloc_fill_\^B_8
+			[0-9a-f]+: R_NANOMIPS_MAX	__reloc_max_\^B_a
+   4:	9a00      	beqzc	a0,12 <test1>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test1
+			[0-9a-f]+: R_NANOMIPS_NORELAX	\*ABS\*
+   6:	9008      	nop
+   8:	8000 c000 	nop
+   c:	8000 c000 	nop
+  10:	3800      	balc	0 <test>
+			[0-9a-f]+: R_NANOMIPS_PC10_S1	test
+			[0-9a-f]+: R_NANOMIPS_RELAX	\*ABS\*
+
+[0-9a-f]+ <test1>:
+  12:	9008      	nop
+  14:	8000 c000 	nop
+  18:	8000 c000 	nop
+  1c:	8000 c000 	nop
diff --git a/gas/testsuite/gas/nanomips/linkrelax-dis.s b/gas/testsuite/gas/nanomips/linkrelax-dis.s
new file mode 100644
index 00000000000..ffe79abf9b0
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/linkrelax-dis.s
@@ -0,0 +1,14 @@
+# Check how linker relaxations place-holders affect disassembly
+# of PC-relative instructions
+
+test:
+	.linkrelax
+	.balign 8,8,0xa
+	lapc $a0,test1
+	.set nolinkrelax
+	beqc $a0,$zero,test1
+	.set linkrelax
+	.align 4
+	balc test
+test1:
+	nop
diff --git a/gas/testsuite/gas/nanomips/linkrelax-relocs.d b/gas/testsuite/gas/nanomips/linkrelax-relocs.d
new file mode 100644
index 00000000000..e89adc82cbf
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/linkrelax-relocs.d
@@ -0,0 +1,79 @@
+#name: Relaxation relocations on nanoMIPS
+#DUMPPROG: readelf
+#readelf: -Wr -Ws
+#as: --defsym relaxmode=1
+#source: linkrelax.s
+
+#...
+Relocation section '\.rela\.text' at offset 0x[0-9a-f]+ contains 39 entries:
+ Offset     Info    Type                Sym. Value  Symbol's Name \+ Addend
+00000004  [0-9a-f]+ R_NANOMIPS_ALIGN       00000003   __reloc_align_\^B_1 \+ 0
+00000008  [0-9a-f]+ R_NANOMIPS_PC25_S1     00000030   test2 \+ 0
+00000008  [0-9a-f]+ R_NANOMIPS_INSN32                 0
+0000000c  [0-9a-f]+ R_NANOMIPS_ALIGN       00000003   __reloc_align_\^B_2 \+ 0
+00000010  [0-9a-f]+ R_NANOMIPS_PC10_S1     00000030   test2 \+ 0
+00000010  [0-9a-f]+ R_NANOMIPS_INSN16                 0
+00000014  [0-9a-f]+ R_NANOMIPS_NORELAX                0
+00000018  [0-9a-f]+ R_NANOMIPS_PC25_S1     00000030   test2 \+ 0
+00000020  [0-9a-f]+ R_NANOMIPS_PC10_S1     00000030   test2 \+ 0
+0000002a  [0-9a-f]+ R_NANOMIPS_RELAX                  0
+0000002c  [0-9a-f]+ R_NANOMIPS_ALIGN       00000003   __reloc_align_\^B_3 \+ 0
+00000032  [0-9a-f]+ R_NANOMIPS_ALIGN       00000003   __reloc_align_\^B_4 \+ 0
+00000032  [0-9a-f]+ R_NANOMIPS_FILL        0000000a   __reloc_fill_\^B_a \+ 0
+0000003a  [0-9a-f]+ R_NANOMIPS_ALIGN       00000003   __reloc_align_\^B_5 \+ 0
+0000003a  [0-9a-f]+ R_NANOMIPS_FILL        000000ab   __reloc_fill_\^B_ab \+ 0
+0000003a  [0-9a-f]+ R_NANOMIPS_MAX         00000005   __reloc_max_\^B_5 \+ 0
+00000042  [0-9a-f]+ R_NANOMIPS_ALIGN       00000003   __reloc_align_\^B_6 \+ 0
+00000042  [0-9a-f]+ R_NANOMIPS_FILL        000000cd   __reloc_fill_\^B_cd \+ 0
+00000042  [0-9a-f]+ R_NANOMIPS_MAX         00000006   __reloc_max_\^B_6 \+ 0
+0000004c  [0-9a-f]+ R_NANOMIPS_ALIGN       00000003   __reloc_align_\^B_7 \+ 0
+0000004c  [0-9a-f]+ R_NANOMIPS_FILL        0000abcd   __reloc_fill_\^B_abcd \+ 0
+0000004c  [0-9a-f]+ R_NANOMIPS_MAX         00000006   __reloc_max_\^B_6 \+ 0
+00000054  [0-9a-f]+ R_NANOMIPS_ALIGN       00000003   __reloc_align_\^B_8 \+ 0
+00000054  [0-9a-f]+ R_NANOMIPS_FILL        abcd1234   __reloc_fill_\^B_abcd1234 \+ 0
+00000054  [0-9a-f]+ R_NANOMIPS_MAX         00000006   __reloc_max_\^B_6 \+ 0
+0000005c  [0-9a-f]+ R_NANOMIPS_ALIGN       00000004   __reloc_align_\^B_9 \+ 0
+0000005c  [0-9a-f]+ R_NANOMIPS_FILL        0000000b   __reloc_fill_\^B_b \+ 0
+00000062  [0-9a-f]+ R_NANOMIPS_ALIGN       00000004   __reloc_align_\^B_10 \+ 0
+00000062  [0-9a-f]+ R_NANOMIPS_FILL        000000ba   __reloc_fill_\^B_ba \+ 0
+00000062  [0-9a-f]+ R_NANOMIPS_MAX         00000005   __reloc_max_\^B_5 \+ 0
+00000064  [0-9a-f]+ R_NANOMIPS_ALIGN       00000004   __reloc_align_\^B_11 \+ 0
+00000064  [0-9a-f]+ R_NANOMIPS_FILL        000000ba   __reloc_fill_\^B_ba \+ 0
+00000064  [0-9a-f]+ R_NANOMIPS_MAX         0000000c   __reloc_max_\^B_c \+ 0
+00000074  [0-9a-f]+ R_NANOMIPS_ALIGN       00000004   __reloc_align_\^B_12 \+ 0
+00000074  [0-9a-f]+ R_NANOMIPS_FILL        0000dcba   __reloc_fill_\^B_dcba \+ 0
+00000074  [0-9a-f]+ R_NANOMIPS_MAX         00000010   __reloc_max_\^B_10 \+ 0
+00000084  [0-9a-f]+ R_NANOMIPS_ALIGN       00000004   __reloc_align_\^B_13 \+ 0
+00000084  [0-9a-f]+ R_NANOMIPS_FILL        4321dcba   __reloc_fill_\^B_4321dcba \+ 0
+00000084  [0-9a-f]+ R_NANOMIPS_MAX         00000010   __reloc_max_\^B_10 \+ 0
+#...
+Symbol table '.symtab' contains [0-9]+ entries:
+#...
+ +[0-9]+: 00000003     4 NOTYPE  LOCAL  DEFAULT  ABS __reloc_align_\^B_1
+.*
+ +[0-9]+: 00000003     4 NOTYPE  LOCAL  DEFAULT  ABS __reloc_align_\^B_2
+ +[0-9]+: 00000003     4 NOTYPE  LOCAL  DEFAULT  ABS __reloc_align_\^B_3
+ +[0-9]+: 00000003     6 NOTYPE  LOCAL  DEFAULT  ABS __reloc_align_\^B_4
+ +[0-9]+: 0000000a     1 NOTYPE  LOCAL  DEFAULT  ABS __reloc_fill_\^B_a
+ +[0-9]+: 00000003     0 NOTYPE  LOCAL  DEFAULT  ABS __reloc_align_\^B_5
+ +[0-9]+: 000000ab     1 NOTYPE  LOCAL  DEFAULT  ABS __reloc_fill_\^B_ab
+ +[0-9]+: 00000005     0 NOTYPE  LOCAL  DEFAULT  ABS __reloc_max_\^B_5
+ +[0-9]+: 00000003     6 NOTYPE  LOCAL  DEFAULT  ABS __reloc_align_\^B_6
+ +[0-9]+: 000000cd     1 NOTYPE  LOCAL  DEFAULT  ABS __reloc_fill_\^B_cd
+ +[0-9]+: 00000006     0 NOTYPE  LOCAL  DEFAULT  ABS __reloc_max_\^B_6
+ +[0-9]+: 00000003     4 NOTYPE  LOCAL  DEFAULT  ABS __reloc_align_\^B_7
+ +[0-9]+: 0000abcd     2 NOTYPE  LOCAL  DEFAULT  ABS __reloc_fill_\^B_abcd
+ +[0-9]+: 00000003     4 NOTYPE  LOCAL  DEFAULT  ABS __reloc_align_\^B_8
+ +[0-9]+: abcd1234     4 NOTYPE  LOCAL  DEFAULT  ABS __reloc_fill_\^B_abcd1234
+ +[0-9]+: 00000004     4 NOTYPE  LOCAL  DEFAULT  ABS __reloc_align_\^B_9
+ +[0-9]+: 0000000b     1 NOTYPE  LOCAL  DEFAULT  ABS __reloc_fill_\^B_b
+ +[0-9]+: 00000004     0 NOTYPE  LOCAL  DEFAULT  ABS __reloc_align_\^B_10
+ +[0-9]+: 000000ba     1 NOTYPE  LOCAL  DEFAULT  ABS __reloc_fill_\^B_ba
+ +[0-9]+: 00000004    12 NOTYPE  LOCAL  DEFAULT  ABS __reloc_align_\^B_11
+ +[0-9]+: 0000000c     0 NOTYPE  LOCAL  DEFAULT  ABS __reloc_max_\^B_c
+ +[0-9]+: 00000004    12 NOTYPE  LOCAL  DEFAULT  ABS __reloc_align_\^B_12
+ +[0-9]+: 0000dcba     2 NOTYPE  LOCAL  DEFAULT  ABS __reloc_fill_\^B_dcba
+ +[0-9]+: 00000010     0 NOTYPE  LOCAL  DEFAULT  ABS __reloc_max_\^B_10
+ +[0-9]+: 00000004    12 NOTYPE  LOCAL  DEFAULT  ABS __reloc_align_\^B_13
+ +[0-9]+: 4321dcba     4 NOTYPE  LOCAL  DEFAULT  ABS __reloc_fill_\^B_4321dcba
+#pass
diff --git a/gas/testsuite/gas/nanomips/linkrelax.d b/gas/testsuite/gas/nanomips/linkrelax.d
new file mode 100644
index 00000000000..f2bbd7d93b2
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/linkrelax.d
@@ -0,0 +1,17 @@
+#name: Relaxation code dump for nanoMIPS little-endian
+#objdump: -sj.text
+#as: --defsym relaxmode=1 -EL
+#source: linkrelax.s
+
+#...
+Contents of section \.text:
+ 0000 48000400 008000c0 00280000 008000c0  .*
+ 0010 00180890 43000400 00280000 008000c0  .*
+ 0020 00180890 008000c0 08900890 008000c0  .*
+ 0030 4c900a0a 0a0a0a0a 08900080 00c00080  .*
+ 0040 00c0cdcd cdcdcdcd 008000c0 cdabcdab  .*
+ 0050 008000c0 3412cdab 43000400 0b0b0b0b  .*
+ 0060 08900890 babababa babababa babababa  .*
+ 0070 008000c0 badcbadc badcbadc badcbadc  .*
+ 0080 008000c0 badc2143 badc2143 badc2143  .*
+ 0090 08900890 00c00080 00c00080 00c00080  .*
diff --git a/gas/testsuite/gas/nanomips/linkrelax.s b/gas/testsuite/gas/nanomips/linkrelax.s
new file mode 100644
index 00000000000..2204ae1a9cb
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/linkrelax.s
@@ -0,0 +1,54 @@
+	.text
+	.ifdef relaxmode
+	.linkrelax
+	.endif
+	.ent test1
+test1:
+	addiu $2, $8, 4
+	.p2align 3	# no FILL, no MAX
+	b32 test2
+	.align 3	# no FILL
+	b16 test2
+	.balign 2	# no FILL, no MAX
+	nop
+	.set  nolinkrelax
+	addiu $2, $3, 4
+	.p2align 3
+	b32 test2
+	.align 3
+	b16 test2
+	.balign 8
+	nop
+	.set linkrelax
+	nop
+	.end test1
+
+	.ent test2
+	.align 3
+test2:
+	addiu $2, $2, 4
+	.p2align 3,0xa   # FILL but no MAX
+	nop
+	.p2align 3,0xab,5 # FILL and MAX, no padding will be done
+	nop32
+	nop32
+	.p2align 3,0xcd,6 # FILL and MAX, padded
+	nop32
+	.p2alignw 3,0xabcd,6 # FILL hword and MAX
+	nop32
+	.p2alignl 3,0xabcd1234,6 # FILL word and MAX
+	addiu $2, $3, 4	
+	.balign 16,0xb   # FILL but no MAX
+	nop
+	.balign 16,0xba,5 # FILL and MAX, no padding will be done
+	nop
+	.balign 16,0xba,12 # FILL and MAX, padded
+	nop32
+	.balignw 16,0xdcba,16 # FILL hword and MAX
+	nop32
+	.balignl 16,0x4321dcba,16 # FILL word and MAX
+	nop
+	.word 0x8000c000
+	.word 0x8000c000
+	.word 0x8000c000
+	.end test2
diff --git a/gas/testsuite/gas/nanomips/mcmodel-err.l b/gas/testsuite/gas/nanomips/mcmodel-err.l
new file mode 100644
index 00000000000..936cf656ffd
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/mcmodel-err.l
@@ -0,0 +1,3 @@
+.*: Assembler messages:
+.*:1: Error: invalid memory model setting mcmodel=small
+.*:2: Error: invalid memory model setting mcmodel=any
diff --git a/gas/testsuite/gas/nanomips/mcmodel-err.s b/gas/testsuite/gas/nanomips/mcmodel-err.s
new file mode 100644
index 00000000000..2584360f7e6
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/mcmodel-err.s
@@ -0,0 +1,2 @@
+.set mcmodel=small
+.set mcmodel=any
diff --git a/gas/testsuite/gas/nanomips/mcmodel.l b/gas/testsuite/gas/nanomips/mcmodel.l
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/gas/testsuite/gas/nanomips/mcmodel.s b/gas/testsuite/gas/nanomips/mcmodel.s
new file mode 100644
index 00000000000..8278bb7c87e
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/mcmodel.s
@@ -0,0 +1,3 @@
+.set mcmodel=medium
+.set mcmodel=large
+.set mcmodel=auto
diff --git a/gas/testsuite/gas/nanomips/move.d b/gas/testsuite/gas/nanomips/move.d
new file mode 100644
index 00000000000..073c1a957a8
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/move.d
@@ -0,0 +1,14 @@
+#objdump: -dr -M reg-names=numeric -mnanomips:isa64r6
+#name: nanoMIPS insn32 move test
+#as: -minsn32
+
+# Check objdump's disassembly of the move mnenomic for addu and or.
+
+.*: +file format .*nanomips.*
+
+Disassembly of section .text:
+0+ <[^>]+>:
+   0:	201f 6a90 	move	\$13,\$31
+   4:	201f 6950 	move	\$13,\$31
+   8:	201f 6a90 	move	\$13,\$31
+#pass
diff --git a/gas/testsuite/gas/nanomips/move.s b/gas/testsuite/gas/nanomips/move.s
new file mode 100644
index 00000000000..a72bdca1bd4
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/move.s
@@ -0,0 +1,3 @@
+	move	$13, $31
+	addu	$13, $31, $0
+	or	$13, $31, $0
diff --git a/gas/testsuite/gas/nanomips/mt-ase.d b/gas/testsuite/gas/nanomips/mt-ase.d
new file mode 100644
index 00000000000..556c3afc931
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/mt-ase.d
@@ -0,0 +1,651 @@
+#objdump: -dr --prefix-addresses --show-raw-insn -M cp0-names=32r6
+#name: MIPS MT ASE for nanoMIPS
+
+# Check MIPS MT ASE for nanoMIPS Instruction Assembly
+
+.*: +file format .*nanomips.*
+
+[0-9A-F]+isassembly of section .text:
+[0-9a-f]+ <text_label> 2001 0ab0 	dmt
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 23e1 0ab0 	dmt	ra
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2000 0ab0 	dvpe
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2020 0ab0 	dvpe	at
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2001 0eb0 	emt
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2041 0eb0 	emt	t4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2000 0eb0 	evpe
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2060 0eb0 	evpe	t5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 20c5 2228 	fork	a0,a1,a2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2005 0268 	yield	a1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 20c7 0268 	yield	a2,a3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 20e8 0230 	mftc0	a3,badvaddr
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2100 0230 	mftc0	a4,index
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2100 0a30 	mftc0	a4,mvpcontrol
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2100 1230 	mftc0	a4,mvpconf0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2100 1a30 	mftc0	a4,mvpconf1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2100 2230 	mftc0	a4,vpcontrol
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2100 2a30 	mftc0	a4,\$0,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2100 3230 	mftc0	a4,\$0,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2100 3a30 	mftc0	a4,\$0,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2101 0230 	mftc0	a4,random
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2101 0a30 	mftc0	a4,vpecontrol
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2101 1230 	mftc0	a4,vpeconf0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2101 1a30 	mftc0	a4,vpeconf1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2101 2230 	mftc0	a4,yqmask
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2101 2a30 	mftc0	a4,vpeschedule
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2101 3230 	mftc0	a4,vpeschefback
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2101 3a30 	mftc0	a4,vpeopt
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2102 0230 	mftc0	a4,entrylo0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2102 0a30 	mftc0	a4,tcstatus
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2102 1230 	mftc0	a4,tcbind
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2102 1a30 	mftc0	a4,tcrestart
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2102 2230 	mftc0	a4,tchalt
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2102 2a30 	mftc0	a4,tccontext
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2102 3230 	mftc0	a4,tcschedule
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2102 3a30 	mftc0	a4,tcschefback
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2103 0230 	mftc0	a4,entrylo1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2103 0a30 	mftc0	a4,\$3,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2103 1230 	mftc0	a4,\$3,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2103 1a30 	mftc0	a4,\$3,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2103 2230 	mftc0	a4,\$3,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2103 2a30 	mftc0	a4,\$3,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2103 3230 	mftc0	a4,\$3,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2103 3a30 	mftc0	a4,tcopt
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2104 0230 	mftc0	a4,context
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2104 0a30 	mftc0	a4,contextconfig
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2104 1230 	mftc0	a4,userlocal
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2104 1a30 	mftc0	a4,xcontextconfig
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2104 2230 	mftc0	a4,\$4,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2104 2a30 	mftc0	a4,\$4,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2104 3230 	mftc0	a4,\$4,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2104 3a30 	mftc0	a4,\$4,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2105 0230 	mftc0	a4,pagemask
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2105 0a30 	mftc0	a4,pagegrain
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2105 1230 	mftc0	a4,segctl0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2105 1a30 	mftc0	a4,segctl1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2105 2230 	mftc0	a4,segctl2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2105 2a30 	mftc0	a4,pwbase
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2105 3230 	mftc0	a4,pwfield
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2105 3a30 	mftc0	a4,pwsize
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2106 0230 	mftc0	a4,wired
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2106 0a30 	mftc0	a4,srsconf0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2106 1230 	mftc0	a4,srsconf1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2106 1a30 	mftc0	a4,srsconf2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2106 2230 	mftc0	a4,srsconf3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2106 2a30 	mftc0	a4,srsconf4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2106 3230 	mftc0	a4,pwctl
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2106 3a30 	mftc0	a4,\$6,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2107 0230 	mftc0	a4,hwrena
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2107 0a30 	mftc0	a4,\$7,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2107 1230 	mftc0	a4,\$7,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2107 1a30 	mftc0	a4,\$7,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2107 2230 	mftc0	a4,\$7,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2107 2a30 	mftc0	a4,\$7,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2107 3230 	mftc0	a4,\$7,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2107 3a30 	mftc0	a4,\$7,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2108 0230 	mftc0	a4,badvaddr
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2108 0a30 	mftc0	a4,badinst
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2108 1230 	mftc0	a4,badinstrp
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2108 1a30 	mftc0	a4,\$8,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2108 2230 	mftc0	a4,\$8,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2108 2a30 	mftc0	a4,\$8,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2108 3230 	mftc0	a4,\$8,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2108 3a30 	mftc0	a4,\$8,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2109 0230 	mftc0	a4,count
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2109 0a30 	mftc0	a4,\$9,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2109 1230 	mftc0	a4,\$9,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2109 1a30 	mftc0	a4,\$9,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2109 2230 	mftc0	a4,\$9,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2109 2a30 	mftc0	a4,\$9,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2109 3230 	mftc0	a4,\$9,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2109 3a30 	mftc0	a4,\$9,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210a 0230 	mftc0	a4,entryhi
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210a 0a30 	mftc0	a4,\$10,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210a 1230 	mftc0	a4,\$10,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210a 1a30 	mftc0	a4,\$10,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210a 2230 	mftc0	a4,guestctl1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210a 2a30 	mftc0	a4,guestctl2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210a 3230 	mftc0	a4,guestctl3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210a 3a30 	mftc0	a4,\$10,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210b 0230 	mftc0	a4,compare
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210b 0a30 	mftc0	a4,\$11,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210b 1230 	mftc0	a4,\$11,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210b 1a30 	mftc0	a4,\$11,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210b 2230 	mftc0	a4,guestctl0ext
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210b 2a30 	mftc0	a4,\$11,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210b 3230 	mftc0	a4,\$11,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210b 3a30 	mftc0	a4,\$11,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210c 0230 	mftc0	a4,status
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210c 0a30 	mftc0	a4,intctl
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210c 1230 	mftc0	a4,srsctl
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210c 1a30 	mftc0	a4,srsmap
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210c 2230 	mftc0	a4,view_ipl
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210c 2a30 	mftc0	a4,srsmap2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210c 3230 	mftc0	a4,guestctl0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210c 3a30 	mftc0	a4,gtoffset
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210d 0230 	mftc0	a4,cause
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210d 0a30 	mftc0	a4,\$13,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210d 1230 	mftc0	a4,\$13,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210d 1a30 	mftc0	a4,\$13,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210d 2230 	mftc0	a4,view_ripl
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210d 2a30 	mftc0	a4,nestedexc
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210d 3230 	mftc0	a4,\$13,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210d 3a30 	mftc0	a4,\$13,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210e 0230 	mftc0	a4,epc
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210e 0a30 	mftc0	a4,\$14,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210e 1230 	mftc0	a4,nestedepc
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210e 1a30 	mftc0	a4,\$14,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210e 2230 	mftc0	a4,\$14,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210e 2a30 	mftc0	a4,\$14,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210e 3230 	mftc0	a4,\$14,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210e 3a30 	mftc0	a4,\$14,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210f 0230 	mftc0	a4,prid
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210f 0a30 	mftc0	a4,ebase
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210f 1230 	mftc0	a4,cdmmbase
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210f 1a30 	mftc0	a4,cmgcrbase
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210f 2230 	mftc0	a4,\$15,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210f 2a30 	mftc0	a4,\$15,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210f 3230 	mftc0	a4,\$15,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 210f 3a30 	mftc0	a4,\$15,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2110 0230 	mftc0	a4,config
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2110 0a30 	mftc0	a4,config1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2110 1230 	mftc0	a4,config2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2110 1a30 	mftc0	a4,config3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2110 2230 	mftc0	a4,config4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2110 2a30 	mftc0	a4,config5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2110 3230 	mftc0	a4,\$16,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2110 3a30 	mftc0	a4,\$16,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2111 0230 	mftc0	a4,lladdr
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2111 0a30 	mftc0	a4,\$17,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2111 1230 	mftc0	a4,\$17,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2111 1a30 	mftc0	a4,\$17,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2111 2230 	mftc0	a4,\$17,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2111 2a30 	mftc0	a4,\$17,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2111 3230 	mftc0	a4,\$17,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2111 3a30 	mftc0	a4,\$17,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2112 0230 	mftc0	a4,watchlo,0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2112 0a30 	mftc0	a4,watchlo,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2112 1230 	mftc0	a4,watchlo,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2112 1a30 	mftc0	a4,watchlo,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2112 2230 	mftc0	a4,watchlo,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2112 2a30 	mftc0	a4,watchlo,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2112 3230 	mftc0	a4,watchlo,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2112 3a30 	mftc0	a4,watchlo,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2113 0230 	mftc0	a4,watchhi,0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2113 0a30 	mftc0	a4,watchhi,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2113 1230 	mftc0	a4,watchhi,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2113 1a30 	mftc0	a4,watchhi,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2113 2230 	mftc0	a4,watchhi,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2113 2a30 	mftc0	a4,watchhi,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2113 3230 	mftc0	a4,watchhi,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2113 3a30 	mftc0	a4,watchhi,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2114 0230 	mftc0	a4,xcontext
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2114 0a30 	mftc0	a4,\$20,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2114 1230 	mftc0	a4,\$20,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2114 1a30 	mftc0	a4,\$20,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2114 2230 	mftc0	a4,\$20,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2114 2a30 	mftc0	a4,\$20,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2114 3230 	mftc0	a4,\$20,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2114 3a30 	mftc0	a4,\$20,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2115 0230 	mftc0	a4,\$21
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2115 0a30 	mftc0	a4,\$21,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2115 1230 	mftc0	a4,\$21,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2115 1a30 	mftc0	a4,\$21,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2115 2230 	mftc0	a4,\$21,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2115 2a30 	mftc0	a4,\$21,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2115 3230 	mftc0	a4,\$21,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2115 3a30 	mftc0	a4,\$21,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2116 0230 	mftc0	a4,\$22
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2116 0a30 	mftc0	a4,\$22,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2116 1230 	mftc0	a4,\$22,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2116 1a30 	mftc0	a4,\$22,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2116 2230 	mftc0	a4,\$22,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2116 2a30 	mftc0	a4,\$22,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2116 3230 	mftc0	a4,\$22,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2116 3a30 	mftc0	a4,\$22,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2117 0230 	mftc0	a4,debug
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2117 0a30 	mftc0	a4,tracecontrol
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2117 1230 	mftc0	a4,tracecontrol2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2117 1a30 	mftc0	a4,usertracedata1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2117 2230 	mftc0	a4,traceibpc
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2117 2a30 	mftc0	a4,tracedbpc
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2117 3230 	mftc0	a4,debug2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2117 3a30 	mftc0	a4,\$23,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2118 0230 	mftc0	a4,depc
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2118 0a30 	mftc0	a4,\$24,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2118 1230 	mftc0	a4,tracecontrol3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2118 1a30 	mftc0	a4,usertracedata2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2118 2230 	mftc0	a4,\$24,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2118 2a30 	mftc0	a4,\$24,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2118 3230 	mftc0	a4,\$24,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2118 3a30 	mftc0	a4,\$24,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2119 0230 	mftc0	a4,perfctl,0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2119 0a30 	mftc0	a4,perfcnt,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2119 1230 	mftc0	a4,perfctl,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2119 1a30 	mftc0	a4,perfcnt,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2119 2230 	mftc0	a4,perfctl,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2119 2a30 	mftc0	a4,perfcnt,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2119 3230 	mftc0	a4,perfctl,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2119 3a30 	mftc0	a4,perfcnt,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211a 0230 	mftc0	a4,errctl
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211a 0a30 	mftc0	a4,\$26,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211a 1230 	mftc0	a4,\$26,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211a 1a30 	mftc0	a4,\$26,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211a 2230 	mftc0	a4,\$26,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211a 2a30 	mftc0	a4,\$26,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211a 3230 	mftc0	a4,\$26,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211a 3a30 	mftc0	a4,\$26,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211b 0230 	mftc0	a4,cacheerr
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211b 0a30 	mftc0	a4,\$27,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211b 1230 	mftc0	a4,\$27,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211b 1a30 	mftc0	a4,\$27,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211b 2230 	mftc0	a4,\$27,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211b 2a30 	mftc0	a4,\$27,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211b 3230 	mftc0	a4,\$27,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211b 3a30 	mftc0	a4,\$27,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211c 0230 	mftc0	a4,taglo,0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211c 0a30 	mftc0	a4,datalo,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211c 1230 	mftc0	a4,taglo,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211c 1a30 	mftc0	a4,datalo,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211c 2230 	mftc0	a4,taglo,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211c 2a30 	mftc0	a4,datalo,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211c 3230 	mftc0	a4,taglo,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211c 3a30 	mftc0	a4,datalo,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211d 0230 	mftc0	a4,taghi,0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211d 0a30 	mftc0	a4,datahi,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211d 1230 	mftc0	a4,taghi,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211d 1a30 	mftc0	a4,datahi,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211d 2230 	mftc0	a4,taghi,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211d 2a30 	mftc0	a4,datahi,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211d 3230 	mftc0	a4,taghi,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211d 3a30 	mftc0	a4,datahi,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211e 0230 	mftc0	a4,errorepc
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211e 0a30 	mftc0	a4,\$30,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211e 1230 	mftc0	a4,\$30,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211e 1a30 	mftc0	a4,\$30,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211e 2230 	mftc0	a4,\$30,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211e 2a30 	mftc0	a4,\$30,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211e 3230 	mftc0	a4,\$30,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211e 3a30 	mftc0	a4,\$30,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211f 0230 	mftc0	a4,desave
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211f 0a30 	mftc0	a4,\$31,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211f 1230 	mftc0	a4,kscratch1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211f 1a30 	mftc0	a4,kscratch2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211f 2230 	mftc0	a4,kscratch3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211f 2a30 	mftc0	a4,kscratch4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211f 3230 	mftc0	a4,kscratch5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 211f 3a30 	mftc0	a4,kscratch6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 212a 0630 	mftgpr	a5,a6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2140 0e30 	mftlo	a6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2160 0e30 	mftlo	a7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2181 0e30 	mfthi	t0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21a5 0e30 	mfthi	t1,\$ac1
+#00000444 <text_label\+0x[0-9a-f]+> 21c2 0e30 	mftacx	t2
+#00000448 <text_label\+0x[0-9a-f]+> 21ea 0e30 	mftacx	t3,\$ac2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2210 0e30 	mftdsp	s0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2232 1630 	mftc1	s1,\$f18
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2253 1630 	mftc1	s2,\$f19
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2274 1638 	mfthc1	s3,\$f20
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2296 1638 	mfthc1	s4,\$f22
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 22b6 1e30 	cftc1	s5,\$tcopt
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 22d7 1e30 	cftc1	s6,\$context
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 22f8 2630 	mftc2	s7,\$24
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2319 2638 	mfthc2	t8,\$25
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 233a 2e30 	cftc2	t9,\$26
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 235b 0270 	mttc0	k0,cacheerr
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2360 0270 	mttc0	k1,index
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2360 0a70 	mttc0	k1,mvpcontrol
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2360 1270 	mttc0	k1,mvpconf0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2360 1a70 	mttc0	k1,mvpconf1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2360 2270 	mttc0	k1,vpcontrol
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2360 2a70 	mttc0	k1,\$0,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2360 3270 	mttc0	k1,\$0,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2360 3a70 	mttc0	k1,\$0,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2361 0270 	mttc0	k1,random
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2361 0a70 	mttc0	k1,vpecontrol
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2361 1270 	mttc0	k1,vpeconf0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2361 1a70 	mttc0	k1,vpeconf1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2361 2270 	mttc0	k1,yqmask
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2361 2a70 	mttc0	k1,vpeschedule
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2361 3270 	mttc0	k1,vpeschefback
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2361 3a70 	mttc0	k1,vpeopt
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2362 0270 	mttc0	k1,entrylo0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2362 0a70 	mttc0	k1,tcstatus
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2362 1270 	mttc0	k1,tcbind
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2362 1a70 	mttc0	k1,tcrestart
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2362 2270 	mttc0	k1,tchalt
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2362 2a70 	mttc0	k1,tccontext
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2362 3270 	mttc0	k1,tcschedule
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2362 3a70 	mttc0	k1,tcschefback
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2363 0270 	mttc0	k1,entrylo1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2363 0a70 	mttc0	k1,\$3,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2363 1270 	mttc0	k1,\$3,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2363 1a70 	mttc0	k1,\$3,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2363 2270 	mttc0	k1,\$3,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2363 2a70 	mttc0	k1,\$3,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2363 3270 	mttc0	k1,\$3,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2363 3a70 	mttc0	k1,tcopt
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2364 0270 	mttc0	k1,context
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2364 0a70 	mttc0	k1,contextconfig
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2364 1270 	mttc0	k1,userlocal
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2364 1a70 	mttc0	k1,xcontextconfig
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2364 2270 	mttc0	k1,\$4,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2364 2a70 	mttc0	k1,\$4,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2364 3270 	mttc0	k1,\$4,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2364 3a70 	mttc0	k1,\$4,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2365 0270 	mttc0	k1,pagemask
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2365 0a70 	mttc0	k1,pagegrain
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2365 1270 	mttc0	k1,segctl0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2365 1a70 	mttc0	k1,segctl1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2365 2270 	mttc0	k1,segctl2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2365 2a70 	mttc0	k1,pwbase
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2365 3270 	mttc0	k1,pwfield
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2365 3a70 	mttc0	k1,pwsize
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2366 0270 	mttc0	k1,wired
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2366 0a70 	mttc0	k1,srsconf0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2366 1270 	mttc0	k1,srsconf1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2366 1a70 	mttc0	k1,srsconf2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2366 2270 	mttc0	k1,srsconf3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2366 2a70 	mttc0	k1,srsconf4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2366 3270 	mttc0	k1,pwctl
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2366 3a70 	mttc0	k1,\$6,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2367 0270 	mttc0	k1,hwrena
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2367 0a70 	mttc0	k1,\$7,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2367 1270 	mttc0	k1,\$7,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2367 1a70 	mttc0	k1,\$7,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2367 2270 	mttc0	k1,\$7,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2367 2a70 	mttc0	k1,\$7,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2367 3270 	mttc0	k1,\$7,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2367 3a70 	mttc0	k1,\$7,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2368 0270 	mttc0	k1,badvaddr
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2368 0a70 	mttc0	k1,badinst
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2368 1270 	mttc0	k1,badinstrp
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2368 1a70 	mttc0	k1,\$8,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2368 2270 	mttc0	k1,\$8,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2368 2a70 	mttc0	k1,\$8,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2368 3270 	mttc0	k1,\$8,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2368 3a70 	mttc0	k1,\$8,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2369 0270 	mttc0	k1,count
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2369 0a70 	mttc0	k1,\$9,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2369 1270 	mttc0	k1,\$9,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2369 1a70 	mttc0	k1,\$9,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2369 2270 	mttc0	k1,\$9,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2369 2a70 	mttc0	k1,\$9,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2369 3270 	mttc0	k1,\$9,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2369 3a70 	mttc0	k1,\$9,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236a 0270 	mttc0	k1,entryhi
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236a 0a70 	mttc0	k1,\$10,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236a 1270 	mttc0	k1,\$10,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236a 1a70 	mttc0	k1,\$10,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236a 2270 	mttc0	k1,guestctl1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236a 2a70 	mttc0	k1,guestctl2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236a 3270 	mttc0	k1,guestctl3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236a 3a70 	mttc0	k1,\$10,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236b 0270 	mttc0	k1,compare
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236b 0a70 	mttc0	k1,\$11,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236b 1270 	mttc0	k1,\$11,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236b 1a70 	mttc0	k1,\$11,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236b 2270 	mttc0	k1,guestctl0ext
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236b 2a70 	mttc0	k1,\$11,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236b 3270 	mttc0	k1,\$11,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236b 3a70 	mttc0	k1,\$11,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236c 0270 	mttc0	k1,status
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236c 0a70 	mttc0	k1,intctl
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236c 1270 	mttc0	k1,srsctl
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236c 1a70 	mttc0	k1,srsmap
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236c 2270 	mttc0	k1,view_ipl
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236c 2a70 	mttc0	k1,srsmap2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236c 3270 	mttc0	k1,guestctl0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236c 3a70 	mttc0	k1,gtoffset
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236d 0270 	mttc0	k1,cause
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236d 0a70 	mttc0	k1,\$13,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236d 1270 	mttc0	k1,\$13,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236d 1a70 	mttc0	k1,\$13,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236d 2270 	mttc0	k1,view_ripl
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236d 2a70 	mttc0	k1,nestedexc
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236d 3270 	mttc0	k1,\$13,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236d 3a70 	mttc0	k1,\$13,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236e 0270 	mttc0	k1,epc
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236e 0a70 	mttc0	k1,\$14,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236e 1270 	mttc0	k1,nestedepc
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236e 1a70 	mttc0	k1,\$14,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236e 2270 	mttc0	k1,\$14,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236e 2a70 	mttc0	k1,\$14,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236e 3270 	mttc0	k1,\$14,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236e 3a70 	mttc0	k1,\$14,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236f 0270 	mttc0	k1,prid
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236f 0a70 	mttc0	k1,ebase
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236f 1270 	mttc0	k1,cdmmbase
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236f 1a70 	mttc0	k1,cmgcrbase
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236f 2270 	mttc0	k1,\$15,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236f 2a70 	mttc0	k1,\$15,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236f 3270 	mttc0	k1,\$15,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 236f 3a70 	mttc0	k1,\$15,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2370 0270 	mttc0	k1,config
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2370 0a70 	mttc0	k1,config1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2370 1270 	mttc0	k1,config2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2370 1a70 	mttc0	k1,config3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2370 2270 	mttc0	k1,config4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2370 2a70 	mttc0	k1,config5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2370 3270 	mttc0	k1,\$16,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2370 3a70 	mttc0	k1,\$16,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2371 0270 	mttc0	k1,lladdr
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2371 0a70 	mttc0	k1,\$17,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2371 1270 	mttc0	k1,\$17,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2371 1a70 	mttc0	k1,\$17,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2371 2270 	mttc0	k1,\$17,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2371 2a70 	mttc0	k1,\$17,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2371 3270 	mttc0	k1,\$17,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2371 3a70 	mttc0	k1,\$17,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2372 0270 	mttc0	k1,watchlo,0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2372 0a70 	mttc0	k1,watchlo,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2372 1270 	mttc0	k1,watchlo,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2372 1a70 	mttc0	k1,watchlo,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2372 2270 	mttc0	k1,watchlo,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2372 2a70 	mttc0	k1,watchlo,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2372 3270 	mttc0	k1,watchlo,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2372 3a70 	mttc0	k1,watchlo,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2373 0270 	mttc0	k1,watchhi,0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2373 0a70 	mttc0	k1,watchhi,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2373 1270 	mttc0	k1,watchhi,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2373 1a70 	mttc0	k1,watchhi,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2373 2270 	mttc0	k1,watchhi,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2373 2a70 	mttc0	k1,watchhi,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2373 3270 	mttc0	k1,watchhi,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2373 3a70 	mttc0	k1,watchhi,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2374 0270 	mttc0	k1,xcontext
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2374 0a70 	mttc0	k1,\$20,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2374 1270 	mttc0	k1,\$20,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2374 1a70 	mttc0	k1,\$20,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2374 2270 	mttc0	k1,\$20,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2374 2a70 	mttc0	k1,\$20,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2374 3270 	mttc0	k1,\$20,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2374 3a70 	mttc0	k1,\$20,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2375 0270 	mttc0	k1,\$21
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2375 0a70 	mttc0	k1,\$21,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2375 1270 	mttc0	k1,\$21,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2375 1a70 	mttc0	k1,\$21,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2375 2270 	mttc0	k1,\$21,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2375 2a70 	mttc0	k1,\$21,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2375 3270 	mttc0	k1,\$21,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2375 3a70 	mttc0	k1,\$21,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2376 0270 	mttc0	k1,\$22
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2376 0a70 	mttc0	k1,\$22,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2376 1270 	mttc0	k1,\$22,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2376 1a70 	mttc0	k1,\$22,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2376 2270 	mttc0	k1,\$22,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2376 2a70 	mttc0	k1,\$22,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2376 3270 	mttc0	k1,\$22,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2376 3a70 	mttc0	k1,\$22,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2377 0270 	mttc0	k1,debug
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2377 0a70 	mttc0	k1,tracecontrol
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2377 1270 	mttc0	k1,tracecontrol2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2377 1a70 	mttc0	k1,usertracedata1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2377 2270 	mttc0	k1,traceibpc
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2377 2a70 	mttc0	k1,tracedbpc
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2377 3270 	mttc0	k1,debug2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2377 3a70 	mttc0	k1,\$23,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2378 0270 	mttc0	k1,depc
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2378 0a70 	mttc0	k1,\$24,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2378 1270 	mttc0	k1,tracecontrol3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2378 1a70 	mttc0	k1,usertracedata2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2378 2270 	mttc0	k1,\$24,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2378 2a70 	mttc0	k1,\$24,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2378 3270 	mttc0	k1,\$24,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2378 3a70 	mttc0	k1,\$24,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2379 0270 	mttc0	k1,perfctl,0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2379 0a70 	mttc0	k1,perfcnt,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2379 1270 	mttc0	k1,perfctl,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2379 1a70 	mttc0	k1,perfcnt,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2379 2270 	mttc0	k1,perfctl,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2379 2a70 	mttc0	k1,perfcnt,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2379 3270 	mttc0	k1,perfctl,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2379 3a70 	mttc0	k1,perfcnt,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237a 0270 	mttc0	k1,errctl
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237a 0a70 	mttc0	k1,\$26,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237a 1270 	mttc0	k1,\$26,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237a 1a70 	mttc0	k1,\$26,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237a 2270 	mttc0	k1,\$26,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237a 2a70 	mttc0	k1,\$26,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237a 3270 	mttc0	k1,\$26,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237a 3a70 	mttc0	k1,\$26,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237b 0270 	mttc0	k1,cacheerr
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237b 0a70 	mttc0	k1,\$27,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237b 1270 	mttc0	k1,\$27,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237b 1a70 	mttc0	k1,\$27,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237b 2270 	mttc0	k1,\$27,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237b 2a70 	mttc0	k1,\$27,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237b 3270 	mttc0	k1,\$27,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237b 3a70 	mttc0	k1,\$27,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237c 0270 	mttc0	k1,taglo,0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237c 0a70 	mttc0	k1,datalo,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237c 1270 	mttc0	k1,taglo,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237c 1a70 	mttc0	k1,datalo,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237c 2270 	mttc0	k1,taglo,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237c 2a70 	mttc0	k1,datalo,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237c 3270 	mttc0	k1,taglo,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237c 3a70 	mttc0	k1,datalo,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237d 0270 	mttc0	k1,taghi,0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237d 0a70 	mttc0	k1,datahi,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237d 1270 	mttc0	k1,taghi,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237d 1a70 	mttc0	k1,datahi,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237d 2270 	mttc0	k1,taghi,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237d 2a70 	mttc0	k1,datahi,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237d 3270 	mttc0	k1,taghi,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237d 3a70 	mttc0	k1,datahi,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237e 0270 	mttc0	k1,errorepc
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237e 0a70 	mttc0	k1,\$30,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237e 1270 	mttc0	k1,\$30,2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237e 1a70 	mttc0	k1,\$30,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237e 2270 	mttc0	k1,\$30,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237e 2a70 	mttc0	k1,\$30,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237e 3270 	mttc0	k1,\$30,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237e 3a70 	mttc0	k1,\$30,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237f 0270 	mttc0	k1,desave
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237f 0a70 	mttc0	k1,\$31,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237f 1270 	mttc0	k1,kscratch1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237f 1a70 	mttc0	k1,kscratch2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237f 2270 	mttc0	k1,kscratch3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237f 2a70 	mttc0	k1,kscratch4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237f 3270 	mttc0	k1,kscratch5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 237f 3a70 	mttc0	k1,kscratch6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 239d 0670 	mttgpr	gp,sp
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 23a0 0e70 	mttlo	sp
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 23cc 0e70 	mttlo	fp,\$ac3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 23e1 0e70 	mtthi	ra
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2001 0e70 	mtthi	zero
+#0000088c <text_label\+0x[0-9a-f]+> 2041 0e70 	mttacx	at
+#00000890 <text_label\+0x[0-9a-f]+> 20c2 0e70 	mttacx	t4,\$ac1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2070 0e70 	mttdsp	t5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2085 1670 	mttc1	a0,\$f5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 20a6 1670 	mttc1	a1,\$f6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 20c8 1678 	mtthc1	a2,\$f8
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 20ea 1678 	mtthc1	a3,\$f10
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2109 1e70 	cttc1	a4,\$yqmask
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 212a 1e70 	cttc1	a5,\$vpeschedule
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 214b 2670 	mttc2	a6,\$11
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 216c 2678 	mtthc2	a7,\$12
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 218d 2e70 	cttc2	t0,\$13
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 0230 	mftc0	t1,epc
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 0a30 	mftc0	t1,\$14,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 1230 	mftc0	t1,nestedepc
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 1a30 	mftc0	t1,\$14,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 2230 	mftc0	t1,\$14,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 2a30 	mftc0	t1,\$14,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 3230 	mftc0	t1,\$14,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 3a30 	mftc0	t1,\$14,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 0238 	mfthc0	t1,epc
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 0a38 	mfthc0	t1,\$14,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 1238 	mfthc0	t1,nestedepc
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 1a38 	mfthc0	t1,\$14,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 2238 	mfthc0	t1,\$14,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 2a38 	mfthc0	t1,\$14,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 3238 	mfthc0	t1,\$14,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 3a38 	mfthc0	t1,\$14,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 0630 	mftgpr	t1,t2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 0e30 	mftr	t1,t2,1,1,0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 1630 	mftc1	t1,\$f14
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 1e30 	cftc1	t1,\$tcstatus
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 2630 	mftc2	t1,\$14
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 2e30 	cftc2	t1,\$14
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 3630 	mftr	t1,t2,1,6,0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 3e30 	mftr	t1,t2,1,7,0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 0638 	mftr	t1,t2,1,0,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 0e38 	mftr	t1,t2,1,1,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 1638 	mfthc1	t1,\$f14
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 1e38 	mftr	t1,t2,1,3,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 2638 	mfthc2	t1,\$14
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 2e38 	mftr	t1,t2,1,5,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 3638 	mftr	t1,t2,1,6,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 3e38 	mftr	t1,t2,1,7,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 0270 	mttc0	t1,epc
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 0a70 	mttc0	t1,\$14,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 1270 	mttc0	t1,nestedepc
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 1a70 	mttc0	t1,\$14,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 2270 	mttc0	t1,\$14,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 2a70 	mttc0	t1,\$14,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 3270 	mttc0	t1,\$14,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 3a70 	mttc0	t1,\$14,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 0278 	mtthc0	t1,epc
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 0a78 	mtthc0	t1,\$14,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 1278 	mtthc0	t1,nestedepc
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 1a78 	mtthc0	t1,\$14,3
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 2278 	mtthc0	t1,\$14,4
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 2a78 	mtthc0	t1,\$14,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 3278 	mtthc0	t1,\$14,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 3a78 	mtthc0	t1,\$14,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 0670 	mttgpr	t1,t2
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 0e70 	mttr	t1,t2,1,1,0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 1670 	mttc1	t1,\$f14
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 1e70 	cttc1	t1,\$tcstatus
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 2670 	mttc2	t1,\$14
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 2e70 	cttc2	t1,\$14
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 3670 	mttr	t1,t2,1,6,0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 3e70 	mttr	t1,t2,1,7,0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 0678 	mttr	t1,t2,1,0,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 0e78 	mttr	t1,t2,1,1,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 1678 	mtthc1	t1,\$f14
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 1e78 	mttr	t1,t2,1,3,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 2678 	mtthc2	t1,\$14
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 2e78 	mttr	t1,t2,1,5,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 3678 	mttr	t1,t2,1,6,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 21ae 3e78 	mttr	t1,t2,1,7,1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 8000 c005 	pause
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 20e8 0238 	mfthc0	a3,badvaddr
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2100 0238 	mfthc0	a4,index
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2100 0a38 	mfthc0	a4,mvpcontrol
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2100 1238 	mfthc0	a4,mvpconf0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2100 1a38 	mfthc0	a4,mvpconf1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2100 2238 	mfthc0	a4,vpcontrol
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2100 2a38 	mfthc0	a4,\$0,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2100 3238 	mfthc0	a4,\$0,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2100 3a38 	mfthc0	a4,\$0,7
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 235b 0278 	mtthc0	k0,cacheerr
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2360 0278 	mtthc0	k1,index
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2360 0a78 	mtthc0	k1,mvpcontrol
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2360 1278 	mtthc0	k1,mvpconf0
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2360 1a78 	mtthc0	k1,mvpconf1
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2360 2278 	mtthc0	k1,vpcontrol
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2360 2a78 	mtthc0	k1,\$0,5
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2360 3278 	mtthc0	k1,\$0,6
+[0-9a-f]+ <text_label\+0x[0-9a-f]+> 2360 3a78 	mtthc0	k1,\$0,7
+	...
diff --git a/gas/testsuite/gas/nanomips/mt-ase.s b/gas/testsuite/gas/nanomips/mt-ase.s
new file mode 100644
index 00000000000..e754b34c504
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/mt-ase.s
@@ -0,0 +1,656 @@
+# source file to test assembly of MIPS MT ASE for MIPS32 instructions
+
+	.set noreorder
+	.set noat
+
+	.text
+text_label:
+
+	dmt
+	dmt		$31
+	dvpe
+	dvpe		$1
+	emt
+	emt		$2
+	evpe
+	evpe		$3
+	fork		$4,$5,$6
+	yield		$5
+	yield		$6,$7
+	mftc0		$7,$8
+	mftc0		$8,$0,0
+	mftc0		$8,$0,1
+	mftc0		$8,$0,2
+	mftc0		$8,$0,3
+	mftc0		$8,$0,4
+	mftc0		$8,$0,5
+	mftc0		$8,$0,6
+	mftc0		$8,$0,7
+	mftc0		$8,$1,0
+	mftc0		$8,$1,1
+	mftc0		$8,$1,2
+	mftc0		$8,$1,3
+	mftc0		$8,$1,4
+	mftc0		$8,$1,5
+	mftc0		$8,$1,6
+	mftc0		$8,$1,7
+	mftc0		$8,$2,0
+	mftc0		$8,$2,1
+	mftc0		$8,$2,2
+	mftc0		$8,$2,3
+	mftc0		$8,$2,4
+	mftc0		$8,$2,5
+	mftc0		$8,$2,6
+	mftc0		$8,$2,7
+	mftc0		$8,$3,0
+	mftc0		$8,$3,1
+	mftc0		$8,$3,2
+	mftc0		$8,$3,3
+	mftc0		$8,$3,4
+	mftc0		$8,$3,5
+	mftc0		$8,$3,6
+	mftc0		$8,$3,7
+	mftc0		$8,$4,0
+	mftc0		$8,$4,1
+	mftc0		$8,$4,2
+	mftc0		$8,$4,3
+	mftc0		$8,$4,4
+	mftc0		$8,$4,5
+	mftc0		$8,$4,6
+	mftc0		$8,$4,7
+	mftc0		$8,$5,0
+	mftc0		$8,$5,1
+	mftc0		$8,$5,2
+	mftc0		$8,$5,3
+	mftc0		$8,$5,4
+	mftc0		$8,$5,5
+	mftc0		$8,$5,6
+	mftc0		$8,$5,7
+	mftc0		$8,$6,0
+	mftc0		$8,$6,1
+	mftc0		$8,$6,2
+	mftc0		$8,$6,3
+	mftc0		$8,$6,4
+	mftc0		$8,$6,5
+	mftc0		$8,$6,6
+	mftc0		$8,$6,7
+	mftc0		$8,$7,0
+	mftc0		$8,$7,1
+	mftc0		$8,$7,2
+	mftc0		$8,$7,3
+	mftc0		$8,$7,4
+	mftc0		$8,$7,5
+	mftc0		$8,$7,6
+	mftc0		$8,$7,7
+	mftc0		$8,$8,0
+	mftc0		$8,$8,1
+	mftc0		$8,$8,2
+	mftc0		$8,$8,3
+	mftc0		$8,$8,4
+	mftc0		$8,$8,5
+	mftc0		$8,$8,6
+	mftc0		$8,$8,7
+	mftc0		$8,$9,0
+	mftc0		$8,$9,1
+	mftc0		$8,$9,2
+	mftc0		$8,$9,3
+	mftc0		$8,$9,4
+	mftc0		$8,$9,5
+	mftc0		$8,$9,6
+	mftc0		$8,$9,7
+	mftc0		$8,$10,0
+	mftc0		$8,$10,1
+	mftc0		$8,$10,2
+	mftc0		$8,$10,3
+	mftc0		$8,$10,4
+	mftc0		$8,$10,5
+	mftc0		$8,$10,6
+	mftc0		$8,$10,7
+	mftc0		$8,$11,0
+	mftc0		$8,$11,1
+	mftc0		$8,$11,2
+	mftc0		$8,$11,3
+	mftc0		$8,$11,4
+	mftc0		$8,$11,5
+	mftc0		$8,$11,6
+	mftc0		$8,$11,7
+	mftc0		$8,$12,0
+	mftc0		$8,$12,1
+	mftc0		$8,$12,2
+	mftc0		$8,$12,3
+	mftc0		$8,$12,4
+	mftc0		$8,$12,5
+	mftc0		$8,$12,6
+	mftc0		$8,$12,7
+	mftc0		$8,$13,0
+	mftc0		$8,$13,1
+	mftc0		$8,$13,2
+	mftc0		$8,$13,3
+	mftc0		$8,$13,4
+	mftc0		$8,$13,5
+	mftc0		$8,$13,6
+	mftc0		$8,$13,7
+	mftc0		$8,$14,0
+	mftc0		$8,$14,1
+	mftc0		$8,$14,2
+	mftc0		$8,$14,3
+	mftc0		$8,$14,4
+	mftc0		$8,$14,5
+	mftc0		$8,$14,6
+	mftc0		$8,$14,7
+	mftc0		$8,$15,0
+	mftc0		$8,$15,1
+	mftc0		$8,$15,2
+	mftc0		$8,$15,3
+	mftc0		$8,$15,4
+	mftc0		$8,$15,5
+	mftc0		$8,$15,6
+	mftc0		$8,$15,7
+	mftc0		$8,$16,0
+	mftc0		$8,$16,1
+	mftc0		$8,$16,2
+	mftc0		$8,$16,3
+	mftc0		$8,$16,4
+	mftc0		$8,$16,5
+	mftc0		$8,$16,6
+	mftc0		$8,$16,7
+	mftc0		$8,$17,0
+	mftc0		$8,$17,1
+	mftc0		$8,$17,2
+	mftc0		$8,$17,3
+	mftc0		$8,$17,4
+	mftc0		$8,$17,5
+	mftc0		$8,$17,6
+	mftc0		$8,$17,7
+	mftc0		$8,$18,0
+	mftc0		$8,$18,1
+	mftc0		$8,$18,2
+	mftc0		$8,$18,3
+	mftc0		$8,$18,4
+	mftc0		$8,$18,5
+	mftc0		$8,$18,6
+	mftc0		$8,$18,7
+	mftc0		$8,$19,0
+	mftc0		$8,$19,1
+	mftc0		$8,$19,2
+	mftc0		$8,$19,3
+	mftc0		$8,$19,4
+	mftc0		$8,$19,5
+	mftc0		$8,$19,6
+	mftc0		$8,$19,7
+	mftc0		$8,$20,0
+	mftc0		$8,$20,1
+	mftc0		$8,$20,2
+	mftc0		$8,$20,3
+	mftc0		$8,$20,4
+	mftc0		$8,$20,5
+	mftc0		$8,$20,6
+	mftc0		$8,$20,7
+	mftc0		$8,$21,0
+	mftc0		$8,$21,1
+	mftc0		$8,$21,2
+	mftc0		$8,$21,3
+	mftc0		$8,$21,4
+	mftc0		$8,$21,5
+	mftc0		$8,$21,6
+	mftc0		$8,$21,7
+	mftc0		$8,$22,0
+	mftc0		$8,$22,1
+	mftc0		$8,$22,2
+	mftc0		$8,$22,3
+	mftc0		$8,$22,4
+	mftc0		$8,$22,5
+	mftc0		$8,$22,6
+	mftc0		$8,$22,7
+	mftc0		$8,$23,0
+	mftc0		$8,$23,1
+	mftc0		$8,$23,2
+	mftc0		$8,$23,3
+	mftc0		$8,$23,4
+	mftc0		$8,$23,5
+	mftc0		$8,$23,6
+	mftc0		$8,$23,7
+	mftc0		$8,$24,0
+	mftc0		$8,$24,1
+	mftc0		$8,$24,2
+	mftc0		$8,$24,3
+	mftc0		$8,$24,4
+	mftc0		$8,$24,5
+	mftc0		$8,$24,6
+	mftc0		$8,$24,7
+	mftc0		$8,$25,0
+	mftc0		$8,$25,1
+	mftc0		$8,$25,2
+	mftc0		$8,$25,3
+	mftc0		$8,$25,4
+	mftc0		$8,$25,5
+	mftc0		$8,$25,6
+	mftc0		$8,$25,7
+	mftc0		$8,$26,0
+	mftc0		$8,$26,1
+	mftc0		$8,$26,2
+	mftc0		$8,$26,3
+	mftc0		$8,$26,4
+	mftc0		$8,$26,5
+	mftc0		$8,$26,6
+	mftc0		$8,$26,7
+	mftc0		$8,$27,0
+	mftc0		$8,$27,1
+	mftc0		$8,$27,2
+	mftc0		$8,$27,3
+	mftc0		$8,$27,4
+	mftc0		$8,$27,5
+	mftc0		$8,$27,6
+	mftc0		$8,$27,7
+	mftc0		$8,$28,0
+	mftc0		$8,$28,1
+	mftc0		$8,$28,2
+	mftc0		$8,$28,3
+	mftc0		$8,$28,4
+	mftc0		$8,$28,5
+	mftc0		$8,$28,6
+	mftc0		$8,$28,7
+	mftc0		$8,$29,0
+	mftc0		$8,$29,1
+	mftc0		$8,$29,2
+	mftc0		$8,$29,3
+	mftc0		$8,$29,4
+	mftc0		$8,$29,5
+	mftc0		$8,$29,6
+	mftc0		$8,$29,7
+	mftc0		$8,$30,0
+	mftc0		$8,$30,1
+	mftc0		$8,$30,2
+	mftc0		$8,$30,3
+	mftc0		$8,$30,4
+	mftc0		$8,$30,5
+	mftc0		$8,$30,6
+	mftc0		$8,$30,7
+	mftc0		$8,$31,0
+	mftc0		$8,$31,1
+	mftc0		$8,$31,2
+	mftc0		$8,$31,3
+	mftc0		$8,$31,4
+	mftc0		$8,$31,5
+	mftc0		$8,$31,6
+	mftc0		$8,$31,7
+	mftgpr		$9,$10
+	mftlo		$10
+	mftlo		$11,$ac0
+	mfthi		$12
+	mfthi		$13,$ac1
+#	mftacx		$14
+#	mftacx		$15,$ac2
+	mftdsp		$16
+	mftc1		$17,$f18
+	mftc1		$18,$19
+	mfthc1		$19,$f20
+	mfthc1		$20,$22
+	cftc1		$21,$22
+	cftc1		$22,$f23
+	mftc2		$23,$24
+	mfthc2		$24,$25
+	cftc2		$25,$26
+	mttc0		$26,$27
+	mttc0		$27,$0,0
+	mttc0		$27,$0,1
+	mttc0		$27,$0,2
+	mttc0		$27,$0,3
+	mttc0		$27,$0,4
+	mttc0		$27,$0,5
+	mttc0		$27,$0,6
+	mttc0		$27,$0,7
+	mttc0		$27,$1,0
+	mttc0		$27,$1,1
+	mttc0		$27,$1,2
+	mttc0		$27,$1,3
+	mttc0		$27,$1,4
+	mttc0		$27,$1,5
+	mttc0		$27,$1,6
+	mttc0		$27,$1,7
+	mttc0		$27,$2,0
+	mttc0		$27,$2,1
+	mttc0		$27,$2,2
+	mttc0		$27,$2,3
+	mttc0		$27,$2,4
+	mttc0		$27,$2,5
+	mttc0		$27,$2,6
+	mttc0		$27,$2,7
+	mttc0		$27,$3,0
+	mttc0		$27,$3,1
+	mttc0		$27,$3,2
+	mttc0		$27,$3,3
+	mttc0		$27,$3,4
+	mttc0		$27,$3,5
+	mttc0		$27,$3,6
+	mttc0		$27,$3,7
+	mttc0		$27,$4,0
+	mttc0		$27,$4,1
+	mttc0		$27,$4,2
+	mttc0		$27,$4,3
+	mttc0		$27,$4,4
+	mttc0		$27,$4,5
+	mttc0		$27,$4,6
+	mttc0		$27,$4,7
+	mttc0		$27,$5,0
+	mttc0		$27,$5,1
+	mttc0		$27,$5,2
+	mttc0		$27,$5,3
+	mttc0		$27,$5,4
+	mttc0		$27,$5,5
+	mttc0		$27,$5,6
+	mttc0		$27,$5,7
+	mttc0		$27,$6,0
+	mttc0		$27,$6,1
+	mttc0		$27,$6,2
+	mttc0		$27,$6,3
+	mttc0		$27,$6,4
+	mttc0		$27,$6,5
+	mttc0		$27,$6,6
+	mttc0		$27,$6,7
+	mttc0		$27,$7,0
+	mttc0		$27,$7,1
+	mttc0		$27,$7,2
+	mttc0		$27,$7,3
+	mttc0		$27,$7,4
+	mttc0		$27,$7,5
+	mttc0		$27,$7,6
+	mttc0		$27,$7,7
+	mttc0		$27,$8,0
+	mttc0		$27,$8,1
+	mttc0		$27,$8,2
+	mttc0		$27,$8,3
+	mttc0		$27,$8,4
+	mttc0		$27,$8,5
+	mttc0		$27,$8,6
+	mttc0		$27,$8,7
+	mttc0		$27,$9,0
+	mttc0		$27,$9,1
+	mttc0		$27,$9,2
+	mttc0		$27,$9,3
+	mttc0		$27,$9,4
+	mttc0		$27,$9,5
+	mttc0		$27,$9,6
+	mttc0		$27,$9,7
+	mttc0		$27,$10,0
+	mttc0		$27,$10,1
+	mttc0		$27,$10,2
+	mttc0		$27,$10,3
+	mttc0		$27,$10,4
+	mttc0		$27,$10,5
+	mttc0		$27,$10,6
+	mttc0		$27,$10,7
+	mttc0		$27,$11,0
+	mttc0		$27,$11,1
+	mttc0		$27,$11,2
+	mttc0		$27,$11,3
+	mttc0		$27,$11,4
+	mttc0		$27,$11,5
+	mttc0		$27,$11,6
+	mttc0		$27,$11,7
+	mttc0		$27,$12,0
+	mttc0		$27,$12,1
+	mttc0		$27,$12,2
+	mttc0		$27,$12,3
+	mttc0		$27,$12,4
+	mttc0		$27,$12,5
+	mttc0		$27,$12,6
+	mttc0		$27,$12,7
+	mttc0		$27,$13,0
+	mttc0		$27,$13,1
+	mttc0		$27,$13,2
+	mttc0		$27,$13,3
+	mttc0		$27,$13,4
+	mttc0		$27,$13,5
+	mttc0		$27,$13,6
+	mttc0		$27,$13,7
+	mttc0		$27,$14,0
+	mttc0		$27,$14,1
+	mttc0		$27,$14,2
+	mttc0		$27,$14,3
+	mttc0		$27,$14,4
+	mttc0		$27,$14,5
+	mttc0		$27,$14,6
+	mttc0		$27,$14,7
+	mttc0		$27,$15,0
+	mttc0		$27,$15,1
+	mttc0		$27,$15,2
+	mttc0		$27,$15,3
+	mttc0		$27,$15,4
+	mttc0		$27,$15,5
+	mttc0		$27,$15,6
+	mttc0		$27,$15,7
+	mttc0		$27,$16,0
+	mttc0		$27,$16,1
+	mttc0		$27,$16,2
+	mttc0		$27,$16,3
+	mttc0		$27,$16,4
+	mttc0		$27,$16,5
+	mttc0		$27,$16,6
+	mttc0		$27,$16,7
+	mttc0		$27,$17,0
+	mttc0		$27,$17,1
+	mttc0		$27,$17,2
+	mttc0		$27,$17,3
+	mttc0		$27,$17,4
+	mttc0		$27,$17,5
+	mttc0		$27,$17,6
+	mttc0		$27,$17,7
+	mttc0		$27,$18,0
+	mttc0		$27,$18,1
+	mttc0		$27,$18,2
+	mttc0		$27,$18,3
+	mttc0		$27,$18,4
+	mttc0		$27,$18,5
+	mttc0		$27,$18,6
+	mttc0		$27,$18,7
+	mttc0		$27,$19,0
+	mttc0		$27,$19,1
+	mttc0		$27,$19,2
+	mttc0		$27,$19,3
+	mttc0		$27,$19,4
+	mttc0		$27,$19,5
+	mttc0		$27,$19,6
+	mttc0		$27,$19,7
+	mttc0		$27,$20,0
+	mttc0		$27,$20,1
+	mttc0		$27,$20,2
+	mttc0		$27,$20,3
+	mttc0		$27,$20,4
+	mttc0		$27,$20,5
+	mttc0		$27,$20,6
+	mttc0		$27,$20,7
+	mttc0		$27,$21,0
+	mttc0		$27,$21,1
+	mttc0		$27,$21,2
+	mttc0		$27,$21,3
+	mttc0		$27,$21,4
+	mttc0		$27,$21,5
+	mttc0		$27,$21,6
+	mttc0		$27,$21,7
+	mttc0		$27,$22,0
+	mttc0		$27,$22,1
+	mttc0		$27,$22,2
+	mttc0		$27,$22,3
+	mttc0		$27,$22,4
+	mttc0		$27,$22,5
+	mttc0		$27,$22,6
+	mttc0		$27,$22,7
+	mttc0		$27,$23,0
+	mttc0		$27,$23,1
+	mttc0		$27,$23,2
+	mttc0		$27,$23,3
+	mttc0		$27,$23,4
+	mttc0		$27,$23,5
+	mttc0		$27,$23,6
+	mttc0		$27,$23,7
+	mttc0		$27,$24,0
+	mttc0		$27,$24,1
+	mttc0		$27,$24,2
+	mttc0		$27,$24,3
+	mttc0		$27,$24,4
+	mttc0		$27,$24,5
+	mttc0		$27,$24,6
+	mttc0		$27,$24,7
+	mttc0		$27,$25,0
+	mttc0		$27,$25,1
+	mttc0		$27,$25,2
+	mttc0		$27,$25,3
+	mttc0		$27,$25,4
+	mttc0		$27,$25,5
+	mttc0		$27,$25,6
+	mttc0		$27,$25,7
+	mttc0		$27,$26,0
+	mttc0		$27,$26,1
+	mttc0		$27,$26,2
+	mttc0		$27,$26,3
+	mttc0		$27,$26,4
+	mttc0		$27,$26,5
+	mttc0		$27,$26,6
+	mttc0		$27,$26,7
+	mttc0		$27,$27,0
+	mttc0		$27,$27,1
+	mttc0		$27,$27,2
+	mttc0		$27,$27,3
+	mttc0		$27,$27,4
+	mttc0		$27,$27,5
+	mttc0		$27,$27,6
+	mttc0		$27,$27,7
+	mttc0		$27,$28,0
+	mttc0		$27,$28,1
+	mttc0		$27,$28,2
+	mttc0		$27,$28,3
+	mttc0		$27,$28,4
+	mttc0		$27,$28,5
+	mttc0		$27,$28,6
+	mttc0		$27,$28,7
+	mttc0		$27,$29,0
+	mttc0		$27,$29,1
+	mttc0		$27,$29,2
+	mttc0		$27,$29,3
+	mttc0		$27,$29,4
+	mttc0		$27,$29,5
+	mttc0		$27,$29,6
+	mttc0		$27,$29,7
+	mttc0		$27,$30,0
+	mttc0		$27,$30,1
+	mttc0		$27,$30,2
+	mttc0		$27,$30,3
+	mttc0		$27,$30,4
+	mttc0		$27,$30,5
+	mttc0		$27,$30,6
+	mttc0		$27,$30,7
+	mttc0		$27,$31,0
+	mttc0		$27,$31,1
+	mttc0		$27,$31,2
+	mttc0		$27,$31,3
+	mttc0		$27,$31,4
+	mttc0		$27,$31,5
+	mttc0		$27,$31,6
+	mttc0		$27,$31,7
+	mttgpr		$28,$29
+	mttlo		$29
+	mttlo		$30,$ac3
+	mtthi		$31
+	mtthi		$0,$ac0
+#	mttacx		$1
+#	mttacx		$2,$ac1
+	mttdsp		$3
+	mttc1		$4,$f5
+	mttc1		$5,$6
+	mtthc1		$6,$f8
+	mtthc1		$7,$10
+	cttc1		$8,$9
+	cttc1		$9,$f10
+	mttc2		$10,$11
+	mtthc2		$11,$12
+	cttc2		$12,$13
+	mftr		$13,$14,0,0,0
+	mftr		$13,$14,0,1,0
+	mftr		$13,$14,0,2,0
+	mftr		$13,$14,0,3,0
+	mftr		$13,$14,0,4,0
+	mftr		$13,$14,0,5,0
+	mftr		$13,$14,0,6,0
+	mftr		$13,$14,0,7,0
+	mftr		$13,$14,0,0,1
+	mftr		$13,$14,0,1,1
+	mftr		$13,$14,0,2,1
+	mftr		$13,$14,0,3,1
+	mftr		$13,$14,0,4,1
+	mftr		$13,$14,0,5,1
+	mftr		$13,$14,0,6,1
+	mftr		$13,$14,0,7,1
+	mftr		$13,$14,1,0,0
+	mftr		$13,$14,1,1,0
+	mftr		$13,$14,1,2,0
+	mftr		$13,$14,1,3,0
+	mftr		$13,$14,1,4,0
+	mftr		$13,$14,1,5,0
+	mftr		$13,$14,1,6,0
+	mftr		$13,$14,1,7,0
+	mftr		$13,$14,1,0,1
+	mftr		$13,$14,1,1,1
+	mftr		$13,$14,1,2,1
+	mftr		$13,$14,1,3,1
+	mftr		$13,$14,1,4,1
+	mftr		$13,$14,1,5,1
+	mftr		$13,$14,1,6,1
+	mftr		$13,$14,1,7,1
+	mttr		$13,$14,0,0,0
+	mttr		$13,$14,0,1,0
+	mttr		$13,$14,0,2,0
+	mttr		$13,$14,0,3,0
+	mttr		$13,$14,0,4,0
+	mttr		$13,$14,0,5,0
+	mttr		$13,$14,0,6,0
+	mttr		$13,$14,0,7,0
+	mttr		$13,$14,0,0,1
+	mttr		$13,$14,0,1,1
+	mttr		$13,$14,0,2,1
+	mttr		$13,$14,0,3,1
+	mttr		$13,$14,0,4,1
+	mttr		$13,$14,0,5,1
+	mttr		$13,$14,0,6,1
+	mttr		$13,$14,0,7,1
+	mttr		$13,$14,1,0,0
+	mttr		$13,$14,1,1,0
+	mttr		$13,$14,1,2,0
+	mttr		$13,$14,1,3,0
+	mttr		$13,$14,1,4,0
+	mttr		$13,$14,1,5,0
+	mttr		$13,$14,1,6,0
+	mttr		$13,$14,1,7,0
+	mttr		$13,$14,1,0,1
+	mttr		$13,$14,1,1,1
+	mttr		$13,$14,1,2,1
+	mttr		$13,$14,1,3,1
+	mttr		$13,$14,1,4,1
+	mttr		$13,$14,1,5,1
+	mttr		$13,$14,1,6,1
+	mttr		$13,$14,1,7,1
+	pause
+
+	mfthc0		$7,$8
+	mfthc0		$8,$0,0
+	mfthc0		$8,$0,1
+	mfthc0		$8,$0,2
+	mfthc0		$8,$0,3
+	mfthc0		$8,$0,4
+	mfthc0		$8,$0,5
+	mfthc0		$8,$0,6
+	mfthc0		$8,$0,7
+
+	mtthc0		$26,$27
+	mtthc0		$27,$0,0
+	mtthc0		$27,$0,1
+	mtthc0		$27,$0,2
+	mtthc0		$27,$0,3
+	mtthc0		$27,$0,4
+	mtthc0		$27,$0,5
+	mtthc0		$27,$0,6
+	mtthc0		$27,$0,7
+
+	
+# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
+	.space	8
diff --git a/gas/testsuite/gas/nanomips/mvh.d b/gas/testsuite/gas/nanomips/mvh.d
new file mode 100644
index 00000000000..01fc39be453
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/mvh.d
@@ -0,0 +1,16 @@
+#objdump: -dr --prefix-addresses --show-raw-insn -Mvirt,cp0-names=32r6
+#name: MVH instructions
+#as: -mvirt
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]+> 2041 0038 	mfhc0	t4,random
+[0-9a-f]+ <[^>]+> 2050 0038 	mfhc0	t4,config
+[0-9a-f]+ <[^>]+> 2040 1038 	mfhc0	t4,mvpconf0
+[0-9a-f]+ <[^>]+> 2040 3838 	mfhc0	t4,\$0,7
+[0-9a-f]+ <[^>]+> 2041 0078 	mthc0	t4,random
+[0-9a-f]+ <[^>]+> 2050 0078 	mthc0	t4,config
+[0-9a-f]+ <[^>]+> 2040 1078 	mthc0	t4,mvpconf0
+[0-9a-f]+ <[^>]+> 2040 3878 	mthc0	t4,\$0,7
+#pass
diff --git a/gas/testsuite/gas/nanomips/mvh.s b/gas/testsuite/gas/nanomips/mvh.s
new file mode 100644
index 00000000000..385ffb40ffb
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/mvh.s
@@ -0,0 +1,12 @@
+	.text
+test_xpa:
+
+	mfhc0	$2, $1
+	mfhc0	$2, $16
+	mfhc0	$2, $0, 2
+	mfhc0	$2, $0, 7
+
+	mthc0	$2, $1
+	mthc0	$2, $16
+	mthc0	$2, $0, 2
+	mthc0	$2, $0, 7
diff --git a/gas/testsuite/gas/nanomips/nanomips-error.l b/gas/testsuite/gas/nanomips/nanomips-error.l
new file mode 100644
index 00000000000..b288b15fde4
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/nanomips-error.l
@@ -0,0 +1,26 @@
+.*.s: Assembler messages:
+.*:9: Error: invalid operands `movep \$a1,\$a1,\$s0,\$zero'
+.*:10: Error: invalid operands `movep \$a2,\$a1,\$s1,\$at'
+.*:11: Error: invalid operands `movep \$a3,\$a2,\$s2,\$t4'
+.*:12: Error: invalid operands `movep \$a3,\$a3,\$s3,\$t5'
+.*:13: Error: invalid operands `movep \$a0,\$s4,\$a0,\$a4'
+.*:14: Error: invalid operands `movep \$a1,\$s5,\$a1,\$a3'
+.*:15: Error: invalid operands `movep \$a2,\$s6,\$a2,\$a4'
+.*:16: Error: invalid operands `movep \$a3,\$s7,\$a2,\$a2'
+.*:20: Error: the target register must not be \$0 `balrsc \$zero,\$a2'
+.*:21: Error: the target register must not be \$0 `move16 \$zero,\$at'
+.*:22: Error: the target register must not be \$0 `li \$zero,1'
+.*:25: Error: operand 4 out of range `align \$a0,\$t4,\$t5,4'
+.*:26: Error: operand 4 out of range `align \$a0,\$t4,\$t5,31'
+.*:29: Error: operand 2 out of range `bgeiuc \$t4,-1,test'
+.*:30: Error: operand 2 out of range `bgeiuc \$t5,128,test'
+.*:31: Error: operand 2 out of range `bltiuc \$a0,-3,test'
+.*:32: Error: operand 2 out of range `bltiuc \$a1,256,test'
+.*:35: Error: invalid register range `lwm \$16-17,0\(\$4\)'
+.*:36: Error: invalid operands `lwm \$17-\$16,0\(\$4\)'
+.*:37: Error: invalid operands `lwm \$16-\$f17,0\(\$4\)'
+.*:38: Error: invalid operands `lwm \$f16-\$17,0\(\$4\)'
+.*:41: Error: floating-point expression required `li\.s \$4,foo'
+.*:42: Error: cannot create floating-point number
+.*:43: Error: floating-point expression required `li\.s \$4,\$4'
+.*:44: Error: invalid operands `li\.s 1.0'
diff --git a/gas/testsuite/gas/nanomips/nanomips-error.s b/gas/testsuite/gas/nanomips/nanomips-error.s
new file mode 100644
index 00000000000..be0d4147888
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/nanomips-error.s
@@ -0,0 +1,46 @@
+# nanoMIPS assembly errors
+	.text
+	.ent	test
+	.globl	test
+test:
+	/* Order between 1st and 2nd operand of movep should be enforced.
+	 2nd-op = 4 + (( 1st-op + 1 ) % 4).
+	 Likewise for 3rd and 4th operands of movep[REV]. */
+	movep   $a1,$a1,$s0,$zero
+	movep   $a2,$a1,$s1,$at
+	movep   $a3,$a2,$s2,$t4
+	movep   $a3,$a3,$s3,$t5
+	movep   $a0,$s4,$a0,$a4
+	movep   $a1,$s5,$a1,$a3
+	movep   $a2,$s6,$a2,$a4
+	movep   $a3,$s7,$a2,$a2
+
+	/* Non-zero register check */
+
+	balrsc	$zero, $a2
+	move16 $zero, $at
+	li $zero, 1
+
+	/* Valid values for ALIGN macro are 0, 1, 2, 3 */
+	align   $a0, $t4, $t5, 4
+	align   $a0, $t4, $t5, 31
+
+	/* Range of immediate operand for branch with compare-immediate */
+	bgeiuc	$t4, -1, test
+	bgeiuc	$t5, 128, test
+	bltiuc	$a0, -3, test
+	bltiuc	$a1, 256, test
+
+	/* Invalid register range */
+	lwm	$16-17,0($4)
+	lwm	$17-$16,0($4)
+	lwm	$16-$f17,0($4)
+	lwm	$f16-$17,0($4)
+
+	/* Floating point expression expected */
+	li.s	$4,foo
+	li.s	$4,2.0e1000
+	li.s	$4,$4
+	li.s	1.0
+	
+	.end	test
diff --git a/gas/testsuite/gas/nanomips/nanomips-exc-noalias.d b/gas/testsuite/gas/nanomips/nanomips-exc-noalias.d
new file mode 100644
index 00000000000..c140a52d51d
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/nanomips-exc-noalias.d
@@ -0,0 +1,254 @@
+#objdump: -dr --prefix-addresses --show-raw-insn -Mno-aliases
+#name: New nanoMIPS instructions without aliases
+#source: nanomips-exc.s
+
+# Check exclusive nanoMIPS instructions without aliases
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]+> bc01      	movep	a0,a1,a5,a4
+[0-9a-f]+ <[^>]+> bd43      	movep	a1,a2,zero,a6
+[0-9a-f]+ <[^>]+> bc8d      	movep	a2,a3,a1,a0
+[0-9a-f]+ <[^>]+> bdcf      	movep	a3,a4,a3,a2
+[0-9a-f]+ <[^>]+> be30      	movep	a0,a1,s0,s1
+[0-9a-f]+ <[^>]+> bf72      	movep	a1,a2,s2,s3
+[0-9a-f]+ <[^>]+> bebc      	movep	a2,a3,s4,s5
+[0-9a-f]+ <[^>]+> bffe      	movep	a3,a4,s6,s7
+[0-9a-f]+ <[^>]+> fce0      	movep	a4,a3,a0,a1
+[0-9a-f]+ <[^>]+> fdc1      	movep	a5,a2,a1,a2
+[0-9a-f]+ <[^>]+> fcaa      	movep	a6,a1,a2,a3
+[0-9a-f]+ <[^>]+> fd8b      	movep	a7,a0,a3,a4
+[0-9a-f]+ <[^>]+> fe90      	movep	s0,s4,a0,a1
+[0-9a-f]+ <[^>]+> ff35      	movep	s5,s1,a1,a2
+[0-9a-f]+ <[^>]+> feda      	movep	s2,s6,a2,a3
+[0-9a-f]+ <[^>]+> ff7f      	movep	s7,s3,a3,a4
+[0-9a-f]+ <[^>]+> bc01      	movep	a0,a1,a5,a4
+[0-9a-f]+ <[^>]+> bd43      	movep	a1,a2,zero,a6
+[0-9a-f]+ <[^>]+> bc8d      	movep	a2,a3,a1,a0
+[0-9a-f]+ <[^>]+> bdcf      	movep	a3,a4,a3,a2
+[0-9a-f]+ <[^>]+> be30      	movep	a0,a1,s0,s1
+[0-9a-f]+ <[^>]+> bf72      	movep	a1,a2,s2,s3
+[0-9a-f]+ <[^>]+> bebc      	movep	a2,a3,s4,s5
+[0-9a-f]+ <[^>]+> bffe      	movep	a3,a4,s6,s7
+[0-9a-f]+ <[^>]+> fce0      	movep	a4,a3,a0,a1
+[0-9a-f]+ <[^>]+> fdc1      	movep	a5,a2,a1,a2
+[0-9a-f]+ <[^>]+> fcaa      	movep	a6,a1,a2,a3
+[0-9a-f]+ <[^>]+> fd8b      	movep	a7,a0,a3,a4
+[0-9a-f]+ <[^>]+> fe90      	movep	s0,s4,a0,a1
+[0-9a-f]+ <[^>]+> ff35      	movep	s5,s1,a1,a2
+[0-9a-f]+ <[^>]+> feda      	movep	s2,s6,a2,a3
+[0-9a-f]+ <[^>]+> ff7f      	movep	s7,s3,a3,a4
+[0-9a-f]+ <[^>]+> 7400      	lw	a4,0\(a4\)
+[0-9a-f]+ <[^>]+> 7521      	lw	a5,4\(a5\)
+[0-9a-f]+ <[^>]+> 744a      	lw	a6,8\(a6\)
+[0-9a-f]+ <[^>]+> 756b      	lw	a7,12\(a7\)
+[0-9a-f]+ <[^>]+> 7404      	lw	a4,0\(a0\)
+[0-9a-f]+ <[^>]+> 7525      	lw	a5,4\(a1\)
+[0-9a-f]+ <[^>]+> 744e      	lw	a6,8\(a2\)
+[0-9a-f]+ <[^>]+> 756f      	lw	a7,12\(a3\)
+[0-9a-f]+ <[^>]+> 7410      	lw	a4,0\(s0\)
+[0-9a-f]+ <[^>]+> 7531      	lw	a5,4\(s1\)
+[0-9a-f]+ <[^>]+> 745a      	lw	a6,8\(s2\)
+[0-9a-f]+ <[^>]+> 757b      	lw	a7,12\(s3\)
+[0-9a-f]+ <[^>]+> 7414      	lw	a4,0\(s4\)
+[0-9a-f]+ <[^>]+> 7535      	lw	a5,4\(s5\)
+[0-9a-f]+ <[^>]+> 745e      	lw	a6,8\(s6\)
+[0-9a-f]+ <[^>]+> 757f      	lw	a7,12\(s7\)
+[0-9a-f]+ <[^>]+> 7480      	lw	a0,0\(a4\)
+[0-9a-f]+ <[^>]+> 75a1      	lw	a1,4\(a5\)
+[0-9a-f]+ <[^>]+> 74ca      	lw	a2,8\(a6\)
+[0-9a-f]+ <[^>]+> 75eb      	lw	a3,12\(a7\)
+[0-9a-f]+ <[^>]+> f600      	sw	s0,0\(a4\)
+[0-9a-f]+ <[^>]+> f721      	sw	s1,4\(a5\)
+[0-9a-f]+ <[^>]+> f64a      	sw	s2,8\(a6\)
+[0-9a-f]+ <[^>]+> f76b      	sw	s3,12\(a7\)
+[0-9a-f]+ <[^>]+> f680      	sw	s4,0\(a4\)
+[0-9a-f]+ <[^>]+> f7a1      	sw	s5,4\(a5\)
+[0-9a-f]+ <[^>]+> f6ca      	sw	s6,8\(a6\)
+[0-9a-f]+ <[^>]+> f7eb      	sw	s7,12\(a7\)
+[0-9a-f]+ <[^>]+> f684      	sw	s4,0\(a0\)
+[0-9a-f]+ <[^>]+> f7a5      	sw	s5,4\(a1\)
+[0-9a-f]+ <[^>]+> f6ce      	sw	s6,8\(a2\)
+[0-9a-f]+ <[^>]+> f7ef      	sw	s7,12\(a3\)
+[0-9a-f]+ <[^>]+> f690      	sw	s4,0\(s0\)
+[0-9a-f]+ <[^>]+> f7b1      	sw	s5,4\(s1\)
+[0-9a-f]+ <[^>]+> f6da      	sw	s6,8\(s2\)
+[0-9a-f]+ <[^>]+> f7fb      	sw	s7,12\(s3\)
+[0-9a-f]+ <[^>]+> f694      	sw	s4,0\(s4\)
+[0-9a-f]+ <[^>]+> f7b5      	sw	s5,4\(s5\)
+[0-9a-f]+ <[^>]+> f6de      	sw	s6,8\(s6\)
+[0-9a-f]+ <[^>]+> f7ff      	sw	s7,12\(s7\)
+[0-9a-f]+ <[^>]+> f494      	sw	a0,0\(s4\)
+[0-9a-f]+ <[^>]+> f5b5      	sw	a1,4\(s5\)
+[0-9a-f]+ <[^>]+> f4de      	sw	a2,8\(s6\)
+[0-9a-f]+ <[^>]+> f5ff      	sw	a3,12\(s7\)
+[0-9a-f]+ <[^>]+> f614      	sw	s0,0\(s4\)
+[0-9a-f]+ <[^>]+> f735      	sw	s1,4\(s5\)
+[0-9a-f]+ <[^>]+> f65e      	sw	s2,8\(s6\)
+[0-9a-f]+ <[^>]+> f77f      	sw	s3,12\(s7\)
+[0-9a-f]+ <[^>]+> 4803 8000 	brsc	t5
+[0-9a-f]+ <[^>]+> 481f 8000 	brsc	ra
+[0-9a-f]+ <[^>]+> 4a11 8000 	balrsc	s0,s1
+[0-9a-f]+ <[^>]+> 4bf1 8000 	balrsc	ra,s1
+[0-9a-f]+ <[^>]+> 446d 2345 	addiu	t5,gp,74565
+[0-9a-f]+ <[^>]+> 6062 5678 1234 	addiu	t5,gp,[0-9a-f]+6
+[0-9a-f]+ <[^>]+> 6062 dcbb fffe 	addiu	t5,gp,-74565
+[0-9a-f]+ <[^>]+> 6062 a988 edcb 	addiu	t5,gp,-305419896
+[0-9a-f]+ <[^>]+> 6061 2345 0001 	addiu	t5,t5,74565
+[0-9a-f]+ <[^>]+> 6061 5678 1234 	addiu	t5,t5,[0-9a-f]+6
+[0-9a-f]+ <[^>]+> 6061 dcbb fffe 	addiu	t5,t5,-74565
+[0-9a-f]+ <[^>]+> 6061 a988 edcb 	addiu	t5,t5,-305419896
+[0-9a-f]+ <[^>]+> c84c 0800 	bgeiuc	t4,1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> c84f f800 	bgeiuc	t4,127,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> c85c 0800 	bltiuc	t4,1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> c85f f800 	bltiuc	t4,127,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> 2062 201f 	extw	a0,t4,t5,0
+[0-9a-f]+ <[^>]+> 2062 261f 	extw	a0,t4,t5,24
+[0-9a-f]+ <[^>]+> 2062 241f 	extw	a0,t4,t5,16
+[0-9a-f]+ <[^>]+> 2062 221f 	extw	a0,t4,t5,8
+[0-9a-f]+ <[^>]+> 2062 205f 	extw	a0,t4,t5,1
+[0-9a-f]+ <[^>]+> 2062 209f 	extw	a0,t4,t5,2
+[0-9a-f]+ <[^>]+> 2062 20df 	extw	a0,t4,t5,3
+[0-9a-f]+ <[^>]+> 2062 211f 	extw	a0,t4,t5,4
+[0-9a-f]+ <[^>]+> 1083      	move	a0,t5
+[0-9a-f]+ <[^>]+> 2003 2290 	or	a0,t5,zero
+[0-9a-f]+ <[^>]+> 2062 261f 	extw	a0,t4,t5,24
+[0-9a-f]+ <[^>]+> 2062 241f 	extw	a0,t4,t5,16
+[0-9a-f]+ <[^>]+> 2062 221f 	extw	a0,t4,t5,8
+[0-9a-f]+ <[^>]+> 5359      	lwxs	a0,a1\(a2\)
+[0-9a-f]+ <[^>]+> 508f      	lwxs	a3,s0\(s1\)
+[0-9a-f]+ <[^>]+> 5235      	lwxs	s2,s3\(a0\)
+[0-9a-f]+ <[^>]+> 4200 0003 	sw	s0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL19_S2	x
+[0-9a-f]+ <[^>]+> d484      	sw	s1,16\(gp\)
+[0-9a-f]+ <[^>]+> d484      	sw	s1,16\(gp\)
+[0-9a-f]+ <[^>]+> d480      	sw	s1,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL7_S2	test
+[0-9a-f]+ <[^>]+> 04a0 0000 	addiupc	a1,4
+			[0-9a-f]+: R_NANOMIPS_PC21_S1	test
+[0-9a-f]+ <[^>]+> 04a0 0000 	addiupc	a1,4
+			[0-9a-f]+: R_NANOMIPS_PC21_S1	test2
+[0-9a-f]+ <[^>]+> 8483 3fa0 	pref	0x4,4000\(t5\)
+[0-9a-f]+ <[^>]+> a483 98e2 	pref	0x4,-30\(t5\)
+[0-9a-f]+ <[^>]+> 8483 3000 	pref	0x4,0\(t5\)
+			[0-9a-f]+: R_NANOMIPS_LO12	test
+[0-9a-f]+ <[^>]+> c884 c000 	bbeqzc	a0,24,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> c884 0800 	bbeqzc	a0,1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> c884 f800 	bbeqzc	a0,31,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> c894 0000 	bbnezc	a0,0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> c894 8000 	bbnezc	a0,16,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> 2083 0000 	teq	t5,a0,0x0
+[0-9a-f]+ <[^>]+> 20c5 0400 	tne	a1,a2,0x0
+[0-9a-f]+ <[^>]+> 2083 3000 	teq	t5,a0,0x6
+[0-9a-f]+ <[^>]+> 20c5 3c00 	tne	a1,a2,0x7
+[0-9a-f]+ <[^>]+> 606b 0000 0000 	lwpc	t5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	\*ABS\*\+0x2710
+[0-9a-f]+ <[^>]+> 606f 0000 0000 	swpc	t5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	\*ABS\*\+0x2710
+[0-9a-f]+ <[^>]+> 6063 0000 0000 	addiupc	t5,6
+			[0-9a-f]+: R_NANOMIPS_PC_I32	test
+[0-9a-f]+ <[^>]+> 606b 0000 0000 	lwpc	t5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	test
+[0-9a-f]+ <[^>]+> 606f 0000 0000 	swpc	t5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC_I32	test
+[0-9a-f]+ <[^>]+> a445 2104 	ualh	t4,4\(a1\)
+[0-9a-f]+ <[^>]+> a445 2904 	uash	t4,4\(a1\)
+[0-9a-f]+ <[^>]+> a445 4504 	ualwm	t4,4\(a1\),4
+[0-9a-f]+ <[^>]+> a445 6d04 	uaswm	t4,4\(a1\),6
+[0-9a-f]+ <[^>]+> a445 1504 	ualwm	t4,4\(a1\),1
+[0-9a-f]+ <[^>]+> a445 1d04 	uaswm	t4,4\(a1\),1
+[0-9a-f]+ <[^>]+> a445 0504 	ualwm	t4,4\(a1\),8
+[0-9a-f]+ <[^>]+> a445 7d04 	uaswm	t4,4\(a1\),7
+[0-9a-f]+ <[^>]+> a445 0404 	lwm	t4,4\(a1\),8
+[0-9a-f]+ <[^>]+> a445 7c04 	swm	t4,4\(a1\),7
+[0-9a-f]+ <[^>]+> 8043 d7c5 	rotx	t4,t5,5,30,1
+[0-9a-f]+ <[^>]+> 8043 d01f 	rotx	t4,t5,31,0,0
+[0-9a-f]+ <[^>]+> 8043 d01f 	rotx	t4,t5,31,0,0
+[0-9a-f]+ <[^>]+> 8043 d247 	rotx	t4,t5,7,8,1
+[0-9a-f]+ <[^>]+> 8043 d247 	rotx	t4,t5,7,8,1
+[0-9a-f]+ <[^>]+> 8043 d247 	rotx	t4,t5,7,8,1
+[0-9a-f]+ <[^>]+> 8043 d40f 	rotx	t4,t5,15,16,0
+[0-9a-f]+ <[^>]+> 8043 d40f 	rotx	t4,t5,15,16,0
+[0-9a-f]+ <[^>]+> 8043 d218 	rotx	t4,t5,24,8,0
+[0-9a-f]+ <[^>]+> 8043 d218 	rotx	t4,t5,24,8,0
+[0-9a-f]+ <[^>]+> 8043 d608 	rotx	t4,t5,8,24,0
+[0-9a-f]+ <[^>]+> 8043 d608 	rotx	t4,t5,8,24,0
+[0-9a-f]+ <[^>]+> 8043 d608 	rotx	t4,t5,8,24,0
+[0-9a-f]+ <[^>]+> 04bf fffd 	addiupc	a1,0
+[0-9a-f]+ <[^>]+> 04a0 0000 	addiupc	a1,4
+[0-9a-f]+ <[^>]+> 04a0 0004 	addiupc	a1,8
+[0-9a-f]+ <[^>]+> 60a3 fffa ffff 	addiupc	a1,0
+[0-9a-f]+ <[^>]+> 60a3 0000 0000 	addiupc	a1,6
+[0-9a-f]+ <[^>]+> 60a3 0002 0000 	addiupc	a1,8
+[0-9a-f]+ <[^>]+> 04bf fffe 	addiupc	a1,2097154
+[0-9a-f]+ <[^>]+> 60a3 fffe 001f 	addiupc	a1,2097156
+[0-9a-f]+ <[^>]+> 04a0 0001 	addiupc	a1,-2097148
+[0-9a-f]+ <[^>]+> 60a3 fffc ffdf 	addiupc	a1,-2097150
+[0-9a-f]+ <[^>]+> e060 0002 	aluipc	t5,%pcrel_hi\(00000000 <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	test
+[0-9a-f]+ <[^>]+> 0063 0000 	addiu	t5,t5,0
+			[0-9a-f]+: R_NANOMIPS_LO12	test
+[0-9a-f]+ <[^>]+> e062 5002 	aluipc	t5,0x25
+[0-9a-f]+ <[^>]+> e062 5002 	aluipc	t5,0x25
+[0-9a-f]+ <[^>]+> e065 40ef 	aluipc	t5,0x87654
+[0-9a-f]+ <[^>]+> e065 40ef 	aluipc	t5,0x87654
+[0-9a-f]+ <[^>]+> b2c8      	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> 3c02      	addu	a4,a4,a6
+[0-9a-f]+ <[^>]+> b100      	addu	s0,s0,s2
+[0-9a-f]+ <[^>]+> 3e97      	addu	s4,s4,s7
+[0-9a-f]+ <[^>]+> 3ca3      	addu	a1,a1,a7
+[0-9a-f]+ <[^>]+> 3c51      	addu	a6,a6,s1
+[0-9a-f]+ <[^>]+> 3e76      	addu	s3,s3,s6
+[0-9a-f]+ <[^>]+> 3ea1      	addu	s5,s5,a5
+[0-9a-f]+ <[^>]+> 3c02      	addu	a4,a4,a6
+[0-9a-f]+ <[^>]+> 3e97      	addu	s4,s4,s7
+[0-9a-f]+ <[^>]+> 3ca3      	addu	a1,a1,a7
+[0-9a-f]+ <[^>]+> 3c51      	addu	a6,a6,s1
+[0-9a-f]+ <[^>]+> 3e76      	addu	s3,s3,s6
+[0-9a-f]+ <[^>]+> 3ea1      	addu	s5,s5,a5
+[0-9a-f]+ <[^>]+> 3ccf      	mul	a2,a2,a3
+[0-9a-f]+ <[^>]+> 3c2b      	mul	a5,a5,a7
+[0-9a-f]+ <[^>]+> 3e3b      	mul	s1,s1,s3
+[0-9a-f]+ <[^>]+> 3edc      	mul	s6,s6,s4
+[0-9a-f]+ <[^>]+> 3ce9      	mul	a3,a3,a5
+[0-9a-f]+ <[^>]+> 3c78      	mul	a7,a7,s0
+[0-9a-f]+ <[^>]+> 3e5d      	mul	s2,s2,s5
+[0-9a-f]+ <[^>]+> 3ee8      	mul	s7,s7,a4
+[0-9a-f]+ <[^>]+> 3ccf      	mul	a2,a2,a3
+[0-9a-f]+ <[^>]+> 3c2b      	mul	a5,a5,a7
+[0-9a-f]+ <[^>]+> 3e3b      	mul	s1,s1,s3
+[0-9a-f]+ <[^>]+> 3edc      	mul	s6,s6,s4
+[0-9a-f]+ <[^>]+> 3ce9      	mul	a3,a3,a5
+[0-9a-f]+ <[^>]+> 3c78      	mul	a7,a7,s0
+[0-9a-f]+ <[^>]+> 3e5d      	mul	s2,s2,s5
+[0-9a-f]+ <[^>]+> 3ee8      	mul	s7,s7,a4
+[0-9a-f]+ <[^>]+> dbef      	beqc	a2,a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC4_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 88c6 0000 	beqc	a2,a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> dbef      	beqc	a2,a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC4_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 9b00      	beqzc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 8000 c000 	nop
+[0-9a-f]+ <[^>]+> db7f      	bnec	a3,a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC4_S1	.L2\^B1
+[0-9a-f]+ <[^>]+> db6f      	bnec	a2,a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC4_S1	.L2\^B1
+[0-9a-f]+ <[^>]+> db7f      	bnec	a3,a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC4_S1	.L2\^B1
+[0-9a-f]+ <[^>]+> bb00      	bnezc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	.L2\^B1
+[0-9a-f]+ <[^>]+> 8000 c000 	nop
+[0-9a-f]+ <[^>]+> 2001 f37f 	eretnc
+#pass
diff --git a/gas/testsuite/gas/nanomips/nanomips-exc.s b/gas/testsuite/gas/nanomips/nanomips-exc.s
new file mode 100644
index 00000000000..925512b7c15
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/nanomips-exc.s
@@ -0,0 +1,282 @@
+	.text
+	.extern test2
+	.ent	test
+	.globl	test
+test:
+	.ifndef insn32_broken
+	.set noat
+	movep	$r4, $r5, $r9, $r8
+	movep	$r5, $r6, $r0, $r10
+	movep	$r6, $r7, $r5, $r4
+	movep	$r7, $r8, $r7, $r6
+
+	movep	$r4, $r5, $r16, $r17
+	movep	$r5, $r6, $r18, $r19
+	movep	$r6, $r7, $r20, $r21
+	movep	$r7, $r8, $r22, $r23
+	/* movep[rev] */
+	movep[rev]	$r8, $r7, $r4, $r5
+	movep	$r9, $r6, $r5, $r6
+	movep	$r10, $r5, $r6, $r7
+	movep	$r11, $r4, $r7, $r8
+
+	movep	$r16, $r20, $r4, $r5
+	movep	$r21, $r17, $r5, $r6
+	movep	$r18, $r22, $r6, $r7
+	movep	$r23, $r19, $r7, $r8
+
+	/* movep - arg pair reversed */
+	movep	$r5, $r4, $r8, $r9
+	movep	$r6, $r5, $r10, $r0
+	movep	$r7, $r6, $r4, $r5
+	movep	$r8, $r7, $r6, $r7
+
+	movep	$r5, $r4, $r17, $r16
+	movep	$r6, $r5, $r19, $r18
+	movep	$r7, $r6, $r21, $r20
+	movep	$r8, $r7, $r23, $r22
+	/* movep[rev] - arg pair reversed */
+	movep[rev]	$r7, $r8,  $r5, $r4
+	movep	$r6, $r9,  $r6, $r5
+	movep	$r5, $r10, $r7, $r6
+	movep	$r4, $r11, $r8, $r7
+
+	movep	$r20, $r16, $r5, $r4
+	movep	$r17, $r21, $r6, $r5
+	movep	$r22, $r18, $r7, $r6
+	movep	$r19, $r23, $r8, $r7
+	.endif
+
+	lw	$r8, 0($r8)
+	lw	$r9, 4($r9)
+	lw	$r10, 8($r10)
+	lw	$r11, 12($r11)
+
+	lw	$r8, 0($r4)
+	lw	$r9, 4($r5)
+	lw	$r10, 8($r6)
+	lw	$r11, 12($r7)
+
+	lw	$r8, 0($r16)
+	lw	$r9, 4($r17)
+	lw	$r10, 8($r18)
+	lw	$r11, 12($r19)
+
+	lw	$r8, 0($r20)
+	lw	$r9, 4($r21)
+	lw	$r10, 8($r22)
+	lw	$r11, 12($r23)
+
+	lw	$r4, 0($r8)
+	lw	$r5, 4($r9)
+	lw	$r6, 8($r10)
+	lw	$r7, 12($r11)
+
+	sw	$r16, 0($r8)
+	sw	$r17, 4($r9)
+	sw	$r18, 8($r10)
+	sw	$r19, 12($r11)
+
+	sw	$r20, 0($r8)
+	sw	$r21, 4($r9)
+	sw	$r22, 8($r10)
+	sw	$r23, 12($r11)
+
+	sw	$r20, 0($r4)
+	sw	$r21, 4($r5)
+	sw	$r22, 8($r6)
+	sw	$r23, 12($r7)
+
+	sw	$r20, 0($r16)
+	sw	$r21, 4($r17)
+	sw	$r22, 8($r18)
+	sw	$r23, 12($r19)
+
+	sw	$r20, 0($r20)
+	sw	$r21, 4($r21)
+	sw	$r22, 8($r22)
+	sw	$r23, 12($r23)
+
+	sw	$r4, 0($r20)
+	sw	$r5, 4($r21)
+	sw	$r6, 8($r22)
+	sw	$r7, 12($r23)
+
+	sw	$r16, 0($r20)
+	sw	$r17, 4($r21)
+	sw	$r18, 8($r22)
+	sw	$r19, 12($r23)
+
+	brsc	$r3
+	brsc	$r31
+
+	balrsc	$r16, $r17
+	balrsc	$r17
+
+	addiu	$r3, $r28, 0x12345
+	.ifndef insn32_broken
+	addiu	$r3, $r28, 0x12345678
+	addiu	$r3, $r28, -0x12345
+	addiu	$r3, $r28, -0x12345678
+
+	addiu	$r3, $r3, 0x12345
+	addiu	$r3, 0x12345678
+	addiu	$r3, $r3, -0x12345
+	addiu	$r3, -0x12345678
+	.endif
+
+	bgeiuc	$r2, 1, test
+	bgeiuc	$r2, 127, test
+	bltiuc	$r2, 1, test
+	bltiuc	$r2, 127, test
+	
+	extw	$r4, $r2, $r3, 0
+	extw    $r4, $r2, $r3, 24
+	extw    $r4, $r2, $r3, 16
+	extw    $r4, $r2, $r3, 8
+	extw	$r4, $r2, $r3, 1
+	extw    $r4, $r2, $r3, 2
+	extw    $r4, $r2, $r3, 3
+	extw    $r4, $r2, $r3, 4
+
+	align   $r4, $r2, $r3, 0
+	align32 $r4, $r2, $r3, 0
+	align   $r4, $r2, $r3, 1
+	align   $r4, $r2, $r3, 2
+	align   $r4, $r2, $r3, 3
+
+	lwxs	$r4, $r5($r6)
+	lwxs	$r7, $r16($r17)
+	lwxs	$r18, $r19($r4)
+
+	sw	$r16,%gprel(x)($r28)
+	sw	$r17,16($r28)
+	.ifndef insn32
+	sw16	$r17,16($r28)
+	sw16	$r17,%gprel(test)($r28)
+	.endif
+	lapc 	$r5,test
+	lapc 	$r5,test2
+	.set at
+	pref 	4,4000($r3)
+	pref 	4,-30($r3)
+	pref 	4,%lo(test)($r3)
+
+	bbeqzc $r4,24,test
+	bbeqzc $r4,1,test
+	bbeqzc $r4,31,test
+	bbnezc $r4,0,test
+	bbnezc $r4,16,test
+	teq	$r3,$r4
+	tne 	$r5,$r6
+	teq	$r3,$r4,6
+	tne 	$r5,$r6,7
+	.ifndef insn32
+	lwpc $r3, 10000
+	swpc $r3, 10000
+	lapc48 $r3, test
+	lwpc $r3, test
+	swpc $r3, test
+	.endif
+
+	ualh	$r2, 4($r5)
+	uash	$r2, 4($r5)
+	ualwm	$r2, 4($r5),4
+	uaswm	$r2, 4($r5),6
+	ualw	$r2, 4($r5)
+	uasw	$r2, 4($r5)
+	ualwm	$r2, 4($r5),8
+	uaswm	$r2, 4($r5),7
+	
+	lwm	$r2, 4($r5),8
+	swm	$r2, 4($r5),7
+
+	rotx    $r2, $r3, 5, 30, 1
+	rotx    $r2, $r3, 31, 0
+	bitrevw $r2,$r3
+	rotx    $r2, $r3, 7, 8, 1
+	bitswap $r2,$r3
+	bitrevb $r2,$r3
+	rotx    $r2, $r3, 15, 16
+	bitrevh $r2,$r3
+	rotx    $r2, $r3, 24, 8
+	byterevw $r2,$r3
+	rotx    $r2, $r3, 8, 24
+	wsbh 	$r2,$r3
+	byterevh 	$r2,$r3
+
+	addiupc		$r5, 0
+	addiupc 	$r5, 4
+	addiupc 	$r5, 8
+	.ifndef insn32
+	addiupc48 	$r5, 0
+	addiupc48 	$r5,6
+	addiupc48 	$r5,8
+	.endif
+	addiupc 	$r5,2097154
+	.ifndef insn32_broken
+	addiupc 	$r5,2097156
+	.endif
+	addiupc 	$r5,-2097148
+	.ifndef insn32_broken
+	addiupc 	$r5,-2097150
+	.endif
+
+	aluipc	$r3,%pcrel_hi(test)
+	addiu	$r3, $r3, %pcrel_lo(test)
+	aluipc	$r3,0x25
+	aluipc	$r3,%hi(0x25000)
+	aluipc	$r3,0x87654
+	aluipc	$r3,%hi(0x87654000)
+
+	addu	$r4, $r4, $r5
+	addu	$r8, $r8, $r10
+	addu	$r16, $r16, $r18
+	addu	$r20, $r20, $r23
+
+	addu	$r5, $r5, $r11
+	addu	$r10, $r10, $r17
+	addu	$r19, $r19, $r22
+	addu	$r21, $r21, $r9
+
+	addu	$r8, $r10, $r8
+	addu	$r20, $r23, $r20
+	addu	$r5, $r11, $r5
+	addu	$r10, $r17, $r10
+	addu	$r19, $r22, $r19
+	addu	$r21, $r9, $r21
+
+	mul	$r6, $r6, $r7
+	mul	$r9, $r9, $r11
+	mul	$r17, $r17, $r19
+	mul	$r22, $r22, $r20
+
+	mul	$r7, $r7, $r9
+	mul	$r11, $r11, $r16
+	mul	$r18, $r18, $r21
+	mul	$r23, $r23, $r8
+
+	mul	$r6, $r7, $r6
+	mul	$r9, $r11, $r9
+	mul	$r17, $r19, $r17
+	mul	$r22, $r20, $r22
+
+	mul	$r7, $r9, $r7
+	mul	$r11, $r16, $r11
+	mul	$r18, $r21, $r18
+	mul	$r23, $r8, $r23
+
+	beqc	$r6, $r7, 1f
+	beqc	$r6, $r6, 1f
+	beqc 	$r7, $r6, 1f
+	beqc 	$r6, $r0, 1f
+	nop32
+1:
+	bnec	$r6, $r7, 2f
+	bnec	$r6, $r6, 2f
+	bnec 	$r7, $r6, 2f
+	bnec 	$r6, $r0, 2f
+	nop32
+2:
+	eretnc
+	.end	test
diff --git a/gas/testsuite/gas/nanomips/nanomips-exc32.d b/gas/testsuite/gas/nanomips/nanomips-exc32.d
new file mode 100644
index 00000000000..02daeeaa682
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/nanomips-exc32.d
@@ -0,0 +1,198 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: New nanoMIPS instructions in 32-bit fixed instruction mode
+#as: -minsn32 --defsym insn32=
+#source: nanomips-exc.s
+
+# Check exclusive nanoMIPS 32-bit instructions
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]+> 8508 8000 	lw	a4,0\(a4\)
+[0-9a-f]+ <[^>]+> 8529 8004 	lw	a5,4\(a5\)
+[0-9a-f]+ <[^>]+> 854a 8008 	lw	a6,8\(a6\)
+[0-9a-f]+ <[^>]+> 856b 800c 	lw	a7,12\(a7\)
+[0-9a-f]+ <[^>]+> 8504 8000 	lw	a4,0\(a0\)
+[0-9a-f]+ <[^>]+> 8525 8004 	lw	a5,4\(a1\)
+[0-9a-f]+ <[^>]+> 8546 8008 	lw	a6,8\(a2\)
+[0-9a-f]+ <[^>]+> 8567 800c 	lw	a7,12\(a3\)
+[0-9a-f]+ <[^>]+> 8510 8000 	lw	a4,0\(s0\)
+[0-9a-f]+ <[^>]+> 8531 8004 	lw	a5,4\(s1\)
+[0-9a-f]+ <[^>]+> 8552 8008 	lw	a6,8\(s2\)
+[0-9a-f]+ <[^>]+> 8573 800c 	lw	a7,12\(s3\)
+[0-9a-f]+ <[^>]+> 8514 8000 	lw	a4,0\(s4\)
+[0-9a-f]+ <[^>]+> 8535 8004 	lw	a5,4\(s5\)
+[0-9a-f]+ <[^>]+> 8556 8008 	lw	a6,8\(s6\)
+[0-9a-f]+ <[^>]+> 8577 800c 	lw	a7,12\(s7\)
+[0-9a-f]+ <[^>]+> 8488 8000 	lw	a0,0\(a4\)
+[0-9a-f]+ <[^>]+> 84a9 8004 	lw	a1,4\(a5\)
+[0-9a-f]+ <[^>]+> 84ca 8008 	lw	a2,8\(a6\)
+[0-9a-f]+ <[^>]+> 84eb 800c 	lw	a3,12\(a7\)
+[0-9a-f]+ <[^>]+> 8608 9000 	sw	s0,0\(a4\)
+[0-9a-f]+ <[^>]+> 8629 9004 	sw	s1,4\(a5\)
+[0-9a-f]+ <[^>]+> 864a 9008 	sw	s2,8\(a6\)
+[0-9a-f]+ <[^>]+> 866b 900c 	sw	s3,12\(a7\)
+[0-9a-f]+ <[^>]+> 8688 9000 	sw	s4,0\(a4\)
+[0-9a-f]+ <[^>]+> 86a9 9004 	sw	s5,4\(a5\)
+[0-9a-f]+ <[^>]+> 86ca 9008 	sw	s6,8\(a6\)
+[0-9a-f]+ <[^>]+> 86eb 900c 	sw	s7,12\(a7\)
+[0-9a-f]+ <[^>]+> 8684 9000 	sw	s4,0\(a0\)
+[0-9a-f]+ <[^>]+> 86a5 9004 	sw	s5,4\(a1\)
+[0-9a-f]+ <[^>]+> 86c6 9008 	sw	s6,8\(a2\)
+[0-9a-f]+ <[^>]+> 86e7 900c 	sw	s7,12\(a3\)
+[0-9a-f]+ <[^>]+> 8690 9000 	sw	s4,0\(s0\)
+[0-9a-f]+ <[^>]+> 86b1 9004 	sw	s5,4\(s1\)
+[0-9a-f]+ <[^>]+> 86d2 9008 	sw	s6,8\(s2\)
+[0-9a-f]+ <[^>]+> 86f3 900c 	sw	s7,12\(s3\)
+[0-9a-f]+ <[^>]+> 8694 9000 	sw	s4,0\(s4\)
+[0-9a-f]+ <[^>]+> 86b5 9004 	sw	s5,4\(s5\)
+[0-9a-f]+ <[^>]+> 86d6 9008 	sw	s6,8\(s6\)
+[0-9a-f]+ <[^>]+> 86f7 900c 	sw	s7,12\(s7\)
+[0-9a-f]+ <[^>]+> 8494 9000 	sw	a0,0\(s4\)
+[0-9a-f]+ <[^>]+> 84b5 9004 	sw	a1,4\(s5\)
+[0-9a-f]+ <[^>]+> 84d6 9008 	sw	a2,8\(s6\)
+[0-9a-f]+ <[^>]+> 84f7 900c 	sw	a3,12\(s7\)
+[0-9a-f]+ <[^>]+> 8614 9000 	sw	s0,0\(s4\)
+[0-9a-f]+ <[^>]+> 8635 9004 	sw	s1,4\(s5\)
+[0-9a-f]+ <[^>]+> 8656 9008 	sw	s2,8\(s6\)
+[0-9a-f]+ <[^>]+> 8677 900c 	sw	s3,12\(s7\)
+[0-9a-f]+ <[^>]+> 4803 8000 	brsc	t5
+[0-9a-f]+ <[^>]+> 481f 8000 	brsc	ra
+[0-9a-f]+ <[^>]+> 4a11 8000 	balrsc	s0,s1
+[0-9a-f]+ <[^>]+> 4bf1 8000 	balrsc	ra,s1
+[0-9a-f]+ <[^>]+> 446d 2345 	addiu	t5,gp,74565
+[0-9a-f]+ <[^>]+> c84c 0800 	bgeiuc	t4,1,[0-9a-f]+ <[^>]+>
+			d4: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> c84f f800 	bgeiuc	t4,127,[0-9a-f]+ <[^>]+>
+			d8: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> c85c 0800 	bltiuc	t4,1,[0-9a-f]+ <[^>]+>
+			dc: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> c85f f800 	bltiuc	t4,127,[0-9a-f]+ <[^>]+>
+			e0: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> 2062 201f 	extw	a0,t4,t5,0
+[0-9a-f]+ <[^>]+> 2062 261f 	extw	a0,t4,t5,24
+[0-9a-f]+ <[^>]+> 2062 241f 	extw	a0,t4,t5,16
+[0-9a-f]+ <[^>]+> 2062 221f 	extw	a0,t4,t5,8
+[0-9a-f]+ <[^>]+> 2062 205f 	extw	a0,t4,t5,1
+[0-9a-f]+ <[^>]+> 2062 209f 	extw	a0,t4,t5,2
+[0-9a-f]+ <[^>]+> 2062 20df 	extw	a0,t4,t5,3
+[0-9a-f]+ <[^>]+> 2062 211f 	extw	a0,t4,t5,4
+[0-9a-f]+ <[^>]+> 2003 2290 	move	a0,t5
+[0-9a-f]+ <[^>]+> 2003 2290 	move	a0,t5
+[0-9a-f]+ <[^>]+> 2062 261f 	extw	a0,t4,t5,24
+[0-9a-f]+ <[^>]+> 2062 241f 	extw	a0,t4,t5,16
+[0-9a-f]+ <[^>]+> 2062 221f 	extw	a0,t4,t5,8
+[0-9a-f]+ <[^>]+> 20c5 2447 	lwxs	a0,a1\(a2\)
+[0-9a-f]+ <[^>]+> 2230 3c47 	lwxs	a3,s0\(s1\)
+[0-9a-f]+ <[^>]+> 2093 9447 	lwxs	s2,s3\(a0\)
+[0-9a-f]+ <[^>]+> 4200 0003 	sw	s0,0\(gp\)
+			124: R_NANOMIPS_GPREL19_S2	x
+[0-9a-f]+ <[^>]+> 4220 0013 	sw	s1,16\(gp\)
+[0-9a-f]+ <[^>]+> 04a0 0000 	lapc	a1,00000000 <[^>]+>
+			12c: R_NANOMIPS_PC21_S1	test
+[0-9a-f]+ <[^>]+> 04a0 0000 	lapc	a1,00000000 <[^>]+>
+			130: R_NANOMIPS_PC21_S1	test2
+[0-9a-f]+ <[^>]+> 8483 3fa0 	pref	0x4,4000\(t5\)
+[0-9a-f]+ <[^>]+> a483 98e2 	pref	0x4,-30\(t5\)
+[0-9a-f]+ <[^>]+> 8483 3000 	pref	0x4,0\(t5\)
+			13c: R_NANOMIPS_LO12	test
+[0-9a-f]+ <[^>]+> c884 c000 	bbeqzc	a0,24,[0-9a-f]+ <[^>]+>
+			140: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> c884 0800 	bbeqzc	a0,1,[0-9a-f]+ <[^>]+>
+			144: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> c884 f800 	bbeqzc	a0,31,[0-9a-f]+ <[^>]+>
+			148: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> c894 0000 	bbnezc	a0,0,[0-9a-f]+ <[^>]+>
+			14c: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> c894 8000 	bbnezc	a0,16,[0-9a-f]+ <[^>]+>
+			150: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> 2083 0000 	teq	t5,a0
+[0-9a-f]+ <[^>]+> 20c5 0400 	tne	a1,a2
+[0-9a-f]+ <[^>]+> 2083 3000 	teq	t5,a0,0x6
+[0-9a-f]+ <[^>]+> 20c5 3c00 	tne	a1,a2,0x7
+[0-9a-f]+ <[^>]+> a445 2104 	ualh	t4,4\(a1\)
+[0-9a-f]+ <[^>]+> a445 2904 	uash	t4,4\(a1\)
+[0-9a-f]+ <[^>]+> a445 4504 	ualwm	t4,4\(a1\),4
+[0-9a-f]+ <[^>]+> a445 6d04 	uaswm	t4,4\(a1\),6
+[0-9a-f]+ <[^>]+> a445 1504 	ualw	t4,4\(a1\)
+[0-9a-f]+ <[^>]+> a445 1d04 	uasw	t4,4\(a1\)
+[0-9a-f]+ <[^>]+> a445 0504 	ualwm	t4,4\(a1\),8
+[0-9a-f]+ <[^>]+> a445 7d04 	uaswm	t4,4\(a1\),7
+[0-9a-f]+ <[^>]+> a445 0404 	lwm	t4,4\(a1\),8
+[0-9a-f]+ <[^>]+> a445 7c04 	swm	t4,4\(a1\),7
+[0-9a-f]+ <[^>]+> 8043 d7c5 	rotx	t4,t5,5,30,1
+[0-9a-f]+ <[^>]+> 8043 d01f 	bitrevw	t4,t5
+[0-9a-f]+ <[^>]+> 8043 d01f 	bitrevw	t4,t5
+[0-9a-f]+ <[^>]+> 8043 d247 	bitrevb	t4,t5
+[0-9a-f]+ <[^>]+> 8043 d247 	bitrevb	t4,t5
+[0-9a-f]+ <[^>]+> 8043 d247 	bitrevb	t4,t5
+[0-9a-f]+ <[^>]+> 8043 d40f 	bitrevh	t4,t5
+[0-9a-f]+ <[^>]+> 8043 d40f 	bitrevh	t4,t5
+[0-9a-f]+ <[^>]+> 8043 d218 	byterevw	t4,t5
+[0-9a-f]+ <[^>]+> 8043 d218 	byterevw	t4,t5
+[0-9a-f]+ <[^>]+> 8043 d608 	byterevh	t4,t5
+[0-9a-f]+ <[^>]+> 8043 d608 	byterevh	t4,t5
+[0-9a-f]+ <[^>]+> 8043 d608 	byterevh	t4,t5
+[0-9a-f]+ <[^>]+> 04bf fffd 	lapc	a1,[0-9a-f]+ <test\+0x1c0>
+[0-9a-f]+ <[^>]+> 04a0 0000 	lapc	a1,[0-9a-f]+ <test\+0x1c8>
+[0-9a-f]+ <[^>]+> 04a0 0004 	lapc	a1,[0-9a-f]+ <test\+0x1d0>
+[0-9a-f]+ <[^>]+> 04bf fffe 	lapc	a1,[0-9a-f]+ <[^>]+>
+[0-9a-f]+ <[^>]+> 04a0 0001 	lapc	a1,[0-9a-f]+ <[^>]+>
+[0-9a-f]+ <[^>]+> e060 0002 	aluipc	t5,%pcrel_hi\(00000000 <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	test
+[0-9a-f]+ <[^>]+> 0063 0000 	addiu	t5,t5,0
+			[0-9a-f]+: R_NANOMIPS_LO12	test
+[0-9a-f]+ <[^>]+> e062 5002 	aluipc	t5,0x25
+[0-9a-f]+ <[^>]+> e062 5002 	aluipc	t5,0x25
+[0-9a-f]+ <[^>]+> e065 40ef 	aluipc	t5,0x87654
+[0-9a-f]+ <[^>]+> e065 40ef 	aluipc	t5,0x87654
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> 2148 4150 	addu	a4,a4,a6
+[0-9a-f]+ <[^>]+> 2250 8150 	addu	s0,s0,s2
+[0-9a-f]+ <[^>]+> 22f4 a150 	addu	s4,s4,s7
+[0-9a-f]+ <[^>]+> 2165 2950 	addu	a1,a1,a7
+[0-9a-f]+ <[^>]+> 222a 5150 	addu	a6,a6,s1
+[0-9a-f]+ <[^>]+> 22d3 9950 	addu	s3,s3,s6
+[0-9a-f]+ <[^>]+> 2135 a950 	addu	s5,s5,a5
+[0-9a-f]+ <[^>]+> 210a 4150 	addu	a4,a6,a4
+[0-9a-f]+ <[^>]+> 2297 a150 	addu	s4,s7,s4
+[0-9a-f]+ <[^>]+> 20ab 2950 	addu	a1,a7,a1
+[0-9a-f]+ <[^>]+> 2151 5150 	addu	a6,s1,a6
+[0-9a-f]+ <[^>]+> 2276 9950 	addu	s3,s6,s3
+[0-9a-f]+ <[^>]+> 22a9 a950 	addu	s5,a5,s5
+[0-9a-f]+ <[^>]+> 20e6 3018 	mul	a2,a2,a3
+[0-9a-f]+ <[^>]+> 2169 4818 	mul	a5,a5,a7
+[0-9a-f]+ <[^>]+> 2271 8818 	mul	s1,s1,s3
+[0-9a-f]+ <[^>]+> 2296 b018 	mul	s6,s6,s4
+[0-9a-f]+ <[^>]+> 2127 3818 	mul	a3,a3,a5
+[0-9a-f]+ <[^>]+> 220b 5818 	mul	a7,a7,s0
+[0-9a-f]+ <[^>]+> 22b2 9018 	mul	s2,s2,s5
+[0-9a-f]+ <[^>]+> 2117 b818 	mul	s7,s7,a4
+[0-9a-f]+ <[^>]+> 20c7 3018 	mul	a2,a3,a2
+[0-9a-f]+ <[^>]+> 212b 4818 	mul	a5,a7,a5
+[0-9a-f]+ <[^>]+> 2233 8818 	mul	s1,s3,s1
+[0-9a-f]+ <[^>]+> 22d4 b018 	mul	s6,s4,s6
+[0-9a-f]+ <[^>]+> 20e9 3818 	mul	a3,a5,a3
+[0-9a-f]+ <[^>]+> 2170 5818 	mul	a7,s0,a7
+[0-9a-f]+ <[^>]+> 2255 9018 	mul	s2,s5,s2
+[0-9a-f]+ <[^>]+> 22e8 b818 	mul	s7,a4,s7
+[0-9a-f]+ <[^>]+> 88e6 0000 	beqc	a2,a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 88c6 0000 	beqc	a2,a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 88c7 0000 	beqc	a3,a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 8806 0000 	beqzc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 8000 c000 	nop
+[0-9a-f]+ <[^>]+> a8e6 0000 	bnec	a2,a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L2\^B1
+[0-9a-f]+ <[^>]+> a8c6 0000 	bnec	a2,a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L2\^B1
+[0-9a-f]+ <[^>]+> a8c7 0000 	bnec	a3,a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L2\^B1
+[0-9a-f]+ <[^>]+> a806 0000 	bnezc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L2\^B1
+[0-9a-f]+ <[^>]+> 8000 c000 	nop
+[0-9a-f]+ <[^>]+> 2001 f37f 	eretnc
+#pass
diff --git a/gas/testsuite/gas/nanomips/nanomips-subset.d b/gas/testsuite/gas/nanomips/nanomips-subset.d
new file mode 100644
index 00000000000..3da359a0f83
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/nanomips-subset.d
@@ -0,0 +1,37 @@
+#objdump: -dr --show-raw-insn
+#name: nanoMIPS ISA instructions expanded to macros for NMS
+
+.*: +file format .*nanomips.*
+
+Disassembly of section .text:
+00000000 <test>:
+   0:	8043 c011 	sll	t4,t5,17
+   4:	8042 c056 	srl	t4,t4,22
+   8:	8043 c001 	sll	t4,t5,1
+   c:	8042 c041 	srl	t4,t4,1
+  10:	8043 c05f 	srl	t4,t5,31
+  14:	83fe c05f 	srl	ra,fp,31
+  18:	2042 115f 	extw	t4,t4,t4,5
+  1c:	2062 13df 	extw	t4,t4,t5,15
+  20:	2042 131f 	extw	t4,t4,t4,12
+  24:	2042 141f 	extw	t4,t4,t4,16
+  28:	2062 141f 	extw	t4,t4,t5,16
+  2c:	1043      	move	t4,t5
+  2e:	2062 17df 	extw	t4,t4,t5,31
+  32:	2042 105f 	extw	t4,t4,t4,1
+  36:	2042 17df 	extw	t4,t4,t4,31
+  3a:	2062 105f 	extw	t4,t4,t5,1
+  3e:	2042 105f 	extw	t4,t4,t4,1
+  42:	2062 17df 	extw	t4,t4,t5,31
+  46:	2063 095f 	extw	at,t5,t5,5
+  4a:	2061 1bdf 	extw	t5,at,t5,15
+  4e:	2063 1b1f 	extw	t5,t5,t5,12
+  52:	2063 0c1f 	extw	at,t5,t5,16
+  56:	2061 1c1f 	extw	t5,at,t5,16
+  5a:	9008      	nop
+  5c:	9008      	nop
+  5e:	2063 0fdf 	extw	at,t5,t5,31
+  62:	2061 185f 	extw	t5,at,t5,1
+  66:	2063 085f 	extw	at,t5,t5,1
+  6a:	2061 1fdf 	extw	t5,at,t5,31
+#pass
diff --git a/gas/testsuite/gas/nanomips/nanomips-subset.s b/gas/testsuite/gas/nanomips/nanomips-subset.s
new file mode 100644
index 00000000000..0166f8b68f0
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/nanomips-subset.s
@@ -0,0 +1,23 @@
+	.text
+	.ent	test
+	.globl	test
+test:
+	ext	$t4, $t5, 5, 10
+	ext	$t4, $t5, 0, 31
+	ext	$t4, $t5, 31, 1
+	ext	$ra, $fp, 31, 1
+	/* INS instruction */
+	ins	$t4, $t5, 5, 15
+	ins	$t4, $t5, 16, 16
+	ins	$t4, $t5, 0, 32 /* MOVE */
+	ins	$t4, $t5, 0, 31
+	ins	$t4, $t5, 31, 1
+	ins	$t4, $t5, 1, 31
+	/* INS with same source and destination */
+	ins	$t5, $t5, 5, 15
+	ins	$t5, $t5, 16, 16
+	ins	$t5, $t5, 0, 32  /* NOP */
+	ins	$t5, $t5, 0, 31  /* NOP */
+	ins	$t5, $t5, 31, 1
+	ins	$t5, $t5, 1, 31
+	.end test
diff --git a/gas/testsuite/gas/nanomips/nanomips.d b/gas/testsuite/gas/nanomips/nanomips.d
new file mode 100644
index 00000000000..5f264fb2160
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/nanomips.d
@@ -0,0 +1,2317 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: nanoMIPS instructions
+#warning_output: nanomips.l
+
+# Check nanoMIPS instructions
+
+.*: +file format .*nanomips.*
+
+Disassembly of section .text:
+[0-9a-f]+ <[^>]+> 8400 3000 	pref	0x0,0\(zero\)
+[0-9a-f]+ <[^>]+> 8400 37ff 	pref	0x0,2047\(zero\)
+[0-9a-f]+ <[^>]+> 8020 8800 	li	at,-2048
+[0-9a-f]+ <[^>]+> a401 1800 	pref	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 8400 3800 	pref	0x0,2048\(zero\)
+[0-9a-f]+ <[^>]+> 8020 8801 	li	at,-2049
+[0-9a-f]+ <[^>]+> a401 1800 	pref	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 8400 3000 	pref	0x0,0\(zero\)
+[0-9a-f]+ <[^>]+> 8400 3000 	pref	0x0,0\(zero\)
+[0-9a-f]+ <[^>]+> 8420 3000 	pref	0x1,0\(zero\)
+[0-9a-f]+ <[^>]+> 8440 3000 	pref	0x2,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 3000 	pref	0x3,0\(zero\)
+[0-9a-f]+ <[^>]+> 8480 3000 	pref	0x4,0\(zero\)
+[0-9a-f]+ <[^>]+> 84a0 3000 	pref	0x5,0\(zero\)
+[0-9a-f]+ <[^>]+> 84c0 3000 	pref	0x6,0\(zero\)
+[0-9a-f]+ <[^>]+> 84e0 3000 	pref	0x7,0\(zero\)
+[0-9a-f]+ <[^>]+> 84e0 31ff 	pref	0x7,511\(zero\)
+[0-9a-f]+ <[^>]+> 8020 8200 	li	at,-512
+[0-9a-f]+ <[^>]+> a4e1 1800 	pref	0x7,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> a461 1800 	pref	0x3,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a461 1800 	pref	0x3,0\(at\)
+[0-9a-f]+ <[^>]+> 0022 7fff 	addiu	at,t4,32767
+[0-9a-f]+ <[^>]+> a461 1800 	pref	0x3,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2041 0950 	addu	at,at,t4
+[0-9a-f]+ <[^>]+> a461 1800 	pref	0x3,0\(at\)
+[0-9a-f]+ <[^>]+> 9008      	nop
+[0-9a-f]+ <[^>]+> 9008      	nop
+[0-9a-f]+ <[^>]+> 8000 c000 	nop
+[0-9a-f]+ <[^>]+> 8000 c003 	ehb
+[0-9a-f]+ <[^>]+> 8000 c005 	pause
+[0-9a-f]+ <[^>]+> d17f      	li	s2,-1
+[0-9a-f]+ <[^>]+> d1ff      	li	s3,-1
+[0-9a-f]+ <[^>]+> d27f      	li	a0,-1
+[0-9a-f]+ <[^>]+> d2ff      	li	a1,-1
+[0-9a-f]+ <[^>]+> d37f      	li	a2,-1
+[0-9a-f]+ <[^>]+> d3ff      	li	a3,-1
+[0-9a-f]+ <[^>]+> d07f      	li	s0,-1
+[0-9a-f]+ <[^>]+> d0ff      	li	s1,-1
+[0-9a-f]+ <[^>]+> d080      	li	s1,0
+[0-9a-f]+ <[^>]+> d0fd      	li	s1,125
+[0-9a-f]+ <[^>]+> d0fe      	li	s1,126
+[0-9a-f]+ <[^>]+> 0220 007f 	li	s1,127
+[0-9a-f]+ <[^>]+> 1180      	move	t0,zero
+[0-9a-f]+ <[^>]+> 1320      	move	t9,zero
+[0-9a-f]+ <[^>]+> 0040 0000 	li	t4,0
+[0-9a-f]+ <[^>]+> 0040 0001 	li	t4,1
+[0-9a-f]+ <[^>]+> 0040 7fff 	li	t4,32767
+[0-9a-f]+ <[^>]+> e05f 8ffd 	lui	t4,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 0040 ffff 	li	t4,65535
+[0-9a-f]+ <[^>]+> e041 0000 	lui	t4,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> e05f 8ffd 	lui	t4,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 6040 8001 ffff 	li	t4,0xffff8001
+[0-9a-f]+ <[^>]+> 8040 8001 	li	t4,-1
+[0-9a-f]+ <[^>]+> 6040 5678 1234 	li	t4,0x12345678
+[0-9a-f]+ <[^>]+> 8060 8001 	li	t5,-1
+[0-9a-f]+ <[^>]+> d27f      	li	a0,-1
+[0-9a-f]+ <[^>]+> 2016 0290 	move	zero,s6
+[0-9a-f]+ <[^>]+> 1056      	move	t4,s6
+[0-9a-f]+ <[^>]+> 1076      	move	t5,s6
+[0-9a-f]+ <[^>]+> 1096      	move	a0,s6
+[0-9a-f]+ <[^>]+> 10b6      	move	a1,s6
+[0-9a-f]+ <[^>]+> 10d6      	move	a2,s6
+[0-9a-f]+ <[^>]+> 10f6      	move	a3,s6
+[0-9a-f]+ <[^>]+> 1116      	move	a4,s6
+[0-9a-f]+ <[^>]+> 1136      	move	a5,s6
+[0-9a-f]+ <[^>]+> 1156      	move	a6,s6
+[0-9a-f]+ <[^>]+> 13d6      	move	fp,s6
+[0-9a-f]+ <[^>]+> 13f6      	move	ra,s6
+[0-9a-f]+ <[^>]+> 2000 0290 	move	zero,zero
+[0-9a-f]+ <[^>]+> 2002 0290 	move	zero,t4
+[0-9a-f]+ <[^>]+> 2003 0290 	move	zero,t5
+[0-9a-f]+ <[^>]+> 2004 0290 	move	zero,a0
+[0-9a-f]+ <[^>]+> 2005 0290 	move	zero,a1
+[0-9a-f]+ <[^>]+> 2006 0290 	move	zero,a2
+[0-9a-f]+ <[^>]+> 2007 0290 	move	zero,a3
+[0-9a-f]+ <[^>]+> 2008 0290 	move	zero,a4
+[0-9a-f]+ <[^>]+> 2009 0290 	move	zero,a5
+[0-9a-f]+ <[^>]+> 200a 0290 	move	zero,a6
+[0-9a-f]+ <[^>]+> 201e 0290 	move	zero,fp
+[0-9a-f]+ <[^>]+> 201f 0290 	move	zero,ra
+[0-9a-f]+ <[^>]+> 12c2      	move	s6,t4
+[0-9a-f]+ <[^>]+> 1056      	move	t4,s6
+[0-9a-f]+ <[^>]+> 12c2      	move	s6,t4
+[0-9a-f]+ <[^>]+> 2016 1290 	move	t4,s6
+[0-9a-f]+ <[^>]+> 2002 b290 	move	s6,t4
+[0-9a-f]+ <[^>]+> 1800      	bc	[0-9a-f]+ <test>
+			[0-9a-f]+: R_NANOMIPS_PC10_S1	test
+[0-9a-f]+ <[^>]+> 1800      	bc	[0-9a-f]+ <test>
+			[0-9a-f]+: R_NANOMIPS_PC10_S1	test
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	[0-9a-f]+ <test>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> 1800      	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC10_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 1800      	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC10_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 1800      	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC10_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 1800      	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC10_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 1043      	move	t4,t5
+[0-9a-f]+ <[^>]+> 8803 8000 	bgezc	t5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L\^_0
+[0-9a-f]+ <[^>]+> 2060 11d0 	negu	t4,t5
+[0-9a-f]+ <[^>]+> 1044      	move	t4,a0
+[0-9a-f]+ <[^>]+> 8804 8000 	bgezc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L\^_1
+[0-9a-f]+ <[^>]+> 2080 11d0 	negu	t4,a0
+[0-9a-f]+ <[^>]+> 8802 8000 	bgezc	t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L\^_2
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 8802 8000 	bgezc	t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L\^_3
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 2083 1110 	add	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe e910 	add	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 1110 	add	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1110 	add	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0042 0000 	addiu	t4,t4,0
+[0-9a-f]+ <[^>]+> 0020 0001 	li	at,1
+[0-9a-f]+ <[^>]+> 2022 1110 	add	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2022 1110 	add	t4,t4,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2022 1110 	add	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2022 1110 	add	t4,t4,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2024 1910 	add	t5,a0,at
+[0-9a-f]+ <[^>]+> 0064 0000 	addiu	t5,a0,0
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2024 1910 	add	t5,a0,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2024 1910 	add	t5,a0,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 1910 	add	t5,t5,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 1910 	add	t5,t5,at
+[0-9a-f]+ <[^>]+> 9018      	addiu	zero,zero,-8
+[0-9a-f]+ <[^>]+> 9058      	addiu	t4,t4,-8
+[0-9a-f]+ <[^>]+> 9078      	addiu	t5,t5,-8
+[0-9a-f]+ <[^>]+> 9098      	addiu	a0,a0,-8
+[0-9a-f]+ <[^>]+> 90b8      	addiu	a1,a1,-8
+[0-9a-f]+ <[^>]+> 90d8      	addiu	a2,a2,-8
+[0-9a-f]+ <[^>]+> 90f8      	addiu	a3,a3,-8
+[0-9a-f]+ <[^>]+> 9118      	addiu	a4,a4,-8
+[0-9a-f]+ <[^>]+> 9138      	addiu	a5,a5,-8
+[0-9a-f]+ <[^>]+> 9158      	addiu	a6,a6,-8
+[0-9a-f]+ <[^>]+> 93d8      	addiu	fp,fp,-8
+[0-9a-f]+ <[^>]+> 93f8      	addiu	ra,ra,-8
+[0-9a-f]+ <[^>]+> 93f9      	addiu	ra,ra,-7
+[0-9a-f]+ <[^>]+> 93e8      	addiu	ra,ra,0
+[0-9a-f]+ <[^>]+> 93e9      	addiu	ra,ra,1
+[0-9a-f]+ <[^>]+> 93ee      	addiu	ra,ra,6
+[0-9a-f]+ <[^>]+> 93ef      	addiu	ra,ra,7
+[0-9a-f]+ <[^>]+> 03ff 0008 	addiu	ra,ra,8
+[0-9a-f]+ <[^>]+> 83bd 8408 	addiu	sp,sp,-1032
+[0-9a-f]+ <[^>]+> 83bd 8404 	addiu	sp,sp,-1028
+[0-9a-f]+ <[^>]+> 83bd 8400 	addiu	sp,sp,-1024
+[0-9a-f]+ <[^>]+> 03bd 03fc 	addiu	sp,sp,1020
+[0-9a-f]+ <[^>]+> 03bd 0400 	addiu	sp,sp,1024
+[0-9a-f]+ <[^>]+> 03bd 0404 	addiu	sp,sp,1028
+[0-9a-f]+ <[^>]+> 03bd 0404 	addiu	sp,sp,1028
+[0-9a-f]+ <[^>]+> 03bd 0408 	addiu	sp,sp,1032
+[0-9a-f]+ <[^>]+> 905f      	addiu	t4,t4,-1
+[0-9a-f]+ <[^>]+> 8043 8001 	addiu	t4,t5,-1
+[0-9a-f]+ <[^>]+> 8044 8001 	addiu	t4,a0,-1
+[0-9a-f]+ <[^>]+> 8045 8001 	addiu	t4,a1,-1
+[0-9a-f]+ <[^>]+> 8046 8001 	addiu	t4,a2,-1
+[0-9a-f]+ <[^>]+> 8047 8001 	addiu	t4,a3,-1
+[0-9a-f]+ <[^>]+> 8050 8001 	addiu	t4,s0,-1
+[0-9a-f]+ <[^>]+> 8051 8001 	addiu	t4,s1,-1
+[0-9a-f]+ <[^>]+> 0051 0001 	addiu	t4,s1,1
+[0-9a-f]+ <[^>]+> 9111      	addiu	s2,s1,4
+[0-9a-f]+ <[^>]+> 9112      	addiu	s2,s1,8
+[0-9a-f]+ <[^>]+> 9113      	addiu	s2,s1,12
+[0-9a-f]+ <[^>]+> 9114      	addiu	s2,s1,16
+[0-9a-f]+ <[^>]+> 9115      	addiu	s2,s1,20
+[0-9a-f]+ <[^>]+> 9116      	addiu	s2,s1,24
+[0-9a-f]+ <[^>]+> 9196      	addiu	s3,s1,24
+[0-9a-f]+ <[^>]+> 9216      	addiu	a0,s1,24
+[0-9a-f]+ <[^>]+> 9296      	addiu	a1,s1,24
+[0-9a-f]+ <[^>]+> 9316      	addiu	a2,s1,24
+[0-9a-f]+ <[^>]+> 9396      	addiu	a3,s1,24
+[0-9a-f]+ <[^>]+> 9016      	addiu	s0,s1,24
+[0-9a-f]+ <[^>]+> 9096      	addiu	s1,s1,24
+[0-9a-f]+ <[^>]+> 7140      	addiu	s2,sp,0
+[0-9a-f]+ <[^>]+> 7141      	addiu	s2,sp,4
+[0-9a-f]+ <[^>]+> 717e      	addiu	s2,sp,248
+[0-9a-f]+ <[^>]+> 717f      	addiu	s2,sp,252
+[0-9a-f]+ <[^>]+> 005d 0100 	addiu	t4,sp,256
+[0-9a-f]+ <[^>]+> 717f      	addiu	s2,sp,252
+[0-9a-f]+ <[^>]+> 71ff      	addiu	s3,sp,252
+[0-9a-f]+ <[^>]+> 727f      	addiu	a0,sp,252
+[0-9a-f]+ <[^>]+> 72ff      	addiu	a1,sp,252
+[0-9a-f]+ <[^>]+> 737f      	addiu	a2,sp,252
+[0-9a-f]+ <[^>]+> 73ff      	addiu	a3,sp,252
+[0-9a-f]+ <[^>]+> 707f      	addiu	s0,sp,252
+[0-9a-f]+ <[^>]+> 70ff      	addiu	s1,sp,252
+[0-9a-f]+ <[^>]+> 8064 8fff 	addiu	t5,a0,-4095
+[0-9a-f]+ <[^>]+> 91c0      	addiu	s3,a0,0
+[0-9a-f]+ <[^>]+> 0064 1fff 	addiu	t5,a0,8191
+[0-9a-f]+ <[^>]+> 0064 3fff 	addiu	t5,a0,16383
+[0-9a-f]+ <[^>]+> 0063 3fff 	addiu	t5,t5,16383
+[0-9a-f]+ <[^>]+> 0063 3fff 	addiu	t5,t5,16383
+[0-9a-f]+ <[^>]+> 2016 1150 	move	t4,s6
+[0-9a-f]+ <[^>]+> 2002 b150 	move	s6,t4
+[0-9a-f]+ <[^>]+> 22c0 1150 	addu	t4,zero,s6
+[0-9a-f]+ <[^>]+> 2040 b150 	addu	s6,zero,t4
+[0-9a-f]+ <[^>]+> b134      	addu	s2,s3,s2
+[0-9a-f]+ <[^>]+> b1b4      	addu	s2,s3,s3
+[0-9a-f]+ <[^>]+> b234      	addu	s2,s3,a0
+[0-9a-f]+ <[^>]+> b2b4      	addu	s2,s3,a1
+[0-9a-f]+ <[^>]+> b334      	addu	s2,s3,a2
+[0-9a-f]+ <[^>]+> b3b4      	addu	s2,s3,a3
+[0-9a-f]+ <[^>]+> b034      	addu	s2,s3,s0
+[0-9a-f]+ <[^>]+> b0b4      	addu	s2,s3,s1
+[0-9a-f]+ <[^>]+> b0a4      	addu	s2,s2,s1
+[0-9a-f]+ <[^>]+> b0b4      	addu	s2,s3,s1
+[0-9a-f]+ <[^>]+> b0c4      	addu	s2,a0,s1
+[0-9a-f]+ <[^>]+> b0d4      	addu	s2,a1,s1
+[0-9a-f]+ <[^>]+> b0e4      	addu	s2,a2,s1
+[0-9a-f]+ <[^>]+> b0f4      	addu	s2,a3,s1
+[0-9a-f]+ <[^>]+> b084      	addu	s2,s0,s1
+[0-9a-f]+ <[^>]+> b094      	addu	s2,s1,s1
+[0-9a-f]+ <[^>]+> b0a4      	addu	s2,s2,s1
+[0-9a-f]+ <[^>]+> b0a6      	addu	s3,s2,s1
+[0-9a-f]+ <[^>]+> b0a8      	addu	a0,s2,s1
+[0-9a-f]+ <[^>]+> b0aa      	addu	a1,s2,s1
+[0-9a-f]+ <[^>]+> b0ac      	addu	a2,s2,s1
+[0-9a-f]+ <[^>]+> b0ae      	addu	a3,s2,s1
+[0-9a-f]+ <[^>]+> b0a0      	addu	s0,s2,s1
+[0-9a-f]+ <[^>]+> b0a2      	addu	s1,s2,s1
+[0-9a-f]+ <[^>]+> b17e      	addu	a3,a3,s2
+[0-9a-f]+ <[^>]+> b17e      	addu	a3,a3,s2
+[0-9a-f]+ <[^>]+> b3ae      	addu	a3,s2,a3
+[0-9a-f]+ <[^>]+> 23fe e950 	addu	sp,fp,ra
+[0-9a-f]+ <[^>]+> 0042 0000 	addiu	t4,t4,0
+[0-9a-f]+ <[^>]+> 0042 0001 	addiu	t4,t4,1
+[0-9a-f]+ <[^>]+> 0042 7fff 	addiu	t4,t4,32767
+[0-9a-f]+ <[^>]+> 6041 8000 ffff 	addiu	t4,t4,-32768
+[0-9a-f]+ <[^>]+> 0042 ffff 	addiu	t4,t4,65535
+[0-9a-f]+ <[^>]+> 5128      	and	s2,s2,s2
+[0-9a-f]+ <[^>]+> 5138      	and	s2,s2,s3
+[0-9a-f]+ <[^>]+> 5148      	and	s2,s2,a0
+[0-9a-f]+ <[^>]+> 5158      	and	s2,s2,a1
+[0-9a-f]+ <[^>]+> 5168      	and	s2,s2,a2
+[0-9a-f]+ <[^>]+> 5178      	and	s2,s2,a3
+[0-9a-f]+ <[^>]+> 5108      	and	s2,s2,s0
+[0-9a-f]+ <[^>]+> 5118      	and	s2,s2,s1
+[0-9a-f]+ <[^>]+> 51a8      	and	s3,s3,s2
+[0-9a-f]+ <[^>]+> 5228      	and	a0,a0,s2
+[0-9a-f]+ <[^>]+> 52a8      	and	a1,a1,s2
+[0-9a-f]+ <[^>]+> 5328      	and	a2,a2,s2
+[0-9a-f]+ <[^>]+> 53a8      	and	a3,a3,s2
+[0-9a-f]+ <[^>]+> 5028      	and	s0,s0,s2
+[0-9a-f]+ <[^>]+> 50a8      	and	s1,s1,s2
+[0-9a-f]+ <[^>]+> 5138      	and	s2,s2,s3
+[0-9a-f]+ <[^>]+> 5138      	and	s2,s2,s3
+[0-9a-f]+ <[^>]+> 5138      	and	s2,s2,s3
+[0-9a-f]+ <[^>]+> 5138      	and	s2,s2,s3
+[0-9a-f]+ <[^>]+> 2062 1250 	and	t4,t4,t5
+[0-9a-f]+ <[^>]+> f121      	andi	s2,s2,0x1
+[0-9a-f]+ <[^>]+> f122      	andi	s2,s2,0x2
+[0-9a-f]+ <[^>]+> f123      	andi	s2,s2,0x3
+[0-9a-f]+ <[^>]+> f124      	andi	s2,s2,0x4
+[0-9a-f]+ <[^>]+> f127      	andi	s2,s2,0x7
+[0-9a-f]+ <[^>]+> f128      	andi	s2,s2,0x8
+[0-9a-f]+ <[^>]+> f12f      	andi	s2,s2,0xf
+[0-9a-f]+ <[^>]+> 8042 2010 	andi	t4,t4,0x10
+[0-9a-f]+ <[^>]+> 8042 201f 	andi	t4,t4,0x1f
+[0-9a-f]+ <[^>]+> 8042 2020 	andi	t4,t4,0x20
+[0-9a-f]+ <[^>]+> 8042 203f 	andi	t4,t4,0x3f
+[0-9a-f]+ <[^>]+> 8042 2040 	andi	t4,t4,0x40
+[0-9a-f]+ <[^>]+> 8042 2080 	andi	t4,t4,0x80
+[0-9a-f]+ <[^>]+> f12c      	andi	s2,s2,0xff
+[0-9a-f]+ <[^>]+> 8042 2fff 	andi	t4,t4,0xfff
+[0-9a-f]+ <[^>]+> f12d      	andi	s2,s2,0xffff
+[0-9a-f]+ <[^>]+> f13d      	andi	s2,s3,0xffff
+[0-9a-f]+ <[^>]+> f14d      	andi	s2,a0,0xffff
+[0-9a-f]+ <[^>]+> f15d      	andi	s2,a1,0xffff
+[0-9a-f]+ <[^>]+> f16d      	andi	s2,a2,0xffff
+[0-9a-f]+ <[^>]+> f17d      	andi	s2,a3,0xffff
+[0-9a-f]+ <[^>]+> f10d      	andi	s2,s0,0xffff
+[0-9a-f]+ <[^>]+> f11d      	andi	s2,s1,0xffff
+[0-9a-f]+ <[^>]+> f19d      	andi	s3,s1,0xffff
+[0-9a-f]+ <[^>]+> f21d      	andi	a0,s1,0xffff
+[0-9a-f]+ <[^>]+> f29d      	andi	a1,s1,0xffff
+[0-9a-f]+ <[^>]+> f31d      	andi	a2,s1,0xffff
+[0-9a-f]+ <[^>]+> f39d      	andi	a3,s1,0xffff
+[0-9a-f]+ <[^>]+> f01d      	andi	s0,s1,0xffff
+[0-9a-f]+ <[^>]+> f09d      	andi	s1,s1,0xffff
+[0-9a-f]+ <[^>]+> f3fd      	andi	a3,a3,0xffff
+[0-9a-f]+ <[^>]+> f3fd      	andi	a3,a3,0xffff
+[0-9a-f]+ <[^>]+> f3fd      	andi	a3,a3,0xffff
+[0-9a-f]+ <[^>]+> 2083 1250 	and	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 1250 	and	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1250 	and	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8043 2000 	andi	t4,t5,0x0
+[0-9a-f]+ <[^>]+> 8043 2fff 	andi	t4,t5,0xfff
+[0-9a-f]+ <[^>]+> 0020 1000 	li	at,4096
+[0-9a-f]+ <[^>]+> 2023 1250 	and	t4,t5,at
+[0-9a-f]+ <[^>]+> 6020 0001 ffff 	li	at,0xffff0001
+[0-9a-f]+ <[^>]+> 2023 1250 	and	t4,t5,at
+[0-9a-f]+ <[^>]+> 9900      	beqzc	s2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9980      	beqzc	s3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9a00      	beqzc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9a80      	beqzc	a1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9b00      	beqzc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9b80      	beqzc	a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9800      	beqzc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9880      	beqzc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9900      	beqzc	s2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9980      	beqzc	s3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9a00      	beqzc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9a80      	beqzc	a1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9b00      	beqzc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9b80      	beqzc	a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9800      	beqzc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9880      	beqzc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9900      	beqzc	s2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9980      	beqzc	s3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9a00      	beqzc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9a80      	beqzc	a1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9b00      	beqzc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9b80      	beqzc	a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9800      	beqzc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9880      	beqzc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9800      	beqzc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 8a00 0000 	beqzc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 9880      	beqzc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 8a20 0000 	beqzc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 9880      	beqzc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 8a00 0000 	beqzc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> ca00 5000 	beqic	s0,10,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test2
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 8830 0000 	beqc	s0,at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 8830 0000 	beqc	s0,at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> b900      	bnezc	s2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> b980      	bnezc	s3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> ba00      	bnezc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> ba80      	bnezc	a1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> bb00      	bnezc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> bb80      	bnezc	a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> b800      	bnezc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> b880      	bnezc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> b900      	bnezc	s2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> b980      	bnezc	s3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> ba00      	bnezc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> ba80      	bnezc	a1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> bb00      	bnezc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> bb80      	bnezc	a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> b800      	bnezc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> b880      	bnezc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> b900      	bnezc	s2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> b980      	bnezc	s3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> ba00      	bnezc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> ba80      	bnezc	a1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> bb00      	bnezc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> bb80      	bnezc	a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> b800      	bnezc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> b880      	bnezc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> b800      	bnezc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> aa00 0000 	bnezc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> aa20 0000 	bnezc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> aa20 0000 	bnezc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> aa20 0000 	bnezc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 1010      	break
+[0-9a-f]+ <[^>]+> 1010      	break
+[0-9a-f]+ <[^>]+> 1011      	break	0x1
+[0-9a-f]+ <[^>]+> 1012      	break	0x2
+[0-9a-f]+ <[^>]+> 1013      	break	0x3
+[0-9a-f]+ <[^>]+> 1014      	break	0x4
+[0-9a-f]+ <[^>]+> 1015      	break	0x5
+[0-9a-f]+ <[^>]+> 1016      	break	0x6
+[0-9a-f]+ <[^>]+> 1017      	break	0x7
+[0-9a-f]+ <[^>]+> 0010 0008 	break	0x8
+[0-9a-f]+ <[^>]+> 0010 0009 	break	0x9
+[0-9a-f]+ <[^>]+> 0010 000a 	break	0xa
+[0-9a-f]+ <[^>]+> 0010 000b 	break	0xb
+[0-9a-f]+ <[^>]+> 0010 000c 	break	0xc
+[0-9a-f]+ <[^>]+> 0010 000d 	break	0xd
+[0-9a-f]+ <[^>]+> 0010 000e 	break	0xe
+[0-9a-f]+ <[^>]+> 0010 000f 	break	0xf
+[0-9a-f]+ <[^>]+> 0010 003f 	break	0x3f
+[0-9a-f]+ <[^>]+> 0010 0040 	break	0x40
+[0-9a-f]+ <[^>]+> 0010 03ff 	break	0x3ff
+[0-9a-f]+ <[^>]+> 0010 0000 	break
+[0-9a-f]+ <[^>]+> 0010 0000 	break
+[0-9a-f]+ <[^>]+> 0010 0001 	break	0x1
+[0-9a-f]+ <[^>]+> 0010 0002 	break	0x2
+[0-9a-f]+ <[^>]+> 0010 000f 	break	0xf
+[0-9a-f]+ <[^>]+> 0010 003f 	break	0x3f
+[0-9a-f]+ <[^>]+> 0010 0040 	break	0x40
+[0-9a-f]+ <[^>]+> 0010 03ff 	break	0x3ff
+[0-9a-f]+ <[^>]+> a400 3900 	cache	0x0,0\(zero\)
+[0-9a-f]+ <[^>]+> 8020 8800 	li	at,-2048
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 07ff 	li	at,2047
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 8020 8801 	li	at,-2049
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 0800 	li	at,2048
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> a402 3900 	cache	0x0,0\(t4\)
+[0-9a-f]+ <[^>]+> 8022 8800 	addiu	at,t4,-2048
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 0022 07ff 	addiu	at,t4,2047
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 8022 8801 	addiu	at,t4,-2049
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 0022 0800 	addiu	at,t4,2048
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> a400 3900 	cache	0x0,0\(zero\)
+[0-9a-f]+ <[^>]+> a400 3900 	cache	0x0,0\(zero\)
+[0-9a-f]+ <[^>]+> a420 3900 	cache	0x1,0\(zero\)
+[0-9a-f]+ <[^>]+> a440 3900 	cache	0x2,0\(zero\)
+[0-9a-f]+ <[^>]+> a460 3900 	cache	0x3,0\(zero\)
+[0-9a-f]+ <[^>]+> a480 3900 	cache	0x4,0\(zero\)
+[0-9a-f]+ <[^>]+> a4a0 3900 	cache	0x5,0\(zero\)
+[0-9a-f]+ <[^>]+> a4c0 3900 	cache	0x6,0\(zero\)
+[0-9a-f]+ <[^>]+> a7e0 3900 	cache	0x1f,0\(zero\)
+[0-9a-f]+ <[^>]+> 0020 07ff 	li	at,2047
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 8020 8800 	li	at,-2048
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 07ff 	li	at,2047
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 8020 8800 	li	at,-2048
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2061 0950 	addu	at,at,t5
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 0023 0800 	addiu	at,t5,2048
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 8023 8801 	addiu	at,t5,-2049
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2061 0950 	addu	at,at,t5
+[0-9a-f]+ <[^>]+> a7e1 3901 	cache	0x1f,1\(at\)
+[0-9a-f]+ <[^>]+> a7e3 b9ff 	cache	0x1f,-1\(t5\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2061 0950 	addu	at,at,t5
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2061 0950 	addu	at,at,t5
+[0-9a-f]+ <[^>]+> a7e1 3901 	cache	0x1f,1\(at\)
+[0-9a-f]+ <[^>]+> 0023 ffff 	addiu	at,t5,65535
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 0800 	li	at,2048
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 8020 8801 	li	at,-2049
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> a7e1 3901 	cache	0x1f,1\(at\)
+[0-9a-f]+ <[^>]+> a7e0 b9ff 	cache	0x1f,-1\(zero\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> a7e1 3901 	cache	0x1f,1\(at\)
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 2043 4b3f 	clo	t4,t5
+[0-9a-f]+ <[^>]+> 2062 4b3f 	clo	t5,t4
+[0-9a-f]+ <[^>]+> 2043 5b3f 	clz	t4,t5
+[0-9a-f]+ <[^>]+> 2062 5b3f 	clz	t5,t4
+[0-9a-f]+ <[^>]+> 2000 e37f 	deret
+[0-9a-f]+ <[^>]+> 2000 477f 	di
+[0-9a-f]+ <[^>]+> 2000 477f 	di
+[0-9a-f]+ <[^>]+> 2040 477f 	di	t4
+[0-9a-f]+ <[^>]+> 2060 477f 	di	t5
+[0-9a-f]+ <[^>]+> 23c0 477f 	di	fp
+[0-9a-f]+ <[^>]+> 23e0 477f 	di	ra
+[0-9a-f]+ <[^>]+> 2062 0118 	div	zero,t4,t5
+[0-9a-f]+ <[^>]+> 23fe 0118 	div	zero,fp,ra
+[0-9a-f]+ <[^>]+> 2060 0118 	div	zero,zero,t5
+[0-9a-f]+ <[^>]+> 23e0 0118 	div	zero,zero,ra
+[0-9a-f]+ <[^>]+> 2003 1118 	div	t4,t5,zero
+[0-9a-f]+ <[^>]+> 2083 1118 	div	t4,t5,a0
+[0-9a-f]+ <[^>]+> 1017      	break	0x7
+[0-9a-f]+ <[^>]+> 1064      	move	t5,a0
+[0-9a-f]+ <[^>]+> 2080 1990 	neg	t5,a0
+[0-9a-f]+ <[^>]+> 0020 0002 	li	at,2
+[0-9a-f]+ <[^>]+> 2024 1918 	div	t5,a0,at
+[0-9a-f]+ <[^>]+> 2062 0198 	divu	zero,t4,t5
+[0-9a-f]+ <[^>]+> 23fe 0198 	divu	zero,fp,ra
+[0-9a-f]+ <[^>]+> 2060 0198 	divu	zero,zero,t5
+[0-9a-f]+ <[^>]+> 23e0 0198 	divu	zero,zero,ra
+[0-9a-f]+ <[^>]+> 2003 1198 	divu	t4,t5,zero
+[0-9a-f]+ <[^>]+> 2083 1198 	divu	t4,t5,a0
+[0-9a-f]+ <[^>]+> 1017      	break	0x7
+[0-9a-f]+ <[^>]+> 1064      	move	t5,a0
+[0-9a-f]+ <[^>]+> 8020 8001 	li	at,-1
+[0-9a-f]+ <[^>]+> 2024 1998 	divu	t5,a0,at
+[0-9a-f]+ <[^>]+> 0020 0002 	li	at,2
+[0-9a-f]+ <[^>]+> 2024 1998 	divu	t5,a0,at
+[0-9a-f]+ <[^>]+> 2000 577f 	ei
+[0-9a-f]+ <[^>]+> 2000 577f 	ei
+[0-9a-f]+ <[^>]+> 2040 577f 	ei	t4
+[0-9a-f]+ <[^>]+> 2060 577f 	ei	t5
+[0-9a-f]+ <[^>]+> 23c0 577f 	ei	fp
+[0-9a-f]+ <[^>]+> 23e0 577f 	ei	ra
+[0-9a-f]+ <[^>]+> 2000 f37f 	eret
+[0-9a-f]+ <[^>]+> 8043 f385 	ext	t4,t5,5,15
+[0-9a-f]+ <[^>]+> 8043 f7c0 	ext	t4,t5,0,32
+[0-9a-f]+ <[^>]+> 8043 f01f 	ext	t4,t5,31,1
+[0-9a-f]+ <[^>]+> 83fe f01f 	ext	ra,fp,31,1
+[0-9a-f]+ <[^>]+> 8043 e4c5 	ins	t4,t5,5,15
+[0-9a-f]+ <[^>]+> 8043 e7c0 	ins	t4,t5,0,32
+[0-9a-f]+ <[^>]+> 8043 e7df 	ins	t4,t5,31,1
+[0-9a-f]+ <[^>]+> 83fe e7df 	ins	ra,fp,31,1
+[0-9a-f]+ <[^>]+> d800      	jrc	zero
+[0-9a-f]+ <[^>]+> d840      	jrc	t4
+[0-9a-f]+ <[^>]+> d860      	jrc	t5
+[0-9a-f]+ <[^>]+> d880      	jrc	a0
+[0-9a-f]+ <[^>]+> d8a0      	jrc	a1
+[0-9a-f]+ <[^>]+> d8c0      	jrc	a2
+[0-9a-f]+ <[^>]+> d8e0      	jrc	a3
+[0-9a-f]+ <[^>]+> d900      	jrc	a4
+[0-9a-f]+ <[^>]+> dbc0      	jrc	fp
+[0-9a-f]+ <[^>]+> dbe0      	jrc	ra
+[0-9a-f]+ <[^>]+> 4800 0000 	jrc	zero
+[0-9a-f]+ <[^>]+> 4802 0000 	jrc	t4
+[0-9a-f]+ <[^>]+> 4803 0000 	jrc	t5
+[0-9a-f]+ <[^>]+> 4804 0000 	jrc	a0
+[0-9a-f]+ <[^>]+> 4805 0000 	jrc	a1
+[0-9a-f]+ <[^>]+> 4806 0000 	jrc	a2
+[0-9a-f]+ <[^>]+> 4807 0000 	jrc	a3
+[0-9a-f]+ <[^>]+> 4808 0000 	jrc	a4
+[0-9a-f]+ <[^>]+> 481e 0000 	jrc	fp
+[0-9a-f]+ <[^>]+> 481f 0000 	jrc	ra
+[0-9a-f]+ <[^>]+> d800      	jrc	zero
+[0-9a-f]+ <[^>]+> d840      	jrc	t4
+[0-9a-f]+ <[^>]+> d860      	jrc	t5
+[0-9a-f]+ <[^>]+> d880      	jrc	a0
+[0-9a-f]+ <[^>]+> d8a0      	jrc	a1
+[0-9a-f]+ <[^>]+> d8c0      	jrc	a2
+[0-9a-f]+ <[^>]+> d8e0      	jrc	a3
+[0-9a-f]+ <[^>]+> d900      	jrc	a4
+[0-9a-f]+ <[^>]+> dbc0      	jrc	fp
+[0-9a-f]+ <[^>]+> dbe0      	jrc	ra
+[0-9a-f]+ <[^>]+> 4800 1000 	jrc.hb	zero
+[0-9a-f]+ <[^>]+> 4802 1000 	jrc.hb	t4
+[0-9a-f]+ <[^>]+> 4803 1000 	jrc.hb	t5
+[0-9a-f]+ <[^>]+> 4804 1000 	jrc.hb	a0
+[0-9a-f]+ <[^>]+> 4805 1000 	jrc.hb	a1
+[0-9a-f]+ <[^>]+> 4806 1000 	jrc.hb	a2
+[0-9a-f]+ <[^>]+> 4807 1000 	jrc.hb	a3
+[0-9a-f]+ <[^>]+> 4808 1000 	jrc.hb	a4
+[0-9a-f]+ <[^>]+> 481e 1000 	jrc.hb	fp
+[0-9a-f]+ <[^>]+> 481f 1000 	jrc.hb	ra
+[0-9a-f]+ <[^>]+> d800      	jrc	zero
+[0-9a-f]+ <[^>]+> d840      	jrc	t4
+[0-9a-f]+ <[^>]+> d860      	jrc	t5
+[0-9a-f]+ <[^>]+> d880      	jrc	a0
+[0-9a-f]+ <[^>]+> d8a0      	jrc	a1
+[0-9a-f]+ <[^>]+> d8c0      	jrc	a2
+[0-9a-f]+ <[^>]+> d8e0      	jrc	a3
+[0-9a-f]+ <[^>]+> d900      	jrc	a4
+[0-9a-f]+ <[^>]+> dbc0      	jrc	fp
+[0-9a-f]+ <[^>]+> dbe0      	jrc	ra
+[0-9a-f]+ <[^>]+> d810      	jalrc	zero
+[0-9a-f]+ <[^>]+> d850      	jalrc	t4
+[0-9a-f]+ <[^>]+> d870      	jalrc	t5
+[0-9a-f]+ <[^>]+> d890      	jalrc	a0
+[0-9a-f]+ <[^>]+> d8b0      	jalrc	a1
+[0-9a-f]+ <[^>]+> d8d0      	jalrc	a2
+[0-9a-f]+ <[^>]+> d8f0      	jalrc	a3
+[0-9a-f]+ <[^>]+> d910      	jalrc	a4
+[0-9a-f]+ <[^>]+> dbd0      	jalrc	fp
+[0-9a-f]+ <[^>]+> 4be0 0000 	jalrc	zero
+[0-9a-f]+ <[^>]+> 4be2 0000 	jalrc	t4
+[0-9a-f]+ <[^>]+> 4be3 0000 	jalrc	t5
+[0-9a-f]+ <[^>]+> 4be4 0000 	jalrc	a0
+[0-9a-f]+ <[^>]+> 4be5 0000 	jalrc	a1
+[0-9a-f]+ <[^>]+> 4be6 0000 	jalrc	a2
+[0-9a-f]+ <[^>]+> 4be7 0000 	jalrc	a3
+[0-9a-f]+ <[^>]+> 4be8 0000 	jalrc	a4
+[0-9a-f]+ <[^>]+> 4bfe 0000 	jalrc	fp
+[0-9a-f]+ <[^>]+> d810      	jalrc	zero
+[0-9a-f]+ <[^>]+> d850      	jalrc	t4
+[0-9a-f]+ <[^>]+> d870      	jalrc	t5
+[0-9a-f]+ <[^>]+> d890      	jalrc	a0
+[0-9a-f]+ <[^>]+> d8b0      	jalrc	a1
+[0-9a-f]+ <[^>]+> d8d0      	jalrc	a2
+[0-9a-f]+ <[^>]+> d8f0      	jalrc	a3
+[0-9a-f]+ <[^>]+> d910      	jalrc	a4
+[0-9a-f]+ <[^>]+> dbd0      	jalrc	fp
+[0-9a-f]+ <[^>]+> 4bdf 0000 	jalrc	fp,ra
+[0-9a-f]+ <[^>]+> 4840 0000 	jalrc	t4,zero
+[0-9a-f]+ <[^>]+> 4862 0000 	jalrc	t5,t4
+[0-9a-f]+ <[^>]+> 4843 0000 	jalrc	t4,t5
+[0-9a-f]+ <[^>]+> 4844 0000 	jalrc	t4,a0
+[0-9a-f]+ <[^>]+> 4845 0000 	jalrc	t4,a1
+[0-9a-f]+ <[^>]+> 4846 0000 	jalrc	t4,a2
+[0-9a-f]+ <[^>]+> 4847 0000 	jalrc	t4,a3
+[0-9a-f]+ <[^>]+> 4848 0000 	jalrc	t4,a4
+[0-9a-f]+ <[^>]+> 485e 0000 	jalrc	t4,fp
+[0-9a-f]+ <[^>]+> 485f 0000 	jalrc	t4,ra
+[0-9a-f]+ <[^>]+> 4be0 1000 	jalrc.hb	zero
+[0-9a-f]+ <[^>]+> 4be2 1000 	jalrc.hb	t4
+[0-9a-f]+ <[^>]+> 4be3 1000 	jalrc.hb	t5
+[0-9a-f]+ <[^>]+> 4be4 1000 	jalrc.hb	a0
+[0-9a-f]+ <[^>]+> 4be5 1000 	jalrc.hb	a1
+[0-9a-f]+ <[^>]+> 4be6 1000 	jalrc.hb	a2
+[0-9a-f]+ <[^>]+> 4be7 1000 	jalrc.hb	a3
+[0-9a-f]+ <[^>]+> 4be8 1000 	jalrc.hb	a4
+[0-9a-f]+ <[^>]+> 4bfe 1000 	jalrc.hb	fp
+[0-9a-f]+ <[^>]+> 4be0 1000 	jalrc.hb	zero
+[0-9a-f]+ <[^>]+> 4be2 1000 	jalrc.hb	t4
+[0-9a-f]+ <[^>]+> 4be3 1000 	jalrc.hb	t5
+[0-9a-f]+ <[^>]+> 4be4 1000 	jalrc.hb	a0
+[0-9a-f]+ <[^>]+> 4be5 1000 	jalrc.hb	a1
+[0-9a-f]+ <[^>]+> 4be6 1000 	jalrc.hb	a2
+[0-9a-f]+ <[^>]+> 4be7 1000 	jalrc.hb	a3
+[0-9a-f]+ <[^>]+> 4be8 1000 	jalrc.hb	a4
+[0-9a-f]+ <[^>]+> 4bfe 1000 	jalrc.hb	fp
+[0-9a-f]+ <[^>]+> 4bdf 1000 	jalrc.hb	fp,ra
+[0-9a-f]+ <[^>]+> 4840 1000 	jalrc.hb	t4,zero
+[0-9a-f]+ <[^>]+> 4862 1000 	jalrc.hb	t5,t4
+[0-9a-f]+ <[^>]+> 4843 1000 	jalrc.hb	t4,t5
+[0-9a-f]+ <[^>]+> 4844 1000 	jalrc.hb	t4,a0
+[0-9a-f]+ <[^>]+> 4845 1000 	jalrc.hb	t4,a1
+[0-9a-f]+ <[^>]+> 4846 1000 	jalrc.hb	t4,a2
+[0-9a-f]+ <[^>]+> 4847 1000 	jalrc.hb	t4,a3
+[0-9a-f]+ <[^>]+> 4848 1000 	jalrc.hb	t4,a4
+[0-9a-f]+ <[^>]+> 485e 1000 	jalrc.hb	t4,fp
+[0-9a-f]+ <[^>]+> 485f 1000 	jalrc.hb	t4,ra
+[0-9a-f]+ <[^>]+> 4843 0000 	jalrc	t4,t5
+[0-9a-f]+ <[^>]+> 4bdf 0000 	jalrc	fp,ra
+[0-9a-f]+ <[^>]+> d870      	jalrc	t5
+[0-9a-f]+ <[^>]+> dbf0      	jalrc	ra
+[0-9a-f]+ <[^>]+> 2a00 0000 	balc	[0-9a-f]+ <test>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> 2a00 0000 	balc	[0-9a-f]+ <test2>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test2
+[0-9a-f]+ <[^>]+> 6040 0000 0000 	li	t4,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	test
+[0-9a-f]+ <[^>]+> 8460 0000 	lb	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 0004 	lb	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 0000 	lb	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 0004 	lb	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0060 7fff 	li	t5,32767
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0060 ffff 	li	t5,65535
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 0001 	lb	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 0001 	lb	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a460 80ff 	lb	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8463 0678 	lb	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 5dc0      	lb	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 5dc0      	lb	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 0004 	lb	t5,4\(a0\)
+[0-9a-f]+ <[^>]+> 0064 7fff 	addiu	t5,a0,32767
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0064 ffff 	addiu	t5,a0,65535
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0001 	lb	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0001 	lb	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a464 80ff 	lb	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0678 	lb	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> a443 90ff 	lbu	t4,-1\(t5\)
+[0-9a-f]+ <[^>]+> 5d38      	lbu	s2,0\(s3\)
+[0-9a-f]+ <[^>]+> 5d38      	lbu	s2,0\(s3\)
+[0-9a-f]+ <[^>]+> 5d39      	lbu	s2,1\(s3\)
+[0-9a-f]+ <[^>]+> 5d3a      	lbu	s2,2\(s3\)
+[0-9a-f]+ <[^>]+> 5d3b      	lbu	s2,3\(s3\)
+[0-9a-f]+ <[^>]+> 8443 2004 	lbu	t4,4\(t5\)
+[0-9a-f]+ <[^>]+> 8443 2005 	lbu	t4,5\(t5\)
+[0-9a-f]+ <[^>]+> 8443 2006 	lbu	t4,6\(t5\)
+[0-9a-f]+ <[^>]+> 8443 2007 	lbu	t4,7\(t5\)
+[0-9a-f]+ <[^>]+> 8443 2008 	lbu	t4,8\(t5\)
+[0-9a-f]+ <[^>]+> 8443 2009 	lbu	t4,9\(t5\)
+[0-9a-f]+ <[^>]+> 8443 200a 	lbu	t4,10\(t5\)
+[0-9a-f]+ <[^>]+> 8443 200b 	lbu	t4,11\(t5\)
+[0-9a-f]+ <[^>]+> 8443 200c 	lbu	t4,12\(t5\)
+[0-9a-f]+ <[^>]+> 8443 200d 	lbu	t4,13\(t5\)
+[0-9a-f]+ <[^>]+> 8443 200e 	lbu	t4,14\(t5\)
+[0-9a-f]+ <[^>]+> 8442 200e 	lbu	t4,14\(t4\)
+[0-9a-f]+ <[^>]+> 8444 200e 	lbu	t4,14\(a0\)
+[0-9a-f]+ <[^>]+> 8445 200e 	lbu	t4,14\(a1\)
+[0-9a-f]+ <[^>]+> 8446 200e 	lbu	t4,14\(a2\)
+[0-9a-f]+ <[^>]+> 8447 200e 	lbu	t4,14\(a3\)
+[0-9a-f]+ <[^>]+> 8450 200e 	lbu	t4,14\(s0\)
+[0-9a-f]+ <[^>]+> 8451 200e 	lbu	t4,14\(s1\)
+[0-9a-f]+ <[^>]+> 8471 200e 	lbu	t5,14\(s1\)
+[0-9a-f]+ <[^>]+> 8491 200e 	lbu	a0,14\(s1\)
+[0-9a-f]+ <[^>]+> 84b1 200e 	lbu	a1,14\(s1\)
+[0-9a-f]+ <[^>]+> 84d1 200e 	lbu	a2,14\(s1\)
+[0-9a-f]+ <[^>]+> 84f1 200e 	lbu	a3,14\(s1\)
+[0-9a-f]+ <[^>]+> 8611 200e 	lbu	s0,14\(s1\)
+[0-9a-f]+ <[^>]+> 8631 200e 	lbu	s1,14\(s1\)
+[0-9a-f]+ <[^>]+> 8460 2000 	lbu	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 2004 	lbu	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 2000 	lbu	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 2004 	lbu	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0060 7fff 	li	t5,32767
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0060 ffff 	li	t5,65535
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 2001 	lbu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 2001 	lbu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a460 90ff 	lbu	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8463 2678 	lbu	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 5dc8      	lbu	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 5dc8      	lbu	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 2004 	lbu	t5,4\(a0\)
+[0-9a-f]+ <[^>]+> 0064 7fff 	addiu	t5,a0,32767
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0064 ffff 	addiu	t5,a0,65535
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2001 	lbu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2001 	lbu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a464 90ff 	lbu	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2678 	lbu	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 8460 4000 	lh	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 4004 	lh	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 4000 	lh	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 4004 	lh	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0060 7fff 	li	t5,32767
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0060 ffff 	li	t5,65535
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 4001 	lh	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 4001 	lh	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a460 a0ff 	lh	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8463 4678 	lh	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 7dc0      	lh	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 7dc0      	lh	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 7dc4      	lh	s3,4\(a0\)
+[0-9a-f]+ <[^>]+> 0064 7fff 	addiu	t5,a0,32767
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0064 ffff 	addiu	t5,a0,65535
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4001 	lh	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4001 	lh	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a464 a0ff 	lh	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4678 	lh	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 7d38      	lhu	s2,0\(s3\)
+[0-9a-f]+ <[^>]+> 7d38      	lhu	s2,0\(s3\)
+[0-9a-f]+ <[^>]+> 7d3a      	lhu	s2,2\(s3\)
+[0-9a-f]+ <[^>]+> 7d3c      	lhu	s2,4\(s3\)
+[0-9a-f]+ <[^>]+> 7d3e      	lhu	s2,6\(s3\)
+[0-9a-f]+ <[^>]+> 8443 6008 	lhu	t4,8\(t5\)
+[0-9a-f]+ <[^>]+> 8443 600a 	lhu	t4,10\(t5\)
+[0-9a-f]+ <[^>]+> 8443 600c 	lhu	t4,12\(t5\)
+[0-9a-f]+ <[^>]+> 8443 600e 	lhu	t4,14\(t5\)
+[0-9a-f]+ <[^>]+> 8443 6010 	lhu	t4,16\(t5\)
+[0-9a-f]+ <[^>]+> 8443 6012 	lhu	t4,18\(t5\)
+[0-9a-f]+ <[^>]+> 8443 6014 	lhu	t4,20\(t5\)
+[0-9a-f]+ <[^>]+> 8443 6016 	lhu	t4,22\(t5\)
+[0-9a-f]+ <[^>]+> 8443 6018 	lhu	t4,24\(t5\)
+[0-9a-f]+ <[^>]+> 8443 601a 	lhu	t4,26\(t5\)
+[0-9a-f]+ <[^>]+> 8443 601c 	lhu	t4,28\(t5\)
+[0-9a-f]+ <[^>]+> 8443 601e 	lhu	t4,30\(t5\)
+[0-9a-f]+ <[^>]+> 8444 601e 	lhu	t4,30\(a0\)
+[0-9a-f]+ <[^>]+> 8445 601e 	lhu	t4,30\(a1\)
+[0-9a-f]+ <[^>]+> 8446 601e 	lhu	t4,30\(a2\)
+[0-9a-f]+ <[^>]+> 8447 601e 	lhu	t4,30\(a3\)
+[0-9a-f]+ <[^>]+> 8442 601e 	lhu	t4,30\(t4\)
+[0-9a-f]+ <[^>]+> 8450 601e 	lhu	t4,30\(s0\)
+[0-9a-f]+ <[^>]+> 8451 601e 	lhu	t4,30\(s1\)
+[0-9a-f]+ <[^>]+> 8471 601e 	lhu	t5,30\(s1\)
+[0-9a-f]+ <[^>]+> 8491 601e 	lhu	a0,30\(s1\)
+[0-9a-f]+ <[^>]+> 84b1 601e 	lhu	a1,30\(s1\)
+[0-9a-f]+ <[^>]+> 84d1 601e 	lhu	a2,30\(s1\)
+[0-9a-f]+ <[^>]+> 84f1 601e 	lhu	a3,30\(s1\)
+[0-9a-f]+ <[^>]+> 8611 601e 	lhu	s0,30\(s1\)
+[0-9a-f]+ <[^>]+> 8631 601e 	lhu	s1,30\(s1\)
+[0-9a-f]+ <[^>]+> 8460 6000 	lhu	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 6004 	lhu	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 6000 	lhu	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 6004 	lhu	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0060 7fff 	li	t5,32767
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0060 ffff 	li	t5,65535
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 6001 	lhu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 6001 	lhu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a460 b0ff 	lhu	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8463 6678 	lhu	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 7dc8      	lhu	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 7dc8      	lhu	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 7dcc      	lhu	s3,4\(a0\)
+[0-9a-f]+ <[^>]+> 0064 7fff 	addiu	t5,a0,32767
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0064 ffff 	addiu	t5,a0,65535
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6001 	lhu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6001 	lhu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a464 b0ff 	lhu	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6678 	lhu	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> a460 5100 	ll	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> a460 5100 	ll	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> a460 5104 	ll	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> a460 5104 	ll	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0060 7fff 	li	t5,32767
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0060 ffff 	li	t5,65535
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> a463 5104 	ll	t5,4\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a463 5104 	ll	t5,4\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 8060 8001 	li	t5,-1
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 6060 5678 1234 	li	t5,0x12345678
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a464 5100 	ll	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> a464 5100 	ll	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> a464 5104 	ll	t5,4\(a0\)
+[0-9a-f]+ <[^>]+> 0064 7fff 	addiu	t5,a0,32767
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0064 ffff 	addiu	t5,a0,65535
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5104 	ll	t5,4\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5104 	ll	t5,4\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 8064 8001 	addiu	t5,a0,-1
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 6060 5678 1234 	li	t5,0x12345678
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e060 0000 	lui	t5,0x0
+[0-9a-f]+ <[^>]+> e07f 0ffc 	lui	t5,%hi\(0x7fff0000\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 1540      	lw	s2,0\(a0\)
+[0-9a-f]+ <[^>]+> 1540      	lw	s2,0\(a0\)
+[0-9a-f]+ <[^>]+> 1541      	lw	s2,4\(a0\)
+[0-9a-f]+ <[^>]+> 1542      	lw	s2,8\(a0\)
+[0-9a-f]+ <[^>]+> 1543      	lw	s2,12\(a0\)
+[0-9a-f]+ <[^>]+> 1544      	lw	s2,16\(a0\)
+[0-9a-f]+ <[^>]+> 1545      	lw	s2,20\(a0\)
+[0-9a-f]+ <[^>]+> 1546      	lw	s2,24\(a0\)
+[0-9a-f]+ <[^>]+> 1547      	lw	s2,28\(a0\)
+[0-9a-f]+ <[^>]+> 1548      	lw	s2,32\(a0\)
+[0-9a-f]+ <[^>]+> 1549      	lw	s2,36\(a0\)
+[0-9a-f]+ <[^>]+> 154a      	lw	s2,40\(a0\)
+[0-9a-f]+ <[^>]+> 154b      	lw	s2,44\(a0\)
+[0-9a-f]+ <[^>]+> 154c      	lw	s2,48\(a0\)
+[0-9a-f]+ <[^>]+> 154d      	lw	s2,52\(a0\)
+[0-9a-f]+ <[^>]+> 154e      	lw	s2,56\(a0\)
+[0-9a-f]+ <[^>]+> 154f      	lw	s2,60\(a0\)
+[0-9a-f]+ <[^>]+> 155f      	lw	s2,60\(a1\)
+[0-9a-f]+ <[^>]+> 156f      	lw	s2,60\(a2\)
+[0-9a-f]+ <[^>]+> 157f      	lw	s2,60\(a3\)
+[0-9a-f]+ <[^>]+> 152f      	lw	s2,60\(s2\)
+[0-9a-f]+ <[^>]+> 153f      	lw	s2,60\(s3\)
+[0-9a-f]+ <[^>]+> 150f      	lw	s2,60\(s0\)
+[0-9a-f]+ <[^>]+> 151f      	lw	s2,60\(s1\)
+[0-9a-f]+ <[^>]+> 159f      	lw	s3,60\(s1\)
+[0-9a-f]+ <[^>]+> 161f      	lw	a0,60\(s1\)
+[0-9a-f]+ <[^>]+> 169f      	lw	a1,60\(s1\)
+[0-9a-f]+ <[^>]+> 171f      	lw	a2,60\(s1\)
+[0-9a-f]+ <[^>]+> 179f      	lw	a3,60\(s1\)
+[0-9a-f]+ <[^>]+> 141f      	lw	s0,60\(s1\)
+[0-9a-f]+ <[^>]+> 149f      	lw	s1,60\(s1\)
+[0-9a-f]+ <[^>]+> 3480      	lw	a0,0\(sp\)
+[0-9a-f]+ <[^>]+> 3480      	lw	a0,0\(sp\)
+[0-9a-f]+ <[^>]+> 3481      	lw	a0,4\(sp\)
+[0-9a-f]+ <[^>]+> 3482      	lw	a0,8\(sp\)
+[0-9a-f]+ <[^>]+> 3483      	lw	a0,12\(sp\)
+[0-9a-f]+ <[^>]+> 3484      	lw	a0,16\(sp\)
+[0-9a-f]+ <[^>]+> 3485      	lw	a0,20\(sp\)
+[0-9a-f]+ <[^>]+> 349f      	lw	a0,124\(sp\)
+[0-9a-f]+ <[^>]+> 345f      	lw	t4,124\(sp\)
+[0-9a-f]+ <[^>]+> 345f      	lw	t4,124\(sp\)
+[0-9a-f]+ <[^>]+> 347f      	lw	t5,124\(sp\)
+[0-9a-f]+ <[^>]+> 349f      	lw	a0,124\(sp\)
+[0-9a-f]+ <[^>]+> 34bf      	lw	a1,124\(sp\)
+[0-9a-f]+ <[^>]+> 34df      	lw	a2,124\(sp\)
+[0-9a-f]+ <[^>]+> 34ff      	lw	a3,124\(sp\)
+[0-9a-f]+ <[^>]+> 351f      	lw	a4,124\(sp\)
+[0-9a-f]+ <[^>]+> 353f      	lw	a5,124\(sp\)
+[0-9a-f]+ <[^>]+> 355f      	lw	a6,124\(sp\)
+[0-9a-f]+ <[^>]+> 37df      	lw	fp,124\(sp\)
+[0-9a-f]+ <[^>]+> 37ff      	lw	ra,124\(sp\)
+[0-9a-f]+ <[^>]+> 849d 81f8 	lw	a0,504\(sp\)
+[0-9a-f]+ <[^>]+> 849d 81fc 	lw	a0,508\(sp\)
+[0-9a-f]+ <[^>]+> 861d 81fc 	lw	s0,508\(sp\)
+[0-9a-f]+ <[^>]+> 863d 81fc 	lw	s1,508\(sp\)
+[0-9a-f]+ <[^>]+> 865d 81fc 	lw	s2,508\(sp\)
+[0-9a-f]+ <[^>]+> 867d 81fc 	lw	s3,508\(sp\)
+[0-9a-f]+ <[^>]+> 869d 81fc 	lw	s4,508\(sp\)
+[0-9a-f]+ <[^>]+> 86bd 81fc 	lw	s5,508\(sp\)
+[0-9a-f]+ <[^>]+> 87fd 81fc 	lw	ra,508\(sp\)
+[0-9a-f]+ <[^>]+> 8460 8000 	lw	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 8004 	lw	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 8000 	lw	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 8000 	lw	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 8000 	lw	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 8004 	lw	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0060 7fff 	li	t5,32767
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0060 ffff 	li	t5,65535
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 8001 	lw	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 8001 	lw	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a460 c0ff 	lw	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8463 8678 	lw	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 15c0      	lw	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 15c0      	lw	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 15c1      	lw	s3,4\(a0\)
+[0-9a-f]+ <[^>]+> 0064 7fff 	addiu	t5,a0,32767
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0064 ffff 	addiu	t5,a0,65535
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8001 	lw	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8001 	lw	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a464 c0ff 	lw	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8678 	lw	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 52c7      	lwxs	s3,a0\(a1\)
+[0-9a-f]+ <[^>]+> 2040 0030 	mfc0	t4,index
+[0-9a-f]+ <[^>]+> 2041 0030 	mfc0	t4,random
+[0-9a-f]+ <[^>]+> 2042 0830 	mfc0	t4,tcstatus
+[0-9a-f]+ <[^>]+> 2042 1030 	mfc0	t4,tcbind
+[0-9a-f]+ <[^>]+> 2043 0070 	mtc0	t4,entrylo1
+[0-9a-f]+ <[^>]+> 2044 0070 	mtc0	t4,context
+[0-9a-f]+ <[^>]+> 2045 3070 	mtc0	t4,pwfield
+[0-9a-f]+ <[^>]+> 2045 3870 	mtc0	t4,pwsize
+[0-9a-f]+ <[^>]+> 2062 1610 	movn	t4,t4,t5
+[0-9a-f]+ <[^>]+> 2062 1610 	movn	t4,t4,t5
+[0-9a-f]+ <[^>]+> 2083 1610 	movn	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2062 1210 	movz	t4,t4,t5
+[0-9a-f]+ <[^>]+> 2062 1210 	movz	t4,t4,t5
+[0-9a-f]+ <[^>]+> 2083 1210 	movz	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2083 1018 	mul	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe e818 	mul	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 1018 	mul	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1018 	mul	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2022 1018 	mul	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 0001 	li	at,1
+[0-9a-f]+ <[^>]+> 2022 1018 	mul	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2022 1018 	mul	t4,t4,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2022 1018 	mul	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2022 1018 	mul	t4,t4,at
+[0-9a-f]+ <[^>]+> 2060 1190 	neg	t4,t5
+[0-9a-f]+ <[^>]+> 2040 1190 	neg	t4,t4
+[0-9a-f]+ <[^>]+> 2040 1190 	neg	t4,t4
+[0-9a-f]+ <[^>]+> 2060 11d0 	negu	t4,t5
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 2060 11d0 	negu	t4,t5
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 5120      	not	s2,s2
+[0-9a-f]+ <[^>]+> 5120      	not	s2,s2
+[0-9a-f]+ <[^>]+> 5130      	not	s2,s3
+[0-9a-f]+ <[^>]+> 5140      	not	s2,a0
+[0-9a-f]+ <[^>]+> 5150      	not	s2,a1
+[0-9a-f]+ <[^>]+> 5160      	not	s2,a2
+[0-9a-f]+ <[^>]+> 5170      	not	s2,a3
+[0-9a-f]+ <[^>]+> 5100      	not	s2,s0
+[0-9a-f]+ <[^>]+> 5110      	not	s2,s1
+[0-9a-f]+ <[^>]+> 5190      	not	s3,s1
+[0-9a-f]+ <[^>]+> 5210      	not	a0,s1
+[0-9a-f]+ <[^>]+> 5290      	not	a1,s1
+[0-9a-f]+ <[^>]+> 5310      	not	a2,s1
+[0-9a-f]+ <[^>]+> 5390      	not	a3,s1
+[0-9a-f]+ <[^>]+> 5010      	not	s0,s1
+[0-9a-f]+ <[^>]+> 5090      	not	s1,s1
+[0-9a-f]+ <[^>]+> 2007 12d0 	not	t4,a3
+[0-9a-f]+ <[^>]+> 20e0 12d0 	nor	t4,zero,a3
+[0-9a-f]+ <[^>]+> 2083 12d0 	nor	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe ead0 	nor	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 12d0 	nor	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 12d0 	nor	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0020 8000 	li	at,32768
+[0-9a-f]+ <[^>]+> 2023 12d0 	nor	t4,t5,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 12d0 	nor	t4,t5,at
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2023 12d0 	nor	t4,t5,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 12d0 	nor	t4,t5,at
+[0-9a-f]+ <[^>]+> 6020 7fff ffff 	li	at,0xffff7fff
+[0-9a-f]+ <[^>]+> 2023 12d0 	nor	t4,t5,at
+[0-9a-f]+ <[^>]+> 2016 1290 	move	t4,s6
+[0-9a-f]+ <[^>]+> 2002 b290 	move	s6,t4
+[0-9a-f]+ <[^>]+> 22c0 1290 	or	t4,zero,s6
+[0-9a-f]+ <[^>]+> 2040 b290 	or	s6,zero,t4
+[0-9a-f]+ <[^>]+> 512c      	or	s2,s2,s2
+[0-9a-f]+ <[^>]+> 513c      	or	s2,s2,s3
+[0-9a-f]+ <[^>]+> 514c      	or	s2,s2,a0
+[0-9a-f]+ <[^>]+> 515c      	or	s2,s2,a1
+[0-9a-f]+ <[^>]+> 516c      	or	s2,s2,a2
+[0-9a-f]+ <[^>]+> 517c      	or	s2,s2,a3
+[0-9a-f]+ <[^>]+> 510c      	or	s2,s2,s0
+[0-9a-f]+ <[^>]+> 511c      	or	s2,s2,s1
+[0-9a-f]+ <[^>]+> 51ac      	or	s3,s3,s2
+[0-9a-f]+ <[^>]+> 522c      	or	a0,a0,s2
+[0-9a-f]+ <[^>]+> 52ac      	or	a1,a1,s2
+[0-9a-f]+ <[^>]+> 532c      	or	a2,a2,s2
+[0-9a-f]+ <[^>]+> 53ac      	or	a3,a3,s2
+[0-9a-f]+ <[^>]+> 502c      	or	s0,s0,s2
+[0-9a-f]+ <[^>]+> 50ac      	or	s1,s1,s2
+[0-9a-f]+ <[^>]+> 512c      	or	s2,s2,s2
+[0-9a-f]+ <[^>]+> 513c      	or	s2,s2,s3
+[0-9a-f]+ <[^>]+> 513c      	or	s2,s2,s3
+[0-9a-f]+ <[^>]+> 2083 1290 	or	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe ea90 	or	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 1290 	or	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1290 	or	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0020 8000 	li	at,32768
+[0-9a-f]+ <[^>]+> 2023 1290 	or	t4,t5,at
+[0-9a-f]+ <[^>]+> 8043 0fff 	ori	t4,t5,0xfff
+[0-9a-f]+ <[^>]+> 0020 1000 	li	at,4096
+[0-9a-f]+ <[^>]+> 2023 1290 	or	t4,t5,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 1290 	or	t4,t5,at
+[0-9a-f]+ <[^>]+> 6020 7fff ffff 	li	at,0xffff7fff
+[0-9a-f]+ <[^>]+> 2023 1290 	or	t4,t5,at
+[0-9a-f]+ <[^>]+> 8064 0000 	ori	t5,a0,0x0
+[0-9a-f]+ <[^>]+> 8064 0fff 	ori	t5,a0,0xfff
+[0-9a-f]+ <[^>]+> 2040 01c0 	rdhwr	t4,hwr_cpunum
+[0-9a-f]+ <[^>]+> 2041 01c0 	rdhwr	t4,hwr_synci_step
+[0-9a-f]+ <[^>]+> 2042 01c0 	rdhwr	t4,hwr_cc
+[0-9a-f]+ <[^>]+> 2043 01c0 	rdhwr	t4,hwr_ccres
+[0-9a-f]+ <[^>]+> 2044 01c0 	rdhwr	t4,hwr_perfcnt
+[0-9a-f]+ <[^>]+> 2045 01c0 	rdhwr	t4,hwr_xnp
+[0-9a-f]+ <[^>]+> 2046 01c0 	rdhwr	t4,\$6
+[0-9a-f]+ <[^>]+> 2047 01c0 	rdhwr	t4,\$7
+[0-9a-f]+ <[^>]+> 2048 01c0 	rdhwr	t4,\$8
+[0-9a-f]+ <[^>]+> 2049 01c0 	rdhwr	t4,\$9
+[0-9a-f]+ <[^>]+> 204a 01c0 	rdhwr	t4,\$10
+[0-9a-f]+ <[^>]+> 2043 e17f 	rdpgpr	t4,t5
+[0-9a-f]+ <[^>]+> 2042 e17f 	rdpgpr	t4,t4
+[0-9a-f]+ <[^>]+> 2062 0158 	mod	zero,t4,t5
+[0-9a-f]+ <[^>]+> 23fe 0158 	mod	zero,fp,ra
+[0-9a-f]+ <[^>]+> 2060 0158 	mod	zero,zero,t5
+[0-9a-f]+ <[^>]+> 23e0 0158 	mod	zero,zero,ra
+[0-9a-f]+ <[^>]+> 2003 1158 	mod	t4,t5,zero
+[0-9a-f]+ <[^>]+> 2083 1158 	mod	t4,t5,a0
+[0-9a-f]+ <[^>]+> 1017      	break	0x7
+[0-9a-f]+ <[^>]+> 1060      	move	t5,zero
+[0-9a-f]+ <[^>]+> 1060      	move	t5,zero
+[0-9a-f]+ <[^>]+> 0020 0002 	li	at,2
+[0-9a-f]+ <[^>]+> 2024 1958 	mod	t5,a0,at
+[0-9a-f]+ <[^>]+> 2080 11d0 	negu	t4,a0
+[0-9a-f]+ <[^>]+> 2043 10d0 	rotrv	t4,t5,t4
+[0-9a-f]+ <[^>]+> 2080 09d0 	negu	at,a0
+[0-9a-f]+ <[^>]+> 2022 10d0 	rotrv	t4,t4,at
+[0-9a-f]+ <[^>]+> 2060 11d0 	negu	t4,t5
+[0-9a-f]+ <[^>]+> 2043 10d0 	rotrv	t4,t5,t4
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 2043 10d0 	rotrv	t4,t5,t4
+[0-9a-f]+ <[^>]+> 8043 c0c0 	rotr	t4,t5,0
+[0-9a-f]+ <[^>]+> 8043 c0df 	rotr	t4,t5,31
+[0-9a-f]+ <[^>]+> 8043 c0c1 	rotr	t4,t5,1
+[0-9a-f]+ <[^>]+> 8042 c0c1 	rotr	t4,t4,1
+[0-9a-f]+ <[^>]+> 8042 c0c1 	rotr	t4,t4,1
+[0-9a-f]+ <[^>]+> 8043 c0c0 	rotr	t4,t5,0
+[0-9a-f]+ <[^>]+> 8043 c0c1 	rotr	t4,t5,1
+[0-9a-f]+ <[^>]+> 8043 c0df 	rotr	t4,t5,31
+[0-9a-f]+ <[^>]+> 8042 c0df 	rotr	t4,t4,31
+[0-9a-f]+ <[^>]+> 8042 c0df 	rotr	t4,t4,31
+[0-9a-f]+ <[^>]+> 2083 10d0 	rotrv	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 10d0 	rotrv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2083 10d0 	rotrv	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 10d0 	rotrv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2083 10d0 	rotrv	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 10d0 	rotrv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2083 10d0 	rotrv	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 10d0 	rotrv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 5c34      	sb	zero,0\(s3\)
+[0-9a-f]+ <[^>]+> 5c34      	sb	zero,0\(s3\)
+[0-9a-f]+ <[^>]+> 5c35      	sb	zero,1\(s3\)
+[0-9a-f]+ <[^>]+> 5c36      	sb	zero,2\(s3\)
+[0-9a-f]+ <[^>]+> 5c37      	sb	zero,3\(s3\)
+[0-9a-f]+ <[^>]+> 8403 1004 	sb	zero,4\(t5\)
+[0-9a-f]+ <[^>]+> 8403 1005 	sb	zero,5\(t5\)
+[0-9a-f]+ <[^>]+> 8403 1006 	sb	zero,6\(t5\)
+[0-9a-f]+ <[^>]+> 8403 1007 	sb	zero,7\(t5\)
+[0-9a-f]+ <[^>]+> 8403 1008 	sb	zero,8\(t5\)
+[0-9a-f]+ <[^>]+> 8403 1009 	sb	zero,9\(t5\)
+[0-9a-f]+ <[^>]+> 8403 100a 	sb	zero,10\(t5\)
+[0-9a-f]+ <[^>]+> 8403 100b 	sb	zero,11\(t5\)
+[0-9a-f]+ <[^>]+> 8403 100c 	sb	zero,12\(t5\)
+[0-9a-f]+ <[^>]+> 8403 100d 	sb	zero,13\(t5\)
+[0-9a-f]+ <[^>]+> 8403 100e 	sb	zero,14\(t5\)
+[0-9a-f]+ <[^>]+> 8403 100f 	sb	zero,15\(t5\)
+[0-9a-f]+ <[^>]+> 8443 100f 	sb	t4,15\(t5\)
+[0-9a-f]+ <[^>]+> 8463 100f 	sb	t5,15\(t5\)
+[0-9a-f]+ <[^>]+> 8483 100f 	sb	a0,15\(t5\)
+[0-9a-f]+ <[^>]+> 84a3 100f 	sb	a1,15\(t5\)
+[0-9a-f]+ <[^>]+> 84c3 100f 	sb	a2,15\(t5\)
+[0-9a-f]+ <[^>]+> 84e3 100f 	sb	a3,15\(t5\)
+[0-9a-f]+ <[^>]+> 8623 100f 	sb	s1,15\(t5\)
+[0-9a-f]+ <[^>]+> 8624 100f 	sb	s1,15\(a0\)
+[0-9a-f]+ <[^>]+> 8625 100f 	sb	s1,15\(a1\)
+[0-9a-f]+ <[^>]+> 8626 100f 	sb	s1,15\(a2\)
+[0-9a-f]+ <[^>]+> 8627 100f 	sb	s1,15\(a3\)
+[0-9a-f]+ <[^>]+> 8622 100f 	sb	s1,15\(t4\)
+[0-9a-f]+ <[^>]+> 8630 100f 	sb	s1,15\(s0\)
+[0-9a-f]+ <[^>]+> 8631 100f 	sb	s1,15\(s1\)
+[0-9a-f]+ <[^>]+> 8460 1004 	sb	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 1004 	sb	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 1fff 	sb	t5,4095\(zero\)
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8461 1001 	sb	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8461 1001 	sb	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a460 88ff 	sb	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8461 1678 	sb	t5,1656\(at\)
+[0-9a-f]+ <[^>]+> 8464 1000 	sb	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 1000 	sb	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 1fff 	sb	t5,4095\(a0\)
+[0-9a-f]+ <[^>]+> 0024 ffff 	addiu	at,a0,65535
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 1001 	sb	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 1001 	sb	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a464 88ff 	sb	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 1678 	sb	t5,1656\(at\)
+[0-9a-f]+ <[^>]+> a460 5904 	sc	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> a460 5904 	sc	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0020 07ff 	li	at,2047
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 8020 8800 	li	at,-2048
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> a461 5904 	sc	t5,4\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a461 5904 	sc	t5,4\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 8020 8001 	li	at,-1
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 6020 5678 1234 	li	at,0x12345678
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a464 5900 	sc	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> a464 5900 	sc	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 0024 07ff 	addiu	at,a0,2047
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 8024 8800 	addiu	at,a0,-2048
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 0024 7fff 	addiu	at,a0,32767
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 0024 ffff 	addiu	at,a0,65535
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5904 	sc	t5,4\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5904 	sc	t5,4\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 8024 8001 	addiu	at,a0,-1
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 6020 5678 1234 	li	at,0x12345678
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 1018      	sdbbp
+[0-9a-f]+ <[^>]+> 1018      	sdbbp
+[0-9a-f]+ <[^>]+> 1019      	sdbbp	0x1
+[0-9a-f]+ <[^>]+> 101a      	sdbbp	0x2
+[0-9a-f]+ <[^>]+> 101b      	sdbbp	0x3
+[0-9a-f]+ <[^>]+> 101c      	sdbbp	0x4
+[0-9a-f]+ <[^>]+> 101d      	sdbbp	0x5
+[0-9a-f]+ <[^>]+> 101e      	sdbbp	0x6
+[0-9a-f]+ <[^>]+> 101f      	sdbbp	0x7
+[0-9a-f]+ <[^>]+> 0018 0008 	sdbbp	0x8
+[0-9a-f]+ <[^>]+> 0018 0009 	sdbbp	0x9
+[0-9a-f]+ <[^>]+> 0018 000a 	sdbbp	0xa
+[0-9a-f]+ <[^>]+> 0018 000b 	sdbbp	0xb
+[0-9a-f]+ <[^>]+> 0018 000c 	sdbbp	0xc
+[0-9a-f]+ <[^>]+> 0018 000d 	sdbbp	0xd
+[0-9a-f]+ <[^>]+> 0018 000e 	sdbbp	0xe
+[0-9a-f]+ <[^>]+> 0018 000f 	sdbbp	0xf
+[0-9a-f]+ <[^>]+> 0018 0000 	sdbbp
+[0-9a-f]+ <[^>]+> 0018 0000 	sdbbp
+[0-9a-f]+ <[^>]+> 0018 0001 	sdbbp	0x1
+[0-9a-f]+ <[^>]+> 0018 0002 	sdbbp	0x2
+[0-9a-f]+ <[^>]+> 0018 00ff 	sdbbp	0xff
+[0-9a-f]+ <[^>]+> 2043 0008 	seb	t4,t5
+[0-9a-f]+ <[^>]+> 2042 0008 	seb	t4,t4
+[0-9a-f]+ <[^>]+> 2042 0008 	seb	t4,t4
+[0-9a-f]+ <[^>]+> 2043 0048 	seh	t4,t5
+[0-9a-f]+ <[^>]+> 2042 0048 	seh	t4,t4
+[0-9a-f]+ <[^>]+> 2042 0048 	seh	t4,t4
+[0-9a-f]+ <[^>]+> 2083 1310 	xor	t4,t5,a0
+[0-9a-f]+ <[^>]+> 8042 5001 	sltiu	t4,t4,1
+[0-9a-f]+ <[^>]+> 8043 5001 	sltiu	t4,t5,1
+[0-9a-f]+ <[^>]+> 8044 5001 	sltiu	t4,a0,1
+[0-9a-f]+ <[^>]+> 8043 5001 	sltiu	t4,t5,1
+[0-9a-f]+ <[^>]+> 8043 6001 	seqi	t4,t5,1
+[0-9a-f]+ <[^>]+> 0043 0001 	addiu	t4,t5,1
+[0-9a-f]+ <[^>]+> 8042 5001 	sltiu	t4,t4,1
+[0-9a-f]+ <[^>]+> 0043 8001 	addiu	t4,t5,32769
+[0-9a-f]+ <[^>]+> 8042 5001 	sltiu	t4,t4,1
+[0-9a-f]+ <[^>]+> 2083 1350 	slt	t4,t5,a0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2082 1350 	slt	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2082 1350 	slt	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 8043 4000 	slti	t4,t5,0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 8043 4000 	slti	t4,t5,0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 6020 7fff ffff 	li	at,0xffff7fff
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2083 1390 	sltu	t4,t5,a0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2082 1390 	sltu	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2082 1390 	sltu	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 8043 5000 	sltiu	t4,t5,0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 8043 5000 	sltiu	t4,t5,0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 6020 7fff ffff 	li	at,0xffff7fff
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2064 1350 	slt	t4,a0,t5
+[0-9a-f]+ <[^>]+> 2044 1350 	slt	t4,a0,t4
+[0-9a-f]+ <[^>]+> 2044 1350 	slt	t4,a0,t4
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 6020 7fff ffff 	li	at,0xffff7fff
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 2064 1390 	sltu	t4,a0,t5
+[0-9a-f]+ <[^>]+> 2044 1390 	sltu	t4,a0,t4
+[0-9a-f]+ <[^>]+> 2044 1390 	sltu	t4,a0,t4
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 6020 7fff ffff 	li	at,0xffff7fff
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 7d31      	sh	s2,0\(s3\)
+[0-9a-f]+ <[^>]+> 7d31      	sh	s2,0\(s3\)
+[0-9a-f]+ <[^>]+> 7d33      	sh	s2,2\(s3\)
+[0-9a-f]+ <[^>]+> 7d35      	sh	s2,4\(s3\)
+[0-9a-f]+ <[^>]+> 7d37      	sh	s2,6\(s3\)
+[0-9a-f]+ <[^>]+> 8443 5008 	sh	t4,8\(t5\)
+[0-9a-f]+ <[^>]+> 8443 500a 	sh	t4,10\(t5\)
+[0-9a-f]+ <[^>]+> 8443 500c 	sh	t4,12\(t5\)
+[0-9a-f]+ <[^>]+> 8443 500e 	sh	t4,14\(t5\)
+[0-9a-f]+ <[^>]+> 8443 5010 	sh	t4,16\(t5\)
+[0-9a-f]+ <[^>]+> 8443 5012 	sh	t4,18\(t5\)
+[0-9a-f]+ <[^>]+> 8443 5014 	sh	t4,20\(t5\)
+[0-9a-f]+ <[^>]+> 8443 5016 	sh	t4,22\(t5\)
+[0-9a-f]+ <[^>]+> 8443 5018 	sh	t4,24\(t5\)
+[0-9a-f]+ <[^>]+> 8443 501a 	sh	t4,26\(t5\)
+[0-9a-f]+ <[^>]+> 8443 501c 	sh	t4,28\(t5\)
+[0-9a-f]+ <[^>]+> 8443 501e 	sh	t4,30\(t5\)
+[0-9a-f]+ <[^>]+> 8444 501e 	sh	t4,30\(a0\)
+[0-9a-f]+ <[^>]+> 8445 501e 	sh	t4,30\(a1\)
+[0-9a-f]+ <[^>]+> 8446 501e 	sh	t4,30\(a2\)
+[0-9a-f]+ <[^>]+> 8447 501e 	sh	t4,30\(a3\)
+[0-9a-f]+ <[^>]+> 8442 501e 	sh	t4,30\(t4\)
+[0-9a-f]+ <[^>]+> 8450 501e 	sh	t4,30\(s0\)
+[0-9a-f]+ <[^>]+> 8451 501e 	sh	t4,30\(s1\)
+[0-9a-f]+ <[^>]+> 8471 501e 	sh	t5,30\(s1\)
+[0-9a-f]+ <[^>]+> 8491 501e 	sh	a0,30\(s1\)
+[0-9a-f]+ <[^>]+> 84b1 501e 	sh	a1,30\(s1\)
+[0-9a-f]+ <[^>]+> 84d1 501e 	sh	a2,30\(s1\)
+[0-9a-f]+ <[^>]+> 84f1 501e 	sh	a3,30\(s1\)
+[0-9a-f]+ <[^>]+> 8631 501e 	sh	s1,30\(s1\)
+[0-9a-f]+ <[^>]+> 8411 501e 	sh	zero,30\(s1\)
+[0-9a-f]+ <[^>]+> 8460 5004 	sh	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 5004 	sh	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 5fff 	sh	t5,4095\(zero\)
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8461 5001 	sh	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8461 5001 	sh	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a460 a8ff 	sh	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8461 5678 	sh	t5,1656\(at\)
+[0-9a-f]+ <[^>]+> 8464 5000 	sh	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 5000 	sh	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 5fff 	sh	t5,4095\(a0\)
+[0-9a-f]+ <[^>]+> 0024 ffff 	addiu	at,a0,65535
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 5001 	sh	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 5001 	sh	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a464 a8ff 	sh	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 5678 	sh	t5,1656\(at\)
+[0-9a-f]+ <[^>]+> 2064 1350 	slt	t4,a0,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2044 1350 	slt	t4,a0,t4
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2044 1350 	slt	t4,a0,t4
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 6020 7fff ffff 	li	at,0xffff7fff
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2064 1390 	sltu	t4,a0,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2044 1390 	sltu	t4,a0,t4
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2044 1390 	sltu	t4,a0,t4
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 6020 7fff ffff 	li	at,0xffff7fff
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 3121      	sll	s2,s2,1
+[0-9a-f]+ <[^>]+> 3122      	sll	s2,s2,2
+[0-9a-f]+ <[^>]+> 3123      	sll	s2,s2,3
+[0-9a-f]+ <[^>]+> 3124      	sll	s2,s2,4
+[0-9a-f]+ <[^>]+> 3125      	sll	s2,s2,5
+[0-9a-f]+ <[^>]+> 3126      	sll	s2,s2,6
+[0-9a-f]+ <[^>]+> 3127      	sll	s2,s2,7
+[0-9a-f]+ <[^>]+> 3120      	sll	s2,s2,8
+[0-9a-f]+ <[^>]+> 3130      	sll	s2,s3,8
+[0-9a-f]+ <[^>]+> 3140      	sll	s2,a0,8
+[0-9a-f]+ <[^>]+> 3150      	sll	s2,a1,8
+[0-9a-f]+ <[^>]+> 3160      	sll	s2,a2,8
+[0-9a-f]+ <[^>]+> 3170      	sll	s2,a3,8
+[0-9a-f]+ <[^>]+> 3100      	sll	s2,s0,8
+[0-9a-f]+ <[^>]+> 3110      	sll	s2,s1,8
+[0-9a-f]+ <[^>]+> 31a0      	sll	s3,s2,8
+[0-9a-f]+ <[^>]+> 3220      	sll	a0,s2,8
+[0-9a-f]+ <[^>]+> 32a0      	sll	a1,s2,8
+[0-9a-f]+ <[^>]+> 3320      	sll	a2,s2,8
+[0-9a-f]+ <[^>]+> 33a0      	sll	a3,s2,8
+[0-9a-f]+ <[^>]+> 3020      	sll	s0,s2,8
+[0-9a-f]+ <[^>]+> 30a0      	sll	s1,s2,8
+[0-9a-f]+ <[^>]+> 3121      	sll	s2,s2,1
+[0-9a-f]+ <[^>]+> 31b1      	sll	s3,s3,1
+[0-9a-f]+ <[^>]+> 2083 1010 	sllv	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 1010 	sllv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1010 	sllv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1010 	sllv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8044 c000 	sll	t4,a0,0
+[0-9a-f]+ <[^>]+> 8044 c001 	sll	t4,a0,1
+[0-9a-f]+ <[^>]+> 8044 c01f 	sll	t4,a0,31
+[0-9a-f]+ <[^>]+> 8042 c01f 	sll	t4,t4,31
+[0-9a-f]+ <[^>]+> 8042 c01f 	sll	t4,t4,31
+[0-9a-f]+ <[^>]+> 2083 1350 	slt	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 1350 	slt	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1350 	slt	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8043 4000 	slti	t4,t5,0
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8043 4000 	slti	t4,t5,0
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 6020 7fff ffff 	li	at,0xffff7fff
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8064 4000 	slti	t5,a0,0
+[0-9a-f]+ <[^>]+> 8064 4fff 	slti	t5,a0,4095
+[0-9a-f]+ <[^>]+> 8064 5000 	sltiu	t5,a0,0
+[0-9a-f]+ <[^>]+> 8064 5fff 	sltiu	t5,a0,4095
+[0-9a-f]+ <[^>]+> 2083 1390 	sltu	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 1390 	sltu	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1390 	sltu	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8043 5000 	sltiu	t4,t5,0
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 8043 5000 	sltiu	t4,t5,0
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 6020 7fff ffff 	li	at,0xffff7fff
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 2083 1310 	xor	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2040 1390 	sltu	t4,zero,t4
+[0-9a-f]+ <[^>]+> 2080 1390 	sltu	t4,zero,a0
+[0-9a-f]+ <[^>]+> 2060 1390 	sltu	t4,zero,t5
+[0-9a-f]+ <[^>]+> 2060 1390 	sltu	t4,zero,t5
+[0-9a-f]+ <[^>]+> 8043 1001 	xori	t4,t5,0x1
+[0-9a-f]+ <[^>]+> 2040 1390 	sltu	t4,zero,t4
+[0-9a-f]+ <[^>]+> 0043 0001 	addiu	t4,t5,1
+[0-9a-f]+ <[^>]+> 2040 1390 	sltu	t4,zero,t4
+[0-9a-f]+ <[^>]+> 0043 8001 	addiu	t4,t5,32769
+[0-9a-f]+ <[^>]+> 2040 1390 	sltu	t4,zero,t4
+[0-9a-f]+ <[^>]+> 2083 1090 	srav	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 1090 	srav	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1090 	srav	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1090 	srav	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8044 c080 	sra	t4,a0,0
+[0-9a-f]+ <[^>]+> 8044 c081 	sra	t4,a0,1
+[0-9a-f]+ <[^>]+> 8044 c09f 	sra	t4,a0,31
+[0-9a-f]+ <[^>]+> 8042 c09f 	sra	t4,t4,31
+[0-9a-f]+ <[^>]+> 8042 c09f 	sra	t4,t4,31
+[0-9a-f]+ <[^>]+> 2083 1050 	srlv	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 1050 	srlv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1050 	srlv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1050 	srlv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8044 c040 	srl	t4,a0,0
+[0-9a-f]+ <[^>]+> 3149      	srl	s2,a0,1
+[0-9a-f]+ <[^>]+> 8044 c05f 	srl	t4,a0,31
+[0-9a-f]+ <[^>]+> 8042 c05f 	srl	t4,t4,31
+[0-9a-f]+ <[^>]+> 8042 c05f 	srl	t4,t4,31
+[0-9a-f]+ <[^>]+> 3129      	srl	s2,s2,1
+[0-9a-f]+ <[^>]+> 312a      	srl	s2,s2,2
+[0-9a-f]+ <[^>]+> 312b      	srl	s2,s2,3
+[0-9a-f]+ <[^>]+> 312c      	srl	s2,s2,4
+[0-9a-f]+ <[^>]+> 312d      	srl	s2,s2,5
+[0-9a-f]+ <[^>]+> 312e      	srl	s2,s2,6
+[0-9a-f]+ <[^>]+> 312f      	srl	s2,s2,7
+[0-9a-f]+ <[^>]+> 3128      	srl	s2,s2,8
+[0-9a-f]+ <[^>]+> 3138      	srl	s2,s3,8
+[0-9a-f]+ <[^>]+> 3148      	srl	s2,a0,8
+[0-9a-f]+ <[^>]+> 3158      	srl	s2,a1,8
+[0-9a-f]+ <[^>]+> 3168      	srl	s2,a2,8
+[0-9a-f]+ <[^>]+> 3178      	srl	s2,a3,8
+[0-9a-f]+ <[^>]+> 3108      	srl	s2,s0,8
+[0-9a-f]+ <[^>]+> 3118      	srl	s2,s1,8
+[0-9a-f]+ <[^>]+> 3128      	srl	s2,s2,8
+[0-9a-f]+ <[^>]+> 31a8      	srl	s3,s2,8
+[0-9a-f]+ <[^>]+> 3228      	srl	a0,s2,8
+[0-9a-f]+ <[^>]+> 32a8      	srl	a1,s2,8
+[0-9a-f]+ <[^>]+> 3328      	srl	a2,s2,8
+[0-9a-f]+ <[^>]+> 33a8      	srl	a3,s2,8
+[0-9a-f]+ <[^>]+> 3028      	srl	s0,s2,8
+[0-9a-f]+ <[^>]+> 30a8      	srl	s1,s2,8
+[0-9a-f]+ <[^>]+> 31b9      	srl	s3,s3,1
+[0-9a-f]+ <[^>]+> 31b9      	srl	s3,s3,1
+[0-9a-f]+ <[^>]+> 2083 1190 	sub	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe e990 	sub	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 1190 	sub	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1190 	sub	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2022 1190 	sub	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 0001 	li	at,1
+[0-9a-f]+ <[^>]+> 2022 1190 	sub	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2022 1190 	sub	t4,t4,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2022 1190 	sub	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2022 1190 	sub	t4,t4,at
+[0-9a-f]+ <[^>]+> b135      	subu	s2,s3,s2
+[0-9a-f]+ <[^>]+> b1b5      	subu	s2,s3,s3
+[0-9a-f]+ <[^>]+> b235      	subu	s2,s3,a0
+[0-9a-f]+ <[^>]+> b2b5      	subu	s2,s3,a1
+[0-9a-f]+ <[^>]+> b335      	subu	s2,s3,a2
+[0-9a-f]+ <[^>]+> b3b5      	subu	s2,s3,a3
+[0-9a-f]+ <[^>]+> b035      	subu	s2,s3,s0
+[0-9a-f]+ <[^>]+> b0b5      	subu	s2,s3,s1
+[0-9a-f]+ <[^>]+> b0a5      	subu	s2,s2,s1
+[0-9a-f]+ <[^>]+> b0c5      	subu	s2,a0,s1
+[0-9a-f]+ <[^>]+> b0d5      	subu	s2,a1,s1
+[0-9a-f]+ <[^>]+> b0e5      	subu	s2,a2,s1
+[0-9a-f]+ <[^>]+> b0f5      	subu	s2,a3,s1
+[0-9a-f]+ <[^>]+> b085      	subu	s2,s0,s1
+[0-9a-f]+ <[^>]+> b095      	subu	s2,s1,s1
+[0-9a-f]+ <[^>]+> b0a5      	subu	s2,s2,s1
+[0-9a-f]+ <[^>]+> b0a7      	subu	s3,s2,s1
+[0-9a-f]+ <[^>]+> b0a9      	subu	a0,s2,s1
+[0-9a-f]+ <[^>]+> b0ab      	subu	a1,s2,s1
+[0-9a-f]+ <[^>]+> b0ad      	subu	a2,s2,s1
+[0-9a-f]+ <[^>]+> b0af      	subu	a3,s2,s1
+[0-9a-f]+ <[^>]+> b0a1      	subu	s0,s2,s1
+[0-9a-f]+ <[^>]+> b0a3      	subu	s1,s2,s1
+[0-9a-f]+ <[^>]+> b17f      	subu	a3,a3,s2
+[0-9a-f]+ <[^>]+> b17f      	subu	a3,a3,s2
+[0-9a-f]+ <[^>]+> 2083 11d0 	subu	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe e9d0 	subu	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 11d0 	subu	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 11d0 	subu	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0042 0000 	addiu	t4,t4,0
+[0-9a-f]+ <[^>]+> 8042 8001 	addiu	t4,t4,-1
+[0-9a-f]+ <[^>]+> 6041 8001 ffff 	addiu	t4,t4,-32767
+[0-9a-f]+ <[^>]+> 0042 8000 	addiu	t4,t4,32768
+[0-9a-f]+ <[^>]+> 6041 0001 ffff 	addiu	t4,t4,-65535
+[0-9a-f]+ <[^>]+> 9540      	sw	s2,0\(a0\)
+[0-9a-f]+ <[^>]+> 9540      	sw	s2,0\(a0\)
+[0-9a-f]+ <[^>]+> 9541      	sw	s2,4\(a0\)
+[0-9a-f]+ <[^>]+> 9542      	sw	s2,8\(a0\)
+[0-9a-f]+ <[^>]+> 9543      	sw	s2,12\(a0\)
+[0-9a-f]+ <[^>]+> 9544      	sw	s2,16\(a0\)
+[0-9a-f]+ <[^>]+> 9545      	sw	s2,20\(a0\)
+[0-9a-f]+ <[^>]+> 9546      	sw	s2,24\(a0\)
+[0-9a-f]+ <[^>]+> 9547      	sw	s2,28\(a0\)
+[0-9a-f]+ <[^>]+> 9548      	sw	s2,32\(a0\)
+[0-9a-f]+ <[^>]+> 9549      	sw	s2,36\(a0\)
+[0-9a-f]+ <[^>]+> 954a      	sw	s2,40\(a0\)
+[0-9a-f]+ <[^>]+> 954b      	sw	s2,44\(a0\)
+[0-9a-f]+ <[^>]+> 954c      	sw	s2,48\(a0\)
+[0-9a-f]+ <[^>]+> 954d      	sw	s2,52\(a0\)
+[0-9a-f]+ <[^>]+> 954e      	sw	s2,56\(a0\)
+[0-9a-f]+ <[^>]+> 954f      	sw	s2,60\(a0\)
+[0-9a-f]+ <[^>]+> 955f      	sw	s2,60\(a1\)
+[0-9a-f]+ <[^>]+> 956f      	sw	s2,60\(a2\)
+[0-9a-f]+ <[^>]+> 957f      	sw	s2,60\(a3\)
+[0-9a-f]+ <[^>]+> 950f      	sw	s2,60\(s0\)
+[0-9a-f]+ <[^>]+> 951f      	sw	s2,60\(s1\)
+[0-9a-f]+ <[^>]+> 952f      	sw	s2,60\(s2\)
+[0-9a-f]+ <[^>]+> 953f      	sw	s2,60\(s3\)
+[0-9a-f]+ <[^>]+> 95bf      	sw	s3,60\(s3\)
+[0-9a-f]+ <[^>]+> 963f      	sw	a0,60\(s3\)
+[0-9a-f]+ <[^>]+> 96bf      	sw	a1,60\(s3\)
+[0-9a-f]+ <[^>]+> 973f      	sw	a2,60\(s3\)
+[0-9a-f]+ <[^>]+> 97bf      	sw	a3,60\(s3\)
+[0-9a-f]+ <[^>]+> 94bf      	sw	s1,60\(s3\)
+[0-9a-f]+ <[^>]+> 943f      	sw	zero,60\(s3\)
+[0-9a-f]+ <[^>]+> b400      	sw	zero,0\(sp\)
+[0-9a-f]+ <[^>]+> b400      	sw	zero,0\(sp\)
+[0-9a-f]+ <[^>]+> b401      	sw	zero,4\(sp\)
+[0-9a-f]+ <[^>]+> b402      	sw	zero,8\(sp\)
+[0-9a-f]+ <[^>]+> b403      	sw	zero,12\(sp\)
+[0-9a-f]+ <[^>]+> b404      	sw	zero,16\(sp\)
+[0-9a-f]+ <[^>]+> b405      	sw	zero,20\(sp\)
+[0-9a-f]+ <[^>]+> b41e      	sw	zero,120\(sp\)
+[0-9a-f]+ <[^>]+> b41f      	sw	zero,124\(sp\)
+[0-9a-f]+ <[^>]+> b45f      	sw	t4,124\(sp\)
+[0-9a-f]+ <[^>]+> b63f      	sw	s1,124\(sp\)
+[0-9a-f]+ <[^>]+> b47f      	sw	t5,124\(sp\)
+[0-9a-f]+ <[^>]+> b49f      	sw	a0,124\(sp\)
+[0-9a-f]+ <[^>]+> b4bf      	sw	a1,124\(sp\)
+[0-9a-f]+ <[^>]+> b4df      	sw	a2,124\(sp\)
+[0-9a-f]+ <[^>]+> b4ff      	sw	a3,124\(sp\)
+[0-9a-f]+ <[^>]+> b7ff      	sw	ra,124\(sp\)
+[0-9a-f]+ <[^>]+> 8460 9004 	sw	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 9004 	sw	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 9fff 	sw	t5,4095\(zero\)
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8461 9001 	sw	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8461 9001 	sw	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a460 c8ff 	sw	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8461 9678 	sw	t5,1656\(at\)
+[0-9a-f]+ <[^>]+> 8464 9000 	sw	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 9000 	sw	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 9fff 	sw	t5,4095\(a0\)
+[0-9a-f]+ <[^>]+> 0024 ffff 	addiu	at,a0,65535
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 9001 	sw	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 9001 	sw	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a464 c8ff 	sw	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 9678 	sw	t5,1656\(at\)
+[0-9a-f]+ <[^>]+> 8000 c006 	sync
+[0-9a-f]+ <[^>]+> 8000 c006 	sync
+[0-9a-f]+ <[^>]+> 8001 c006 	sync	0x1
+[0-9a-f]+ <[^>]+> 8002 c006 	sync	0x2
+[0-9a-f]+ <[^>]+> 8003 c006 	sync	0x3
+[0-9a-f]+ <[^>]+> 8005 c006 	sync	0x5
+[0-9a-f]+ <[^>]+> 801e c006 	sync	0x1e
+[0-9a-f]+ <[^>]+> 801f c006 	sync	0x1f
+[0-9a-f]+ <[^>]+> 87e0 3000 	synci	0\(zero\)
+[0-9a-f]+ <[^>]+> 87e0 3000 	synci	0\(zero\)
+[0-9a-f]+ <[^>]+> 87e0 3000 	synci	0\(zero\)
+[0-9a-f]+ <[^>]+> 87e0 37ff 	synci	2047\(zero\)
+[0-9a-f]+ <[^>]+> 87e0 3800 	synci	2048\(zero\)
+[0-9a-f]+ <[^>]+> 87e2 3000 	synci	0\(t4\)
+[0-9a-f]+ <[^>]+> 87e3 3000 	synci	0\(t5\)
+[0-9a-f]+ <[^>]+> 87e3 30ff 	synci	255\(t5\)
+[0-9a-f]+ <[^>]+> a7e3 9800 	synci	-256\(t5\)
+[0-9a-f]+ <[^>]+> 87e3 3800 	synci	2048\(t5\)
+[0-9a-f]+ <[^>]+> 1008      	syscall
+[0-9a-f]+ <[^>]+> 1008      	syscall
+[0-9a-f]+ <[^>]+> 1009      	syscall	0x1
+[0-9a-f]+ <[^>]+> 100a      	syscall	0x2
+[0-9a-f]+ <[^>]+> 0008 00ff 	syscall	0xff
+[0-9a-f]+ <[^>]+> 2000 c37f 	wait
+[0-9a-f]+ <[^>]+> 2000 c37f 	wait
+[0-9a-f]+ <[^>]+> 2001 c37f 	wait	0x1
+[0-9a-f]+ <[^>]+> 20ff c37f 	wait	0xff
+[0-9a-f]+ <[^>]+> 2043 f17f 	wrpgpr	t4,t5
+[0-9a-f]+ <[^>]+> 2044 f17f 	wrpgpr	t4,a0
+[0-9a-f]+ <[^>]+> 2042 f17f 	wrpgpr	t4,t4
+[0-9a-f]+ <[^>]+> 2042 f17f 	wrpgpr	t4,t4
+[0-9a-f]+ <[^>]+> 8043 d608 	byterevh	t4,t5
+[0-9a-f]+ <[^>]+> 8044 d608 	byterevh	t4,a0
+[0-9a-f]+ <[^>]+> 8042 d608 	byterevh	t4,t4
+[0-9a-f]+ <[^>]+> 8042 d608 	byterevh	t4,t4
+[0-9a-f]+ <[^>]+> 5124      	xor	s2,s2,s2
+[0-9a-f]+ <[^>]+> 5134      	xor	s2,s2,s3
+[0-9a-f]+ <[^>]+> 5144      	xor	s2,s2,a0
+[0-9a-f]+ <[^>]+> 5154      	xor	s2,s2,a1
+[0-9a-f]+ <[^>]+> 5164      	xor	s2,s2,a2
+[0-9a-f]+ <[^>]+> 5174      	xor	s2,s2,a3
+[0-9a-f]+ <[^>]+> 5104      	xor	s2,s2,s0
+[0-9a-f]+ <[^>]+> 5114      	xor	s2,s2,s1
+[0-9a-f]+ <[^>]+> 5194      	xor	s3,s3,s1
+[0-9a-f]+ <[^>]+> 5214      	xor	a0,a0,s1
+[0-9a-f]+ <[^>]+> 5294      	xor	a1,a1,s1
+[0-9a-f]+ <[^>]+> 5314      	xor	a2,a2,s1
+[0-9a-f]+ <[^>]+> 5394      	xor	a3,a3,s1
+[0-9a-f]+ <[^>]+> 5014      	xor	s0,s0,s1
+[0-9a-f]+ <[^>]+> 5094      	xor	s1,s1,s1
+[0-9a-f]+ <[^>]+> 5134      	xor	s2,s2,s3
+[0-9a-f]+ <[^>]+> 5134      	xor	s2,s2,s3
+[0-9a-f]+ <[^>]+> 5134      	xor	s2,s2,s3
+[0-9a-f]+ <[^>]+> 2083 1310 	xor	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe eb10 	xor	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 1310 	xor	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1310 	xor	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0020 8000 	li	at,32768
+[0-9a-f]+ <[^>]+> 2023 1310 	xor	t4,t5,at
+[0-9a-f]+ <[^>]+> 8043 1fff 	xori	t4,t5,0xfff
+[0-9a-f]+ <[^>]+> 0020 1000 	li	at,4096
+[0-9a-f]+ <[^>]+> 2023 1310 	xor	t4,t5,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 1310 	xor	t4,t5,at
+[0-9a-f]+ <[^>]+> 6020 7fff ffff 	li	at,0xffff7fff
+[0-9a-f]+ <[^>]+> 2023 1310 	xor	t4,t5,at
+[0-9a-f]+ <[^>]+> 8064 1000 	xori	t5,a0,0x0
+[0-9a-f]+ <[^>]+> 8063 1fff 	xori	t5,t5,0xfff
+[0-9a-f]+ <[^>]+> 8920 0000 	beqzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8949 0000 	beqc	a5,a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 0000 	beqzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c920 0800 	beqic	a5,1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 880a 8000 	bgezc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 880a 8000 	bgezc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8940 8000 	blezc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 896a 8000 	bgec	a6,a7,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 880a 8000 	bgezc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a940 8000 	bgtzc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c948 1000 	bgeic	a6,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8802 c000 	bgeuc	t4,zero,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8840 c000 	bgeuc	zero,t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8862 c000 	bgeuc	t4,t5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a840 0000 	bnezc	t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c84c 1000 	bgeiuc	t4,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8802 8000 	bgezc	t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a840 8000 	bgtzc	t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a802 8000 	bltzc	t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 212a 0b50 	slt	at,a6,a5
+[0-9a-f]+ <[^>]+> a820 0000 	bnezc	at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 9008      	nop
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8809 8000 	bgezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a920 8000 	bgtzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c928 1000 	bgeic	a5,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 6020 0001 8000 	li	at,0x80000001
+[0-9a-f]+ <[^>]+> 2029 0b50 	slt	at,a5,at
+[0-9a-f]+ <[^>]+> 8820 0000 	beqzc	at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a920 0000 	bnezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 9008      	nop
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 212a 0b90 	sltu	at,a6,a5
+[0-9a-f]+ <[^>]+> a820 0000 	bnezc	at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 9008      	nop
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 9008      	nop
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 9008      	nop
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a920 0000 	bnezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c92c 1000 	bgeiuc	a5,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a920 8000 	bgtzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 8000 	blezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 880a 8000 	bgezc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 212a 0b50 	slt	at,a6,a5
+[0-9a-f]+ <[^>]+> 8820 0000 	beqzc	at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a809 8000 	bltzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 8000 	blezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c938 1000 	bltic	a5,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 0000 	beqzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 212a 0b90 	sltu	at,a6,a5
+[0-9a-f]+ <[^>]+> 8820 0000 	beqzc	at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 0000 	beqzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c93c 1000 	bltiuc	a5,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 8000 	blezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a809 8000 	bltzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a940 8000 	bgtzc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a949 8000 	bltc	a5,a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a809 8000 	bltzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 8000 	blezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c938 1000 	bltic	a5,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a809 c000 	bltuc	a5,zero,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a940 c000 	bltuc	zero,a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a949 c000 	bltuc	a5,a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 9008      	nop
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 0000 	beqzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c93c 1000 	bltiuc	a5,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a809 8000 	bltzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a920 0000 	bnezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a949 0000 	bnec	a5,a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a920 0000 	bnezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c930 0800 	bneic	a5,1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 1d00      	restore.jrc	0
+[0-9a-f]+ <[^>]+> 8000 300b 	restore.jrc	8
+[0-9a-f]+ <[^>]+> 1d10      	restore.jrc	16
+[0-9a-f]+ <[^>]+> 8000 301b 	restore.jrc	24
+[0-9a-f]+ <[^>]+> 1d20      	restore.jrc	32
+[0-9a-f]+ <[^>]+> 8000 302b 	restore.jrc	40
+[0-9a-f]+ <[^>]+> 03bd 0004 	addiu	sp,sp,4
+[0-9a-f]+ <[^>]+> dbe0      	jrc	ra
+[0-9a-f]+ <[^>]+> 03bd 000c 	addiu	sp,sp,12
+[0-9a-f]+ <[^>]+> dbe0      	jrc	ra
+[0-9a-f]+ <[^>]+> 03bd 0014 	addiu	sp,sp,20
+[0-9a-f]+ <[^>]+> dbe0      	jrc	ra
+[0-9a-f]+ <[^>]+> 03bd 001c 	addiu	sp,sp,28
+[0-9a-f]+ <[^>]+> dbe0      	jrc	ra
+[0-9a-f]+ <[^>]+> 03bd 0024 	addiu	sp,sp,36
+[0-9a-f]+ <[^>]+> dbe0      	jrc	ra
+[0-9a-f]+ <[^>]+> 8000 307b 	restore.jrc	120
+[0-9a-f]+ <[^>]+> 03bd 007c 	addiu	sp,sp,124
+[0-9a-f]+ <[^>]+> dbe0      	jrc	ra
+[0-9a-f]+ <[^>]+> 0018 03ff 	sdbbp	0x3ff
+[0-9a-f]+ <[^>]+> 23ff c37f 	wait	0x3ff
+[0-9a-f]+ <[^>]+> 0008 03ff 	syscall	0x3ff
+[0-9a-f]+ <[^>]+> 3800      	balc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC10_S1	test_delay_slot
+[0-9a-f]+ <[^>]+> d850      	jalrc	t4
+[0-9a-f]+ <[^>]+> 4be2 0000 	jalrc	t4
+[0-9a-f]+ <[^>]+> d840      	jrc	t4
+[0-9a-f]+ <[^>]+> 4802 0000 	jrc	t4
+[0-9a-f]+ <[^>]+> 4be2 1000 	jalrc.hb	t4
+[0-9a-f]+ <[^>]+> 4802 1000 	jrc.hb	t4
+[0-9a-f]+ <[^>]+> 557f      	lw	s2,508\(gp\)
+[0-9a-f]+ <[^>]+> 55ff      	lw	s3,508\(gp\)
+[0-9a-f]+ <[^>]+> 567f      	lw	a0,508\(gp\)
+[0-9a-f]+ <[^>]+> 56ff      	lw	a1,508\(gp\)
+[0-9a-f]+ <[^>]+> 577f      	lw	a2,508\(gp\)
+[0-9a-f]+ <[^>]+> 57ff      	lw	a3,508\(gp\)
+[0-9a-f]+ <[^>]+> 547f      	lw	s0,508\(gp\)
+[0-9a-f]+ <[^>]+> 54ff      	lw	s1,508\(gp\)
+[0-9a-f]+ <[^>]+> 54fe      	lw	s1,504\(gp\)
+[0-9a-f]+ <[^>]+> 54fd      	lw	s1,500\(gp\)
+[0-9a-f]+ <[^>]+> 5480      	lw	s1,0\(gp\)
+[0-9a-f]+ <[^>]+> 5481      	lw	s1,4\(gp\)
+[0-9a-f]+ <[^>]+> 54be      	lw	s1,248\(gp\)
+[0-9a-f]+ <[^>]+> 54bf      	lw	s1,252\(gp\)
+[0-9a-f]+ <[^>]+> 54c0      	lw	s1,256\(gp\)
+[0-9a-f]+ <[^>]+> 823c 8104 	addiu	s1,gp,-260
+[0-9a-f]+ <[^>]+> 8631 8000 	lw	s1,0\(s1\)
+[0-9a-f]+ <[^>]+> 863c 8001 	lw	s1,1\(gp\)
+[0-9a-f]+ <[^>]+> 863c 8002 	lw	s1,2\(gp\)
+[0-9a-f]+ <[^>]+> 863c 8003 	lw	s1,3\(gp\)
+[0-9a-f]+ <[^>]+> a63c c0ff 	lw	s1,-1\(gp\)
+[0-9a-f]+ <[^>]+> a63c c0fe 	lw	s1,-2\(gp\)
+[0-9a-f]+ <[^>]+> a63c c0fd 	lw	s1,-3\(gp\)
+[0-9a-f]+ <[^>]+> 863b 8000 	lw	s1,0\(k1\)
+[0-9a-f]+ <[^>]+> bd63      	movep	a1,a2,zero,zero
+[0-9a-f]+ <[^>]+> bc6b      	movep	a2,a3,zero,zero
+[0-9a-f]+ <[^>]+> bc63      	movep	a0,a1,zero,zero
+[0-9a-f]+ <[^>]+> bd63      	movep	a1,a2,zero,zero
+[0-9a-f]+ <[^>]+> bc6b      	movep	a2,a3,zero,zero
+[0-9a-f]+ <[^>]+> bc79      	movep	a2,a3,s1,zero
+[0-9a-f]+ <[^>]+> bc69      	movep	a2,a3,a5,zero
+[0-9a-f]+ <[^>]+> bc6a      	movep	a2,a3,a6,zero
+[0-9a-f]+ <[^>]+> bc78      	movep	a2,a3,s0,zero
+[0-9a-f]+ <[^>]+> bc7a      	movep	a2,a3,s2,zero
+[0-9a-f]+ <[^>]+> bc7b      	movep	a2,a3,s3,zero
+[0-9a-f]+ <[^>]+> bc7c      	movep	a2,a3,s4,zero
+[0-9a-f]+ <[^>]+> be3c      	movep	a2,a3,s4,s1
+[0-9a-f]+ <[^>]+> bc3c      	movep	a2,a3,s4,a5
+[0-9a-f]+ <[^>]+> bc5c      	movep	a2,a3,s4,a6
+[0-9a-f]+ <[^>]+> be1c      	movep	a2,a3,s4,s0
+[0-9a-f]+ <[^>]+> be5c      	movep	a2,a3,s4,s2
+[0-9a-f]+ <[^>]+> be7c      	movep	a2,a3,s4,s3
+[0-9a-f]+ <[^>]+> be9c      	movep	a2,a3,s4,s4
+[0-9a-f]+ <[^>]+> 8042 2fff 	andi	t4,t4,0xfff
+[0-9a-f]+ <[^>]+> 8043 f300 	ext	t4,t5,0,13
+[0-9a-f]+ <[^>]+> 8044 f340 	ext	t4,a0,0,14
+[0-9a-f]+ <[^>]+> 8045 f380 	ext	t4,a1,0,15
+[0-9a-f]+ <[^>]+> 8046 f3c0 	ext	t4,a2,0,16
+[0-9a-f]+ <[^>]+> 8047 f500 	ext	t4,a3,0,21
+[0-9a-f]+ <[^>]+> 8048 f540 	ext	t4,a4,0,22
+[0-9a-f]+ <[^>]+> 8049 f580 	ext	t4,a5,0,23
+[0-9a-f]+ <[^>]+> 8050 f5c0 	ext	t4,s0,0,24
+[0-9a-f]+ <[^>]+> 6040 0000 0000 	li	t4,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	test
+[0-9a-f]+ <[^>]+> 2000 0390 	dvp
+[0-9a-f]+ <[^>]+> 20a0 0390 	dvp	a1
+[0-9a-f]+ <[^>]+> 2000 0790 	evp
+[0-9a-f]+ <[^>]+> 20c0 0790 	evp	a2
+#pass
diff --git a/gas/testsuite/gas/nanomips/nanomips.exp b/gas/testsuite/gas/nanomips/nanomips.exp
new file mode 100644
index 00000000000..8f43014ef32
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/nanomips.exp
@@ -0,0 +1,557 @@
+# Copyright (C) 2017-2026 Free Software Foundation, CIP United Inc.
+# Contributed by MIPS Tech LLC.
+# Written by Faraz Shahbazker <[email protected]>
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  
+
+#
+# Some generic nanoMIPS tests
+#
+
+# When adding a new test to this file, try to do the following things:
+#
+# * If testing assembly and disassembly of code, don't forget to test
+# the actual bit encodings of the instructions (using the
+# --show-raw-insn flag to objdump). 
+#
+# * Try to run the test for as many architectures as appropriate,
+# using the "run_dump_test_arches" or "run_list_test_arches" functions,
+# along with the output from a call to "arch_list_matching."
+#
+# * Be sure to compare the test output before and after your testsuite
+# changes, to verify that existing and new tests were run as expected.
+# Look for expect ERROR messages in the testsuite .log file to make sure
+# the new expect code did not contain errors.
+
+# To add support for a new CPU to this file, add an appropriate entry
+# to the sequence of "arch_create" function calls below, and test
+# the result.  The new CPU should automatically be used when running
+# various tests.  If the new CPU is the default CPU for any tool
+# targets, make sure the call to "arch_create" reflects that fact.
+
+
+# The functions below create and manipulate an "architecture data
+# array" which contains entries for each nanoMIPS architecture (or CPU)
+# known to these tests.  The array contains the following information
+# for each architecture, indexed by the name of the architecture
+# described by the entry:
+#
+# displayname: The name of the entry to be used for pretty-printing.
+#
+# gprsize: The size in bits of General Purpose Registers provided by
+# the architecture (must be 32 or 64).
+#
+# props: A list of text strings which are associated with the
+# architecture.  These include the architecture name as well as
+# information about what instructions the CPU supports.  When matching
+# based on properties, an additional property is added to the normal
+# property list, "gpr<gprsize>" so that tests can match CPUs which
+# have GPRs of a specific size.
+#
+# as_flags: The assembler flags used when assembling tests for this
+# architecture.
+#
+# objdump_flags: The objdump flags used when disassembling tests for
+# this architecture.
+#
+# Most entries in the architecture array will have values in all of
+# the fields above.  One entry, "default" represents the default CPU
+# based on the target of the assembler being built.  If always has
+# empty "as_flags" and "objdump_flags."
+
+# arch_init
+#
+# This function initializes the architecture data array ("mips_arches")
+# to be empty.
+proc arch_init {} {
+    global nanomips_arches
+
+    # Catch because the variable won't be set the first time through.
+    catch {unset nanomips_arches}
+}
+
+# arch_create ARCH GPRSIZE EXTENDS PROPS AS_FLAGS OBJDUMP_FLAGS \
+#		   (optional:) DEFAULT_FOR_TARGETS
+#
+# This function creates a new entry in the architecture data array,
+# for the architecture or CPU named ARCH, and fills in the entry
+# according to the rest of the arguments.
+#
+# The new entry's property list is initialized to contain ARCH, any
+# properties specified by PROPS, and the properties associated with
+# the entry specified by EXTENDS.  (The new architecture is considered
+# to extend the capabilities provided by that architecture.)
+#
+# If DEFAULT_FOR_TARGETS is specified, it is a list of targets for which
+# this architecture is the default architecture.  If "istarget" returns
+# true for any of the targets in the list, a "default" entry will be
+# added to the architecture array which indicates that ARCH is the default
+# architecture.
+proc arch_create {arch gprsize extends props as_flags objdump_flags
+		       {default_for_targets {}}} {
+    global nanomips_arches
+
+    if { [info exists nanomips_arches($arch)] } {
+             error "arch_create: arch \"$arch\" already exists"
+    }
+    if { $gprsize != 32 && $gprsize != 64 } {
+	error "arch_create: invalid GPR size $gprsize"
+    }
+
+    set archdata(displayname) $arch
+    set archdata(gprsize) $gprsize
+    set archdata(as_flags) $as_flags
+    set archdata(objdump_flags) $objdump_flags
+    set archdata(props) $arch
+    eval lappend archdata(props) $props
+    if { [string length $extends] != 0 } {
+	eval lappend archdata(props) [nanomips_arch_properties $extends]
+    }
+
+    set nanomips_arches($arch) [array get archdata]
+
+    # Set as default if appropriate.
+    foreach target $default_for_targets {
+	if { [istarget $target] } {
+	    if { [info exists nanomips_arches(default)] } {
+		error "arch_create: default arch already exists"
+	    }
+
+	    set archdata(displayname) "default = $arch"
+    	    set archdata(as_flags) ""
+	    set archdata(objdump_flags) ""
+
+	    set nanomips_arches(default) [array get archdata]
+	    break
+	}
+    }
+}
+
+# nanomips_arch_destroy ARCH
+#
+# The opposite of the above.  This function removes an entry from
+# the architecture data array, for the architecture or CPU named ARCH.
+
+proc nanomips_arch_destroy {arch} {
+    global nanomips_arches
+
+    if { [info exists nanomips_arches($arch)] } {
+	unset nanomips_arches($arch)
+    }
+}
+
+# nanomips_arch_list_all
+#
+# This function returns the list of all names of entries in the
+# architecture data array (including the default entry, if a default
+# is known).
+proc nanomips_arch_list_all {} {
+    global nanomips_arches
+    return [lsort -dictionary [array names nanomips_arches]]
+}
+
+# nanomips_arch_data ARCH
+#
+# This function returns the information associated with ARCH
+# in the architecture data array, in "array get" form.
+proc nanomips_arch_data {arch} {
+    global nanomips_arches
+
+    if { ! [info exists nanomips_arches($arch)] } {
+	error "nanomips_arch_data: unknown arch \"$arch\""
+    }
+    return $nanomips_arches($arch)
+}
+
+# nanomips_arch_displayname ARCH
+#
+# This function returns the printable name associated with ARCH in
+# the architecture data array.
+proc nanomips_arch_displayname {arch} {
+    array set archdata [nanomips_arch_data $arch]
+    return $archdata(displayname)
+}
+
+# nanomips_arch_properties ARCH (optional:) INCLUDE_GPRSIZE
+#
+# This function returns the property list associated with ARCH in the
+# architecture data array, including the "canonical" target name as the
+# first element.
+
+proc nanomips_arch_properties {arch} {
+    array set archdata [nanomips_arch_data $arch]
+    set props $archdata(props)
+    return $props
+}
+
+# nanomips_arch_as_flags ARCH
+#
+# This function returns the assembler flags associated with ARCH in
+# the architecture data array. 
+proc nanomips_arch_as_flags {arch} {
+    array set archdata [nanomips_arch_data $arch]
+    return $archdata(as_flags)
+}
+
+# nanomips_arch_objdump_flags ARCH
+#
+# This function returns the objdump disassembly flags associated with
+# ARCH in the architecture data array. 
+proc nanomips_arch_objdump_flags {arch} {
+    array set archdata [nanomips_arch_data $arch]
+    return $archdata(objdump_flags)
+}
+
+# nanomips_arch_matches ARCH PROPMATCHLIST
+#
+# This function returns non-zero if ARCH matches the set of properties
+# described by PROPMATCHLIST.  Each entry in PROPMATCHLIST can either
+# be the name of a property which must be matched, or "!" followed by
+# the name of a property which must not be matched.  ARCH matches
+# PROPMATCHLIST if and only if all of the conditions specified by
+# PROPMATCHLIST are satisfied.
+proc nanomips_arch_matches {arch propmatchlist} {
+    foreach pm $propmatchlist {
+	if { [string match {!*} $pm] } {
+	    # fail if present.
+	    set inverted 1
+	    set p [string range $pm 1 end]
+	} {
+	    # fail if not present.
+	    set inverted 0
+	    set p $pm
+	}
+
+	set loc [lsearch -exact [nanomips_arch_properties $arch] $p]
+
+	# required-absent and found, or required-present and not found: fail.
+	if { ($inverted && $loc != -1) || (! $inverted && $loc == -1) } {
+	    return 0
+	}
+    }
+    return 1
+}
+
+# arch_list_matching ARGS
+#
+# This function returns a list of all architectures which match
+# the conditions described by its arguments.  Its arguments are
+# taken as a list and used as the PROPMATCHLIST in a call to
+# "mips_arch_matches" for each known architecture.
+proc arch_list_matching {args} {
+    set l ""
+    foreach arch [nanomips_arch_list_all] {
+	# For now, don't match default arch until we know what its
+	# properties actually are.
+	if { [string compare $arch default] == 0
+	     && [string length [nanomips_arch_properties default]] == 0} {
+	    continue
+	}
+	if { [nanomips_arch_matches $arch $args] } {
+	    lappend l $arch
+	}
+    }
+    return $l
+}
+
+
+# The functions below facilitate running various types of tests.
+
+# run_dump_test_arch NAME OPTS ARCH
+#
+# Invoke "run_dump_test" for test NAME with additional assembler options OPTS.
+# Add the assembler and disassembler flags that are associated with
+# architecture ARCH.
+#
+# You can override the expected output for particular architectures.
+# The possible test names are, in order of preference:
+#
+# 1. [email protected]
+# 2. NAME.d
+#
+# where CARCH is the "canonical" name of architecture ARCH as recorded
+# in its associated property list.
+proc run_dump_test_arch { name opts arch } {
+    global subdir srcdir
+
+    set proparch [lindex [nanomips_arch_properties $arch] 0]
+    set prefixes [list ${proparch}@ ]
+
+    if { [ string match "nanomips32s" $arch ]
+	 || [ string match "nanomips32r6s" $arch ] } {
+	lappend prefixes nms@
+    }
+
+    foreach prefix ${prefixes} {
+	set archname ${prefix}${name}
+	if { [file exists "$srcdir/$subdir/${archname}.d"] } {
+	    set name $archname
+	    break
+	}
+    }
+
+    if [catch {run_dump_test $name \
+		   "{name    {([concat $opts [nanomips_arch_displayname $arch]])}}
+		    {objdump {[nanomips_arch_objdump_flags $arch]}}
+		    {as      {[concat $opts [nanomips_arch_as_flags $arch]]}}"} rv] {
+        perror "$rv"
+        untested "$subdir/$name ($arch)"
+    }
+}
+
+# run_dump_test_arches NAME [OPTS] ARCH_LIST
+#
+# Invoke "run_dump_test_arch" for test NAME, for each architecture
+# listed in ARCH_LIST.  OPTS, if specified, is a list of additional
+# assembler options that should be used for all architectures.
+proc run_dump_test_arches { name args } {
+    set opts ""
+    if { [llength $args] > 1 } {
+	set opts [lindex $args 0]
+	set args [lrange $args 1 end]
+    }
+    set arch_list [lindex $args 0]
+    foreach arch $arch_list {
+	run_dump_test_arch $name $opts $arch
+    }
+}
+
+# run_list_test_arch NAME OPTS ARCH
+#
+# Invoke "run_list_test" for test NAME with additional assembler options OPTS.
+# Add the assembler flags that are associated with architecture ARCH.
+proc run_list_test_arch { name opts arch } {
+    global subdir srcdir
+
+    set testname "nanoMIPS $name ([concat $opts [nanomips_arch_displayname $arch]])"
+    set proparch [lindex [nanomips_arch_properties $arch] 0]
+    set prefixes [list ${proparch}@ ]
+    if { [ string match "nanomips32s" $arch ]
+	 || [ string match "nanomips32r6s" $arch] } {
+	lappend prefixes nms@
+    }
+
+    verbose "run_list_test_arch $prefixes"
+    foreach prefix ${prefixes} {
+	set archname ${prefix}${name}
+	verbose "Checking $archname"
+	if { [file exists "$srcdir/$subdir/${archname}.l"] } {
+	    set name $archname
+	    break
+	}
+    }
+
+    if [catch {run_list_test \
+		   $name \
+		   [concat $opts [nanomips_arch_as_flags $arch]] \
+		   $testname} rv] {
+        perror "$rv"
+        untested "$testname"
+    }
+}
+
+# run_list_test_arches NAME [OPTS] ARCH_LIST
+#
+# Invoke "run_list_test_arch" for test NAME, for each architecture listed
+# in ARCH_LIST.  OPTS, if specified, is a list of additional assembler
+# options that should be used for all architectures.
+proc run_list_test_arches { name args } {
+    set opts ""
+    if { [llength $args] > 1 } {
+	set opts [lindex $args 0]
+	set args [lrange $args 1 end]
+    }
+    set arch_list [lindex $args 0]
+    foreach arch $arch_list {
+	run_list_test_arch "$name" "$opts" "$arch"
+    }
+}
+
+# run_dump_test_opts NAME OPTS_LIST ARCH_LIST
+#
+# Invoke "run_dump_test_arch" for test NAME, for each architecture
+# listed in ARCH_LIST and each option listed in OPTS_LIST.
+proc run_dump_test_opts { name opts_list arch_list } {
+    foreach opts $opts_list {
+	foreach arch $arch_list {
+	    run_dump_test_arch $name $opts $arch
+	}
+    }
+}
+
+# run_list_test_opts NAME OPTS_LIST ARCH_LIST
+#
+# Invoke "run_list_test_arch" for test NAME, for each architecture
+# listed in ARCH_LIST and each option listed in OPTS_LIST.
+proc run_list_test_opts { name opts_list arch_list } {
+    foreach opts $opts_list {
+	foreach arch $arch_list {
+	    run_list_test_arch "$name" "$opts" "$arch"
+	}
+    }
+}
+
+# Create the architecture data array by providing data for all
+# known architectures.
+#
+# Note that several targets pick default CPU based on ABI.  We
+# can't easily handle that; do NOT list those targets as defaulting
+# to any architecture.
+arch_init
+arch_create nanomips32r6 32	{} \
+			{ nanomipsr6 } \
+			{ -march=32r6 --defsym nanomips= -mlegacyregs } {}
+arch_create nanomips32r6s 32	{} \
+			{} \
+			{ -march=32r6s --defsym nanomips= -mlegacyregs } {}
+arch_create nanomips64r6 64	{}  \
+			{ nanomips32r6 nanomipsr6 } \
+			{ -march=64r6 --defsym nanomips= -mlegacyregs } {}
+arch_create nanomips32 32	{} \
+			{ nanomips xnms } \
+			{ -march=32r6 --defsym nanomips= } {}
+arch_create nanomips32s 32	{} \
+			{ nanomips } \
+			{ -march=32r6s --defsym nanomips= } {}
+arch_create nanomips64 64	{} \
+			{ nanomips xnms } \
+			{ -march=64r6 --defsym nanomips= } {}
+#
+# And now begin the actual tests!  VxWorks uses RELA rather than REL
+# relocations, so most of the generic dump tests will not work there.
+#
+if { [istarget nanomips*-*-*] } {
+    set addr32 0
+    set has_newabi [expr [istarget nanomips*-*-linux*] \
+			|| [istarget nanomips*-*-elf*]]
+
+    if { [istarget "nanomips*-*-*linux*"]
+	 || [istarget "nanomips*-*-elf*"]
+	 || [istarget "nanomips*-*-*bsd*"] } then {
+	set tmips "t"
+    } else {
+	set tmips ""
+    }
+    if {[istarget "nanomips-*-*"] || [istarget "nanomipsel*-*-*"] } {
+	set el "el"
+    } {
+	set el ""
+    }
+
+    run_dump_test_arch "abi32" "-mlegacyregs" nanomips32s
+    run_dump_test_arches "abs"		[arch_list_matching nanomipsr6]
+    run_dump_test_arches "add"		[arch_list_matching nanomipsr6]
+    run_dump_test_arch "addu" "" nanomips32r6s
+
+    run_dump_test_arches "aent"		[arch_list_matching nanomipsr6]
+
+    run_dump_test_arch "and" "" nanomips32r6s
+
+    run_list_test_arches "baddata1" ""	[arch_list_matching nanomips]
+    run_dump_test_arch "beq" "" nanomips32r6s
+    run_dump_test_arch "bge" "" nanomips32r6s
+    run_dump_test_arch "bgeu" "" nanomips32r6s
+    run_dump_test_arch "blt" "" nanomips32r6s
+    run_dump_test_arch "bltu" "" nanomips32r6s
+
+    run_dump_test_arch "cp0-names-numeric" "" nanomips32r6
+    run_dump_test_arch "cp0-names" "" nanomips32r6
+
+    run_dump_test_arch "cp0sel-names-numeric" "" nanomips32r6
+    run_dump_test_arch "cp0sel-names" "" nanomips32r6
+
+    run_dump_test_arch "ctc" "" nanomips32
+
+    run_dump_test_arches "debug-dis" [arch_list_matching nanomips]
+    run_dump_test_arch "div" "" nanomips32r6
+
+    run_dump_test_arch "expr1" "" nanomips32r6
+    run_dump_test_arch "expr-const" "-EB" nanomips32r6
+    run_dump_test_arch "expr-sym" "-EB" nanomips32r6
+    run_list_test_arches "expr-ill"	[arch_list_matching nanomips]
+    run_dump_test_arches "expr-vol"	[arch_list_matching nanomips]
+ 
+    run_dump_test_arch "gpr-names-numeric" "" nanomips32r6
+    run_dump_test_arch "gpr-names" "" nanomips32r6
+
+    run_list_test_arch "insn-suffix-error" "" nanomips32
+    run_list_test_arches "isa-errors" "" [arch_list_matching nanomips]
+
+    run_dump_test_arches "jal"		[arch_list_matching nanomipsr6]
+
+    run_dump_test_arch "la-pic" "" nanomips32r6s
+    run_dump_test_arches "la-pic-mclarge" "-mlegacyregs" \
+					[arch_list_matching nanomips]
+    run_dump_test_arches "la-lpic-mclarge" "-mlegacyregs" \
+					[arch_list_matching nanomips]
+    run_dump_test_arches "la-lpic-mcmedium" "-mlegacyregs" \
+					[arch_list_matching nanomips]
+    run_dump_test_opts "la" \
+	{"-mlegacyregs" "-mlegacyregs --defsym mc_medium="} \
+					[arch_list_matching nanomips]
+    run_dump_test_opts "la-pcrel" {"" "--defsym mc_medium="} \
+					[arch_list_matching nanomips]
+    run_dump_test_arches "la-mclarge" "-mlegacyregs --defsym mc_large=" \
+					[arch_list_matching nanomips]
+    run_dump_test_arches "la-mclarge-pcrel" "--defsym mc_large=" \
+					[arch_list_matching nanomips]
+
+    run_dump_test_arches "lb"		[arch_list_matching nanomipsr6]
+
+    run_dump_test_arch "ld"		"" nanomips32r6
+    run_dump_test_arch "ld-reloc"	"-mlegacyregs" nanomips32s
+
+    run_dump_test_arch "li" "-mlegacyregs" nanomips32s
+    run_dump_test_arch "lifloat" "" nanomips32r6
+    run_dump_test_arch "lifloat-nms" "" nanomips32r6s
+    run_dump_test_arch "lifloat-mem" "" nanomips32r6
+
+    run_dump_test_arch "lif-pic" "" nanomips32r6
+    run_dump_test_arch "lif-pic" "" nanomips32r6s
+    run_dump_test_arch "lineno" "" nanomips32r6
+    run_dump_test_arches "linkrelax" "-mlegacyregs" [arch_list_matching nanomips]
+    run_dump_test_arches "linkrelax-relocs" "-mlegacyregs" [arch_list_matching nanomips]
+    run_dump_test_arch "linkrelax-dis" "" nanomips32
+
+    run_list_test_arch "mcmodel" "" nanomips32
+    run_list_test_arch "mcmodel-err" "" nanomips32
+
+    # tests of objdump's ability to disassemble the move mnemonic
+    run_dump_test_arches "move"		[arch_list_matching nanomipsr6]
+    run_dump_test_arches "mt-ase" "-mmt" [arch_list_matching nanomipsr6]
+
+    run_dump_test_arches "mvh"		[arch_list_matching nanomipsr6]
+
+    # FIXME: repeat with traps, insn32, noinsn32
+    run_dump_test_arches "nanomips"	[arch_list_matching xnms]
+    run_dump_test_arches "nanomips32"	[arch_list_matching xnms]
+    run_list_test_arches "nanomips-error" "-mlegacyregs" [arch_list_matching xnms]
+    run_dump_test_arch "nanomips-exc32" "--defsym insn32_broken=" nanomips32
+    run_dump_test_arch "nanomips-exc-noalias" "" nanomips32
+    run_dump_test_arch "nanomips-subset" "" nanomips32s
+
+    run_dump_test_arches "nolinkrelax"  "-mlegacyregs" \
+					[arch_list_matching nanomips]
+    run_dump_test_arches "nolinkrelax-relocs" "-mlegacyregs" \
+					[arch_list_matching nanomips]
+
+    run_dump_test_arches "rol"		[arch_list_matching nanomipsr6]
+
+    run_dump_test_arch "save" "" nanomips32
+    run_list_test_arch "save-error" "" nanomips32
+    run_list_test_arch "save-error" "" nanomips32s
+    run_dump_test_arch "save-relocs" "" nanomips32
+    run_dump_test_arch "sb" "" nanomips32r6
+}
diff --git a/gas/testsuite/gas/nanomips/nanomips.l b/gas/testsuite/gas/nanomips/nanomips.l
new file mode 100644
index 00000000000..4c68abab824
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/nanomips.l
@@ -0,0 +1,10 @@
+.*.s: Assembler messages:
+.*.s:493: Warning: divide by zero
+.*.s:506: Warning: divide by zero
+.*.s:1103: Warning: divide by zero
+.*.s:1763: Warning: branch bge is always true
+.*.s:1775: Warning: branch bgeu is always true
+.*.s:1847: Warning: branch ble is always true
+.*.s:1862: Warning: branch bleu is always true
+.*.s:1868: Warning: branch bleu is always true
+.*.s:1871: Warning: branch bleu is always true
diff --git a/gas/testsuite/gas/nanomips/nanomips.s b/gas/testsuite/gas/nanomips/nanomips.s
new file mode 100644
index 00000000000..5fa026ea7c5
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/nanomips.s
@@ -0,0 +1,2034 @@
+	.text
+	.align	3
+	.ent	test
+	.globl	test
+test:
+	pref	0, 0
+	pref	0, 2047
+	pref	0, -2048
+	pref	0, 2048
+	pref	0, -2049
+	pref	0, ($zero)
+	pref	0, 0($zero)
+	pref	1, 0($zero)
+	pref	2, 0($zero)
+	pref	3, 0($zero)
+	pref	4, 0($zero)
+	pref	5, 0($zero)
+	pref	6, 0($zero)
+	pref	7, 0($zero)
+	pref	7, 511($zero)
+	pref	7, -512($zero)
+	pref	3, 32767($zero)
+	pref	3, -32768($zero)
+
+	pref	3, 32767($t4)
+	pref	3, -32768($t4)
+
+	nop
+	.ifndef	insn32
+	nop16
+	.endif
+	nop32
+	ehb
+	pause
+
+	li	$s2, -1
+	li	$s3, -1
+	li	$a0, -1
+	li	$a1, -1
+	li	$a2, -1
+	li	$a3, -1
+	li	$s0, -1
+	li	$s1, -1
+	li	$s1, 0
+	li	$s1, 125
+	li	$s1, 126
+	li	$s1, 127
+	li	$t0, 0
+	li	$t9, 0
+
+	li32	$t4, 0
+	li32	$t4, 1
+	li	$t4, 32767
+	li	$t4, -32768
+	li	$t4, 65535
+
+	li	$t4, 65536
+	li	$t4, 0xffff8000
+	li	$t4, 0xffff8001
+	li	$t4, 0xffffffff
+	li	$t4, 0x12345678
+	li	$t5, 0xffffffff
+	li	$a0, 0xffffffff
+
+	move	$zero, $s6
+	move	$t4, $s6
+	move	$t5, $s6
+	move	$a0, $s6
+	move	$a1, $s6
+	move	$a2, $s6
+	move	$a3, $s6
+	move	$a4, $s6
+	move	$a5, $s6
+	move	$a6, $s6
+	move	$fp, $s6
+	move	$ra, $s6
+	move	$zero, $zero
+	move	$zero, $t4
+	move	$zero, $t5
+	move	$zero, $a0
+	move	$zero, $a1
+	move	$zero, $a2
+	move	$zero, $a3
+	move	$zero, $a4
+	move	$zero, $a5
+	move	$zero, $a6
+	move	$zero, $fp
+	move	$zero, $ra
+
+	move	$s6, $t4
+	.ifndef	insn32
+	move16	$t4, $s6
+	move16	$s6, $t4
+	.endif
+
+	move32	$t4, $s6
+	move32	$s6, $t4
+
+	b	test
+	.ifndef	insn32
+	b16	test
+	.endif
+	b32	test
+	b	1f
+	.ifndef	insn32
+	b16	1f
+	.endif
+	b32	1f
+1:
+	b	1b
+	.ifndef	insn32
+	b16	1b
+	.endif
+	b32	1b
+
+	abs	$t4, $t5
+	abs	$t4, $a0
+	abs	$t4, $t4
+	abs	$t4
+
+	add	$t4, $t5, $a0
+	add	$sp, $fp, $ra
+	add	$t4, $t4, $a0
+	add	$t4, $a0
+	
+	add	$t4, $t4, 0
+	add	$t4, $t4, 1
+	add	$t4, $t4, 32767
+	add	$t4, $t4, -32768
+	add	$t4, $t4, 65535
+	
+	addi	$t5, $a0, -32768
+	addi	$t5, $a0, 0
+	addi	$t5, $a0, 32767
+	addi	$t5, $a0, 65535
+	addi	$t5, $t5, 65535
+	addi	$t5, 65535
+	
+	addiu	$zero, -8
+	addiu	$t4, -8
+	addiu	$t5, -8
+	addiu	$a0, -8
+	addiu	$a1, -8
+	addiu	$a2, -8
+	addiu	$a3, -8
+	addiu	$a4, -8
+	addiu	$a5, -8
+	addiu	$a6, -8
+	addiu	$fp, -8
+	addiu	$ra, -8
+	addiu	$ra, -7
+	addiu	$ra, 0
+	addiu	$ra, 1
+	addiu	$ra, 6
+	addiu	$ra, 7
+	addiu	$ra, 8
+	addiu	$sp, -258 << 2
+	addiu	$sp, -257 << 2
+	addiu	$sp, -256 << 2
+	addiu	$sp, 255 << 2
+	addiu	$sp, 256 << 2
+	addiu	$sp, 257 << 2
+	addiu	$sp, $sp, 257 << 2
+	addiu	$sp, $sp, 258 << 2
+
+	addiu	$t4, $t4, -1
+	addiu	$t4, $t5, -1
+	addiu	$t4, $a0, -1
+	addiu	$t4, $a1, -1
+	addiu	$t4, $a2, -1
+	addiu	$t4, $a3, -1
+	addiu	$t4, $s0, -1
+	addiu	$t4, $s1, -1
+	addiu	$t4, $s1, 1
+	addiu	$s2, $s1, 4
+	addiu	$s2, $s1, 8
+	addiu	$s2, $s1, 12
+	addiu	$s2, $s1, 16
+	addiu	$s2, $s1, 20
+	addiu	$s2, $s1, 24
+	addiu	$s3, $s1, 24
+	addiu	$a0, $s1, 24
+	addiu	$a1, $s1, 24
+	addiu	$a2, $s1, 24
+	addiu	$a3, $s1, 24
+	addiu	$s0, $s1, 24
+	addiu	$s1, $s1, 24
+
+	addiu	$s2, $sp, 0 << 2
+	addiu	$s2, $sp, 1 << 2
+	addiu	$s2, $sp, 62 << 2
+	addiu	$s2, $sp, 63 << 2
+	addiu	$t4, $sp, 64 << 2
+	addiu	$s2, $sp, 63 << 2
+	addiu	$s3, $sp, 63 << 2
+	addiu	$a0, $sp, 63 << 2
+	addiu	$a1, $sp, 63 << 2
+	addiu	$a2, $sp, 63 << 2
+	addiu	$a3, $sp, 63 << 2
+	addiu	$s0, $sp, 63 << 2
+	addiu	$s1, $sp, 63 << 2
+
+	addiu	$t5, $a0, -4095
+	addiu	$s3, $a0, 0
+	addiu	$t5, $a0, 8191
+
+	addiu	$t5, $a0, 16383 
+	addiu	$t5, $t5, 16383
+	addiu	$t5, 16383
+
+	addu	$t4, $s6, $zero
+	addu	$s6, $t4, $zero
+	addu	$t4, $zero, $s6
+	addu	$s6, $zero, $t4
+
+	addu	$s2, $s3, $s2
+	addu	$s2, $s3, $s3
+	addu	$s2, $s3, $a0
+	addu	$s2, $s3, $a1
+	addu	$s2, $s3, $a2
+	addu	$s2, $s3, $a3
+	addu	$s2, $s3, $s0
+	addu	$s2, $s3, $s1
+
+	addu	$s2, $s2, $s1
+	addu	$s2, $s3, $s1
+	addu	$s2, $a0, $s1
+	addu	$s2, $a1, $s1
+	addu	$s2, $a2, $s1
+	addu	$s2, $a3, $s1
+	addu	$s2, $s0, $s1
+	addu	$s2, $s1, $s1
+
+	addu	$s2, $s2, $s1
+	addu	$s3, $s2, $s1
+	addu	$a0, $s2, $s1
+	addu	$a1, $s2, $s1
+	addu	$a2, $s2, $s1
+	addu	$a3, $s2, $s1
+	addu	$s0, $s2, $s1
+	addu	$s1, $s2, $s1
+
+	addu	$a3, $a3, $s2
+	addu	$a3, $s2
+	addu	$a3, $s2, $a3
+
+	addu	$sp, $fp, $ra
+	addu	$t4, $t4, 0
+	addu	$t4, $t4, 1
+	addu	$t4, $t4, 32767
+	addu	$t4, $t4, -32768
+	addu	$t4, $t4, 65535
+
+	and	$s2, $s2
+	and	$s2, $s3
+	and	$s2, $a0
+	and	$s2, $a1
+	and	$s2, $a2
+	and	$s2, $a3
+	and	$s2, $s0
+	and	$s2, $s1
+	and	$s3, $s2
+	and	$a0, $s2
+	and	$a1, $s2
+	and	$a2, $s2
+	and	$a3, $s2
+	and	$s0, $s2
+	and	$s1, $s2
+
+	and	$s2, $s3
+	and	$s2, $s2, $s3
+	and	$s2, $s3, $s2
+	.ifndef	insn32
+	and16	$s2, $s2, $s3
+	.endif
+	and32	$t4, $t4, $t5
+
+	andi	$s2,$s2,1
+	andi	$s2,$s2,2
+	andi	$s2,$s2,3
+	andi	$s2,$s2,4
+	andi	$s2,$s2,7
+	andi	$s2,$s2,8
+	andi	$s2,$s2,15
+	andi	$t4,$t4,16
+	andi	$t4,$t4,31
+	andi	$t4,$t4,32
+	andi	$t4,$t4,63
+	andi	$t4,$t4,64
+	andi	$t4,$t4,128
+	andi	$s2,$s2,255
+	andi	$t4,$t4,4095
+	andi	$s2,$s2,65535
+	andi	$s2,$s3,65535
+	andi	$s2,$a0,65535
+	andi	$s2,$a1,65535
+	andi	$s2,$a2,65535
+	andi	$s2,$a3,65535
+	andi	$s2,$s0,65535
+	andi	$s2,$s1,65535
+	andi	$s3,$s1,65535
+	andi	$a0,$s1,65535
+	andi	$a1,$s1,65535
+	andi	$a2,$s1,65535
+	andi	$a3,$s1,65535
+	andi	$s0,$s1,65535
+	andi	$s1,$s1,65535
+
+	andi	$a3,$a3,65535
+
+	andi	$a3,65535
+	.ifndef	insn32
+	andi16	$a3,65535
+	.endif
+
+	and32	$t4, $t5, $a0
+	and32	$t4, $t4, $a0
+	and32	$t4, $a0
+	and	$t4, $t5, 0
+	and	$t4, $t5, 4095
+	and	$t4, $t5, 4096
+	and	$t4, $t5, 0xffff0001
+
+test2:
+	beqz	$s2, test2
+	beqz	$s3, test2
+	beqz	$a0, test2
+	beqz	$a1, test2
+	beqz	$a2, test2
+	beqz	$a3, test2
+	beqz	$s0, test2
+	beqz	$s1, test2
+	beq	$s2, $zero, test2
+	beq	$s3, $zero, test2
+	beq	$a0, $zero, test2
+	beq	$a1, $zero, test2
+	beq	$a2, $zero, test2
+	beq	$a3, $zero, test2
+	beq	$s0, $zero, test2
+	beq	$s1, $zero, test2
+	beq	$zero, $s2, test2
+	beq	$zero, $s3, test2
+	beq	$zero, $a0, test2
+	beq	$zero, $a1, test2
+	beq	$zero, $a2, test2
+	beq	$zero, $a3, test2
+	beq	$zero, $s0, test2
+	beq	$zero, $s1, test2
+
+	.ifndef	insn32
+	beqz16	$s0, test2
+	.endif
+	beqz32	$s0, test2
+	beqz	$s1, test2
+	beqz32	$s1, test2
+
+	beqzc	$s1, test2
+
+	beq	$s0, 0, test2
+	beq	$s0, 10, test2
+	beq	$s0, 32767, test2
+	beq	$s0, 65536, test2
+
+	bnez	$s2, test3
+	bnez	$s3, test3
+	bnez	$a0, test3
+	bnez	$a1, test3
+	bnez	$a2, test3
+	bnez	$a3, test3
+	bnez	$s0, test3
+	bnez	$s1, test3
+	bne	$s2, $zero, test3
+	bne	$s3, $zero, test3
+	bne	$a0, $zero, test3
+	bne	$a1, $zero, test3
+	bne	$a2, $zero, test3
+	bne	$a3, $zero, test3
+	bne	$s0, $zero, test3
+	bne	$s1, $zero, test3
+	bne	$zero, $s2, test3
+	bne	$zero, $s3, test3
+	bne	$zero, $a0, test3
+	bne	$zero, $a1, test3
+	bne	$zero, $a2, test3
+	bne	$zero, $a3, test3
+	bne	$zero, $s0, test3
+	bne	$zero, $s1, test3
+
+	.ifndef	insn32
+	bnez16	$s0, test3
+	.endif
+	bnez32	$s0, test3
+	bnez	$s1, test2
+	bnez32	$s1, test2
+test3:
+	bnezc	$s1, test2
+
+	break
+	break	0
+	break	1
+	break	2
+	break	3
+	break	4
+	break	5
+	break	6
+	break	7
+	break	8
+	break	9
+	break	10
+	break	11
+	break	12
+	break	13
+	break	14
+	break	15
+	break	63
+	break	64
+	break	1023
+	break32
+	
+	break32	0
+	break32	1
+	break32	2
+	break32	15
+	break32	63
+	break32	64
+	break32	1023
+	cache	0, 0
+	cache	0, -2048
+	cache	0, 2047
+	cache	0, -2049
+	cache	0, 2048
+	cache	0, 0($t4)
+	cache	0, -2048($t4)
+	cache	0, 2047($t4)
+	cache	0, -2049($t4)
+	cache	0, 2048($t4)
+
+	cache	0, ($zero)
+	cache	0, 0($zero)
+	cache	1, 0($zero)
+	cache	2, 0($zero)
+	cache	3, 0($zero)
+	cache	4, 0($zero)
+	cache	5, 0($zero)
+	cache	6, 0($zero)
+	cache	31, 0($zero)
+	cache	31, 2047($zero)
+	cache	31, -2048($zero)
+	cache	0, 2047($zero)
+	cache	0, -2048($zero)
+
+	cache	31, 65536($t5)
+	cache	31, 2048($t5)
+	cache	31, -2049($t5)
+	cache	31, 65537($t5)
+	cache	31, 0xffffffff($t5)
+	cache	31, 0xffff0000($t5)
+	cache	31, 0xffff0001($t5)
+	cache	31, 0xffff($t5)
+
+	cache	31, 65536($zero)
+	cache	31, 2048($zero)
+	cache	31, -2049($zero)
+	cache	31, 65537($zero)
+	cache	31, 0xffffffff($zero)
+	cache	31, 0xffff0000($zero)
+	cache	31, 0xffff0001($zero)
+	cache	31, 0xffff($zero)
+
+
+	clo	$t4, $t5
+	clo	$t5, $t4
+	clz	$t4, $t5
+	clz	$t5, $t4
+
+	deret
+	di
+
+	di	$zero
+	di	$t4
+	di	$t5
+	di	$fp
+	di	$ra
+
+	div	$zero, $t4, $t5
+	div	$zero, $fp, $ra
+	div	$zero, $t5
+	div	$zero, $ra
+
+	div	$t4, $t5, $zero
+	div	$t4, $t5, $a0
+
+	div	$t5, $a0, 0
+	div	$t5, $a0, 1
+	div	$t5, $a0, -1
+	div	$t5, $a0, 2
+
+	divu	$zero, $t4, $t5
+	divu	$zero, $fp, $ra
+	divu	$zero, $t5
+	divu	$zero, $ra
+
+	divu	$t4, $t5, $zero
+	divu	$t4, $t5, $a0
+
+	divu	$t5, $a0, 0
+	divu	$t5, $a0, 1
+	divu	$t5, $a0, -1
+	divu	$t5, $a0, 2
+
+	ei
+	ei	$zero
+	ei	$t4
+	ei	$t5
+	ei	$fp
+	ei	$ra
+
+	eret
+
+	ext	$t4, $t5, 5, 15
+	ext	$t4, $t5, 0, 32
+	ext	$t4, $t5, 31, 1
+	ext	$ra, $fp, 31, 1
+
+	ins	$t4, $t5, 5, 15
+	ins	$t4, $t5, 0, 32
+	ins	$t4, $t5, 31, 1
+	ins	$ra, $fp, 31, 1
+
+	jr	$zero
+	jr	$t4
+	jr	$t5
+	jr	$a0
+	jr	$a1
+	jr	$a2
+	jr	$a3
+	jr	$a4
+	jr	$fp
+	jr	$ra
+
+	jr32	$zero
+	jr32	$t4
+	jr32	$t5
+	jr32	$a0
+	jr32	$a1
+	jr32	$a2
+	jr32	$a3
+	jr32	$a4
+	jr32	$fp
+	jr32	$ra
+
+	jrc	$zero
+	jrc	$t4
+	jrc	$t5
+	jrc	$a0
+	jrc	$a1
+	jrc	$a2
+	jrc	$a3
+	jrc	$a4
+	jrc	$fp
+	jrc	$ra
+
+	jr.hb	$zero
+	jr.hb	$t4
+	jr.hb	$t5
+	jr.hb	$a0
+	jr.hb	$a1
+	jr.hb	$a2
+	jr.hb	$a3
+	jr.hb	$a4
+	jr.hb	$fp
+	jr.hb	$ra
+
+	j	$zero
+	j	$t4
+	j	$t5
+	j	$a0
+	j	$a1
+	j	$a2
+	j	$a3
+	j	$a4
+	j	$fp
+	j	$ra
+
+	jalrc	$ra, $zero
+	jalrc	$t4
+	jalrc	$t5
+	jalrc	$a0
+	jalrc	$a1
+	jalrc	$a2
+	jalrc	$a3
+	jalrc	$a4
+	jalrc	$fp
+
+	jalrc32	$ra, $zero
+
+	jalrc32	$t4
+	jalrc32	$t5
+	jalrc32	$a0
+	jalrc32	$a1
+	jalrc32	$a2
+	jalrc32	$a3
+	jalrc32	$a4
+	jalrc32	$fp
+
+	jalrc	$ra, $zero
+	jalrc	$ra, $t4
+	jalrc	$ra, $t5
+	jalrc	$ra, $a0
+	jalrc	$ra, $a1
+	jalrc	$ra, $a2
+	jalrc	$ra, $a3
+	jalrc	$ra, $a4
+	jalrc	$ra, $fp
+	jalrc	$fp, $ra
+
+	jalrc	$t4, $zero
+	jalrc	$t5, $t4
+	jalrc	$t4, $t5
+	jalrc	$t4, $a0
+	jalrc	$t4, $a1
+	jalrc	$t4, $a2
+	jalrc	$t4, $a3
+	jalrc	$t4, $a4
+	jalrc	$t4, $fp
+	jalrc	$t4, $ra
+
+	jalrc.hb	$ra, $zero
+	jalrc.hb	$t4
+	jalrc.hb	$t5
+	jalrc.hb	$a0
+	jalrc.hb	$a1
+	jalrc.hb	$a2
+	jalrc.hb	$a3
+	jalrc.hb	$a4
+	jalrc.hb	$fp
+
+	jalrc.hb	$ra, $zero
+	jalrc.hb	$ra, $t4
+	jalrc.hb	$ra, $t5
+	jalrc.hb	$ra, $a0
+	jalrc.hb	$ra, $a1
+	jalrc.hb	$ra, $a2
+	jalrc.hb	$ra, $a3
+	jalrc.hb	$ra, $a4
+	jalrc.hb	$ra, $fp
+	jalrc.hb	$fp, $ra
+
+	jalrc.hb	$t4, $zero
+	jalrc.hb	$t5, $t4
+	jalrc.hb	$t4, $t5
+	jalrc.hb	$t4, $a0
+	jalrc.hb	$t4, $a1
+	jalrc.hb	$t4, $a2
+	jalrc.hb	$t4, $a3
+	jalrc.hb	$t4, $a4
+	jalrc.hb	$t4, $fp
+	jalrc.hb	$t4, $ra
+
+	jal	$t4, $t5
+	jal	$fp, $ra
+
+	jal	$t5
+	jal	$ra
+
+	jal	test
+	jal	test2
+	la	$t4, test
+	lb	$t5, 0
+	lb	$t5, 4
+	lb	$t5, 0($zero)
+	lb	$t5, 4($zero)
+	lb	$t5, 32767($zero)
+	lb	$t5, -32768($zero)
+	lb	$t5, 65535($zero)
+	lb	$t5, 0xffff0000($zero)
+	lb	$t5, 0xffff8000($zero)
+	lb	$t5, 0xffff0001($zero)
+	lb	$t5, 0xffff8001($zero)
+	lb	$t5, 0xf0000000($zero)
+	lb	$t5, 0xffffffff($zero)
+	lb	$t5, 0x12345678($zero)
+	lb	$s3, ($a0)
+	lb	$s3, 0($a0)
+	lb	$t5, 4($a0)
+	lb	$t5, 32767($a0)
+	lb	$t5, -32768($a0)
+	lb	$t5, 65535($a0)
+	lb	$t5, 0xffff0000($a0)
+	lb	$t5, 0xffff8000($a0)
+	lb	$t5, 0xffff0001($a0)
+	lb	$t5, 0xffff8001($a0)
+	lb	$t5, 0xf0000000($a0)
+	lb	$t5, 0xffffffff($a0)
+	lb	$t5, 0x12345678($a0)
+
+	lbu	$t4, -1($t5)
+	lbu	$s2, 0($s3)
+	lbu	$s2, ($s3)
+	lbu	$s2, 1($s3)
+	lbu	$s2, 2($s3)
+	lbu	$s2, 3($s3)
+	lbu	$t4, 4($t5)
+	lbu	$t4, 5($t5)
+	lbu	$t4, 6($t5)
+	lbu	$t4, 7($t5)
+	lbu	$t4, 8($t5)
+	lbu	$t4, 9($t5)
+	lbu	$t4, 10($t5)
+	lbu	$t4, 11($t5)
+	lbu	$t4, 12($t5)
+	lbu	$t4, 13($t5)
+	lbu	$t4, 14($t5)
+	lbu	$t4, 14($t4)
+	lbu	$t4, 14($a0)
+	lbu	$t4, 14($a1)
+	lbu	$t4, 14($a2)
+	lbu	$t4, 14($a3)
+	lbu	$t4, 14($s0)
+	lbu	$t4, 14($s1)
+	lbu	$t5, 14($s1)
+	lbu	$a0, 14($s1)
+	lbu	$a1, 14($s1)
+	lbu	$a2, 14($s1)
+	lbu	$a3, 14($s1)
+	lbu	$s0, 14($s1)
+	lbu	$s1, 14($s1)
+
+	lbu	$t5, 0
+	lbu	$t5, 4
+	lbu	$t5, 0($zero)
+	lbu	$t5, 4($zero)
+	lbu	$t5, 32767($zero)
+	lbu	$t5, -32768($zero)
+	lbu	$t5, 65535($zero)
+	lbu	$t5, 0xffff0000($zero)
+	lbu	$t5, 0xffff8000($zero)
+	lbu	$t5, 0xffff0001($zero)
+	lbu	$t5, 0xffff8001($zero)
+	lbu	$t5, 0xf0000000($zero)
+	lbu	$t5, 0xffffffff($zero)
+	lbu	$t5, 0x12345678($zero)
+
+	lbu	$s3, ($a0)
+	lbu	$s3, 0($a0)
+	lbu	$t5, 4($a0)
+	lbu	$t5, 32767($a0)
+	lbu	$t5, -32768($a0)
+	lbu	$t5, 65535($a0)
+	lbu	$t5, 0xffff0000($a0)
+	lbu	$t5, 0xffff8000($a0)
+	lbu	$t5, 0xffff0001($a0)
+	lbu	$t5, 0xffff8001($a0)
+	lbu	$t5, 0xf0000000($a0)
+	lbu	$t5, 0xffffffff($a0)
+	lbu	$t5, 0x12345678($a0)
+
+	lh	$t5, 0
+	lh	$t5, 4
+	lh	$t5, 0($zero)
+	lh	$t5, 4($zero)
+	lh	$t5, 32767($zero)
+	lh	$t5, -32768($zero)
+	lh	$t5, 65535($zero)
+	lh	$t5, 0xffff0000($zero)
+	lh	$t5, 0xffff8000($zero)
+	lh	$t5, 0xffff0001($zero)
+	lh	$t5, 0xffff8001($zero)
+	lh	$t5, 0xf0000000($zero)
+	lh	$t5, 0xffffffff($zero)
+	lh	$t5, 0x12345678($zero)
+	lh	$s3, ($a0)
+	lh	$s3, 0($a0)
+	lh	$s3, 4($a0)
+	lh	$t5, 32767($a0)
+	lh	$t5, -32768($a0)
+	lh	$t5, 65535($a0)
+	lh	$t5, 0xffff0000($a0)
+	lh	$t5, 0xffff8000($a0)
+	lh	$t5, 0xffff0001($a0)
+	lh	$t5, 0xffff8001($a0)
+	lh	$t5, 0xf0000000($a0)
+	lh	$t5, 0xffffffff($a0)
+	lh	$t5, 0x12345678($a0)
+
+	lhu	$s2, ($s3)
+	lhu	$s2, 0<<1($s3)
+	lhu	$s2, 1<<1($s3)
+	lhu	$s2, 2<<1($s3)
+	lhu	$s2, 3<<1($s3)
+	lhu	$t4, 4<<1($t5)
+	lhu	$t4, 5<<1($t5)
+	lhu	$t4, 6<<1($t5)
+	lhu	$t4, 7<<1($t5)
+	lhu	$t4, 8<<1($t5)
+	lhu	$t4, 9<<1($t5)
+	lhu	$t4, 10<<1($t5)
+	lhu	$t4, 11<<1($t5)
+	lhu	$t4, 12<<1($t5)
+	lhu	$t4, 13<<1($t5)
+	lhu	$t4, 14<<1($t5)
+	lhu	$t4, 15<<1($t5)
+	lhu	$t4, 15<<1($a0)
+	lhu	$t4, 15<<1($a1)
+	lhu	$t4, 15<<1($a2)
+	lhu	$t4, 15<<1($a3)
+	lhu	$t4, 15<<1($t4)
+	lhu	$t4, 15<<1($s0)
+	lhu	$t4, 15<<1($s1)
+	lhu	$t5, 15<<1($s1)
+	lhu	$a0, 15<<1($s1)
+	lhu	$a1, 15<<1($s1)
+	lhu	$a2, 15<<1($s1)
+	lhu	$a3, 15<<1($s1)
+	lhu	$s0, 15<<1($s1)
+	lhu	$s1, 15<<1($s1)
+
+	lhu	$t5, 0
+	lhu	$t5, 4
+	lhu	$t5, 0($zero)
+	lhu	$t5, 4($zero)
+	lhu	$t5, 32767($zero)
+	lhu	$t5, -32768($zero)
+	lhu	$t5, 65535($zero)
+	lhu	$t5, 0xffff0000($zero)
+	lhu	$t5, 0xffff8000($zero)
+	lhu	$t5, 0xffff0001($zero)
+	lhu	$t5, 0xffff8001($zero)
+	lhu	$t5, 0xf0000000($zero)
+	lhu	$t5, 0xffffffff($zero)
+	lhu	$t5, 0x12345678($zero)
+	lhu	$s3, ($a0)
+	lhu	$s3, 0($a0)
+	lhu	$s3, 4($a0)
+	lhu	$t5, 32767($a0)
+	lhu	$t5, -32768($a0)
+	lhu	$t5, 65535($a0)
+	lhu	$t5, 0xffff0000($a0)
+	lhu	$t5, 0xffff8000($a0)
+	lhu	$t5, 0xffff0001($a0)
+	lhu	$t5, 0xffff8001($a0)
+	lhu	$t5, 0xf0000000($a0)
+	lhu	$t5, 0xffffffff($a0)
+	lhu	$t5, 0x12345678($a0)
+
+	ll	$t5, 0
+	ll	$t5, 0($zero)
+	ll	$t5, 4
+	ll	$t5, 4($zero)
+	ll	$t5, 32767($zero)
+	ll	$t5, -32768($zero)
+	ll	$t5, 65535($zero)
+	ll	$t5, 0xffff0000($zero)
+	ll	$t5, 0xffff8000($zero)
+	ll	$t5, 0xffff0001($zero)
+	ll	$t5, 0xffff8001($zero)
+	ll	$t5, 0xf0000000($zero)
+	ll	$t5, 0xffffffff($zero)
+	ll	$t5, 0x12345678($zero)
+	ll	$t5, ($a0)
+	ll	$t5, 0($a0)
+	ll	$t5, 4($a0)
+	ll	$t5, 32767($a0)
+	ll	$t5, -32768($a0)
+	ll	$t5, 65535($a0)
+	ll	$t5, 0xffff0000($a0)
+	ll	$t5, 0xffff8000($a0)
+	ll	$t5, 0xffff0001($a0)
+	ll	$t5, 0xffff8001($a0)
+	ll	$t5, 0xf0000000($a0)
+	ll	$t5, 0xffffffff($a0)
+	ll	$t5, 0x12345678($a0)
+
+	lui	$t5, 0
+	lui	$t5, 32767
+	lui	$t5, 65535
+
+	lw	$s2, ($a0)
+	lw	$s2, 0($a0)
+	lw	$s2, 1<<2($a0)
+	lw	$s2, 2<<2($a0)
+	lw	$s2, 3<<2($a0)
+	lw	$s2, 4<<2($a0)
+	lw	$s2, 5<<2($a0)
+	lw	$s2, 6<<2($a0)
+	lw	$s2, 7<<2($a0)
+	lw	$s2, 8<<2($a0)
+	lw	$s2, 9<<2($a0)
+	lw	$s2, 10<<2($a0)
+	lw	$s2, 11<<2($a0)
+	lw	$s2, 12<<2($a0)
+	lw	$s2, 13<<2($a0)
+	lw	$s2, 14<<2($a0)
+	lw	$s2, 15<<2($a0)
+	lw	$s2, 15<<2($a1)
+	lw	$s2, 15<<2($a2)
+	lw	$s2, 15<<2($a3)
+	lw	$s2, 15<<2($s2)
+	lw	$s2, 15<<2($s3)
+	lw	$s2, 15<<2($s0)
+	lw	$s2, 15<<2($s1)
+	lw	$s3, 15<<2($s1)
+	lw	$a0, 15<<2($s1)
+	lw	$a1, 15<<2($s1)
+	lw	$a2, 15<<2($s1)
+	lw	$a3, 15<<2($s1)
+	lw	$s0, 15<<2($s1)
+	lw	$s1, 15<<2($s1)
+
+	lw	$a0, ($sp)
+	lw	$a0, 0($sp)
+	lw	$a0, 1<<2($sp)
+	lw	$a0, 2<<2($sp)
+	lw	$a0, 3<<2($sp)
+	lw	$a0, 4<<2($sp)
+	lw	$a0, 5<<2($sp)
+	lw	$a0, 31<<2($sp)
+	lw	$t4, 31<<2($sp)
+	lw	$t4, 31<<2($sp)
+	lw	$t5, 31<<2($sp)
+	lw	$a0, 31<<2($sp)
+	lw	$a1, 31<<2($sp)
+	lw	$a2, 31<<2($sp)
+	lw	$a3, 31<<2($sp)
+	lw	$a4, 31<<2($sp)
+	lw	$a5, 31<<2($sp)
+	lw	$a6, 31<<2($sp)
+	lw	$fp, 31<<2($sp)
+	lw	$ra, 31<<2($sp)
+
+	lw	$a0, 126<<2($sp)
+	lw	$a0, 127<<2($sp)
+	lw	$s0, 127<<2($sp)
+	lw	$s1, 127<<2($sp)
+	lw	$s2, 127<<2($sp)
+	lw	$s3, 127<<2($sp)
+	lw	$s4, 127<<2($sp)
+	lw	$s5, 127<<2($sp)
+	lw	$ra, 127<<2($sp)
+
+	lw	$t5, 0
+	lw	$t5, 4
+	lw	$t5, ($zero)
+	lw	$t5, 0($zero)
+	lw	$t5, 0($zero)
+	lw	$t5, 4($zero)
+	lw	$t5, 32767($zero)
+	lw	$t5, -32768($zero)
+	lw	$t5, 65535($zero)
+	lw	$t5, 0xffff0000($zero)
+	lw	$t5, 0xffff8000($zero)
+	lw	$t5, 0xffff0001($zero)
+	lw	$t5, 0xffff8001($zero)
+	lw	$t5, 0xf0000000($zero)
+	lw	$t5, 0xffffffff($zero)
+	lw	$t5, 0x12345678($zero)
+	lw	$s3, ($a0)
+	lw	$s3, 0($a0)
+	lw	$s3, 4($a0)
+	lw	$t5, 32767($a0)
+	lw	$t5, -32768($a0)
+	lw	$t5, 65535($a0)
+	lw	$t5, 0xffff0000($a0)
+	lw	$t5, 0xffff8000($a0)
+	lw	$t5, 0xffff0001($a0)
+	lw	$t5, 0xffff8001($a0)
+	lw	$t5, 0xf0000000($a0)
+	lw	$t5, 0xffffffff($a0)
+	lw	$t5, 0x12345678($a0)
+	.set push
+	lwxs	$s3, $a0($a1)
+	.set pop
+
+	mfc0	$t4, $0
+	mfc0	$t4, $1
+	mfc0	$t4, $2, 1
+	mfc0	$t4, $2, 2
+	mtc0	$t4, $3
+	mtc0	$t4, $4
+	mtc0	$t4, $5, 6
+	mtc0	$t4, $5, 7
+
+	movn	$t4, $t5
+	movn	$t4, $t4, $t5
+	movn	$t4, $t5, $a0
+
+	movz	$t4, $t5
+	movz	$t4, $t4, $t5
+	movz	$t4, $t5, $a0
+
+	mul	$t4, $t5, $a0
+	mul	$sp, $fp, $ra
+	mul	$t4, $t4, $a0
+	mul	$t4, $a0
+	mul	$t4, $t4, 0
+	mul	$t4, $t4, 1
+	mul	$t4, $t4, 32767
+	mul	$t4, $t4, -32768
+	mul	$t4, $t4, 65535
+
+	neg	$t4, $t5
+	neg	$t4, $t4
+	neg	$t4
+	negu	$t4, $t5
+	negu	$t4, $t4
+	negu	$t4
+	negu32	$t4, $t5
+	negu32	$t4, $t4
+	negu32	$t4
+
+	not	$s2, $s2
+	not	$s2, $s2
+	not	$s2, $s3
+	not	$s2, $a0
+	not	$s2, $a1
+	not	$s2, $a2
+	not	$s2, $a3
+	not	$s2, $s0
+	not	$s2, $s1
+	not	$s3, $s1
+	not	$a0, $s1
+	not	$a1, $s1
+	not	$a2, $s1
+	not	$a3, $s1
+	not	$s0, $s1
+	not	$s1, $s1
+
+	nor	$t4, $a3, $zero
+	nor	$t4, $zero, $a3
+
+	nor32	$t4, $t5, $a0
+	nor32	$sp, $fp, $ra
+	nor32	$t4, $t4, $a0
+	nor32	$t4, $a0
+
+	nor	$t4, $t5, 32768
+	nor	$t4, $t5, 65535
+	nor	$t4, $t5, 65536
+	nor	$t4, $t5, -32768
+	nor	$t4, $t5, -32769
+
+	or	$t4, $s6, $zero
+	or	$s6, $t4, $zero
+	or	$t4, $zero, $s6
+	or	$s6, $zero, $t4
+
+	or	$s2, $s2
+	or	$s2, $s3
+	or	$s2, $a0
+	or	$s2, $a1
+	or	$s2, $a2
+	or	$s2, $a3
+	or	$s2, $s0
+	or	$s2, $s1
+	or	$s3, $s2
+	or	$a0, $s2
+	or	$a1, $s2
+	or	$a2, $s2
+	or	$a3, $s2
+	or	$s0, $s2
+	or	$s1, $s2
+	or	$s2, $s2
+	or	$s2, $s2, $s3
+	or	$s2, $s3, $s2
+
+	or32	$t4, $t5, $a0
+	or32	$sp, $fp, $ra
+	or32	$t4, $t4, $a0
+	or32	$t4, $a0
+
+	or	$t4, $t5, 32768
+	or	$t4, $t5, 4095
+	or	$t4, $t5, 4096
+	or	$t4, $t5, -32768
+	or	$t4, $t5, -32769
+
+	ori	$t5, $a0, 0
+	ori	$t5, $a0, 4095
+
+	rdhwr	$t4, $0
+	rdhwr	$t4, $1
+	rdhwr	$t4, $2
+	rdhwr	$t4, $3
+	rdhwr	$t4, $4
+	rdhwr	$t4, $5
+	rdhwr	$t4, $6
+	rdhwr	$t4, $7
+	rdhwr	$t4, $8
+	rdhwr	$t4, $9
+	rdhwr	$t4, $10
+
+	rdpgpr	$t4, $t5
+	rdpgpr	$t4, $t4
+
+	rem	$zero, $t4, $t5
+	rem	$zero, $fp, $ra
+	rem	$zero, $t5
+	rem	$zero, $ra
+
+	rem	$t4, $t5, $zero
+	rem	$t4, $t5, $a0
+
+	rem	$t5, $a0, 0
+	rem	$t5, $a0, 1
+	rem	$t5, $a0, -1
+	rem	$t5, $a0, 2
+
+	rol	$t4, $t5, $a0
+	rol	$t4, $t4, $a0
+	rol	$t4, $t5, $t5
+	rol	$t4, $t5, $t4
+
+	rol	$t4, $t5, 0
+	rol	$t4, $t5, 1
+	rol	$t4, $t5, 31
+	rol	$t4, $t4, 31
+	rol	$t4, 31
+
+	ror	$t4, $t5, 0
+	ror	$t4, $t5, 1
+	ror	$t4, $t5, 31
+	ror	$t4, $t4, 31
+	ror	$t4, 31
+
+	ror	$t4, $t5, $a0
+	ror	$t4, $t4, $a0
+
+	rotr	$t4, $t5, $a0
+	rotr	$t4, $t4, $a0
+
+	rorv	$t4, $t5, $a0
+	rorv	$t4, $t4, $a0
+
+	rotrv	$t4, $t5, $a0
+	rotrv	$t4, $t4, $a0
+
+	sb	$zero, ($s3)
+	sb	$zero, 0($s3)
+	sb	$zero, 1($s3)
+	sb	$zero, 2($s3)
+	sb	$zero, 3($s3)
+	sb	$zero, 4($t5)
+	sb	$zero, 5($t5)
+	sb	$zero, 6($t5)
+	sb	$zero, 7($t5)
+	sb	$zero, 8($t5)
+	sb	$zero, 9($t5)
+	sb	$zero, 10($t5)
+	sb	$zero, 11($t5)
+	sb	$zero, 12($t5)
+	sb	$zero, 13($t5)
+	sb	$zero, 14($t5)
+	sb	$zero, 15($t5)
+	sb	$t4, 15($t5)
+	sb	$t5, 15($t5)
+	sb	$a0, 15($t5)
+	sb	$a1, 15($t5)
+	sb	$a2, 15($t5)
+	sb	$a3, 15($t5)
+	sb	$s1, 15($t5)
+	sb	$s1, 15($a0)
+	sb	$s1, 15($a1)
+	sb	$s1, 15($a2)
+	sb	$s1, 15($a3)
+	sb	$s1, 15($t4)
+	sb	$s1, 15($s0)
+	sb	$s1, 15($s1)
+
+	sb32	$t5, 4
+	sb32	$t5, 4($zero)
+
+	sb32	$t5, 4095($zero)
+
+	sb	$t5, 65535($zero)
+	sb	$t5, 0xffff0000($zero)
+	sb	$t5, 0xffff8000($zero)
+	sb	$t5, 0xffff0001($zero)
+	sb	$t5, 0xffff8001($zero)
+	sb	$t5, 0xf0000000($zero)
+	sb	$t5, 0xffffffff($zero)
+	sb	$t5, 0x12345678($zero)
+	sb32	$t5, ($a0)
+	sb32	$t5, 0($a0)
+	sb32	$t5, 4095($a0)
+
+	sb	$t5, 65535($a0)
+	sb	$t5, 0xffff0000($a0)
+	sb	$t5, 0xffff8000($a0)
+	sb	$t5, 0xffff0001($a0)
+	sb	$t5, 0xffff8001($a0)
+	sb	$t5, 0xf0000000($a0)
+	sb	$t5, 0xffffffff($a0)
+	sb	$t5, 0x12345678($a0)
+
+	sc	$t5, 4
+	sc	$t5, 4($zero)
+	sc	$t5, 2047($zero)
+	sc	$t5, -2048($zero)
+	sc	$t5, 32767($zero)
+	sc	$t5, -32768($zero)
+	sc	$t5, 65535($zero)
+	sc	$t5, 0xffff0000($zero)
+	sc	$t5, 0xffff8000($zero)
+	sc	$t5, 0xffff0001($zero)
+	sc	$t5, 0xffff8001($zero)
+	sc	$t5, 0xf0000000($zero)
+	sc	$t5, 0xffffffff($zero)
+	sc	$t5, 0x12345678($zero)
+	sc	$t5, ($a0)
+	sc	$t5, 0($a0)
+	sc	$t5, 2047($a0)
+	sc	$t5, -2048($a0)
+	sc	$t5, 32767($a0)
+	sc	$t5, -32768($a0)
+	sc	$t5, 65535($a0)
+	sc	$t5, 0xffff0000($a0)
+	sc	$t5, 0xffff8000($a0)
+	sc	$t5, 0xffff0001($a0)
+	sc	$t5, 0xffff8001($a0)
+	sc	$t5, 0xf0000000($a0)
+	sc	$t5, 0xffffffff($a0)
+	sc	$t5, 0x12345678($a0)
+
+	sdbbp
+	sdbbp	0
+	sdbbp	1
+	sdbbp	2
+	sdbbp	3
+	sdbbp	4
+	sdbbp	5
+	sdbbp	6
+	sdbbp	7
+	sdbbp	8
+	sdbbp	9
+	sdbbp	10
+	sdbbp	11
+	sdbbp	12
+	sdbbp	13
+	sdbbp	14
+	sdbbp	15
+
+
+	sdbbp32
+
+	sdbbp32	0
+	sdbbp32	1
+	sdbbp32	2
+	sdbbp32	255
+
+	seb	$t4, $t5
+	seb	$t4, $t4
+	seb	$t4
+	seh	$t4, $t5
+	seh	$t4, $t4
+	seh	$t4
+
+	seq	$t4, $t5, $a0
+	seq	$t4, $t5, $zero
+	seq	$t4, $zero, $a0
+
+	seq	$t4, $t5, 0
+	seq	$t4, $t5, 1
+	seq	$t4, $t5, -1
+	seq	$t4, $t5, -32769
+
+	sge	$t4, $t5, $a0
+	sge	$t4, $t4, $a0
+	sge	$t4, $a0
+	sge	$t4, $t5, 0
+	sge	$t4, $t5, -32768
+	sge	$t4, $t5, 0
+	sge	$t4, $t5, 32767
+	sge	$t4, $t5, 65535
+	sge	$t4, $t5, 65536
+	sge	$t4, $t5, -32769
+
+	sgeu	$t4, $t5, $a0
+	sgeu	$t4, $t4, $a0
+	sgeu	$t4, $a0
+	sgeu	$t4, $t5, 0
+	sgeu	$t4, $t5, -32768
+	sgeu	$t4, $t5, 0
+	sgeu	$t4, $t5, 32767
+	sgeu	$t4, $t5, 65535
+	sgeu	$t4, $t5, 65536
+	sgeu	$t4, $t5, -32769
+
+	sgt	$t4, $t5, $a0
+	sgt	$t4, $t4, $a0
+	sgt	$t4, $a0
+	sgt	$t4, $t5, 0
+	sgt	$t4, $t5, -32768
+	sgt	$t4, $t5, 0
+	sgt	$t4, $t5, 32767
+	sgt	$t4, $t5, 65535
+	sgt	$t4, $t5, 65536
+	sgt	$t4, $t5, -32769
+
+	sgtu	$t4, $t5, $a0
+	sgtu	$t4, $t4, $a0
+	sgtu	$t4, $a0
+	sgtu	$t4, $t5, 0
+	sgtu	$t4, $t5, -32768
+	sgtu	$t4, $t5, 0
+	sgtu	$t4, $t5, 32767
+	sgtu	$t4, $t5, 65535
+	sgtu	$t4, $t5, 65536
+	sgtu	$t4, $t5, -32769
+
+	sh	$s2, ($s3)
+	sh	$s2, 0<<1($s3)
+	sh	$s2, 1<<1($s3)
+	sh	$s2, 2<<1($s3)
+	sh	$s2, 3<<1($s3)
+	sh	$t4, 4<<1($t5)
+	sh	$t4, 5<<1($t5)
+	sh	$t4, 6<<1($t5)
+	sh	$t4, 7<<1($t5)
+	sh	$t4, 8<<1($t5)
+	sh	$t4, 9<<1($t5)
+	sh	$t4, 10<<1($t5)
+	sh	$t4, 11<<1($t5)
+	sh	$t4, 12<<1($t5)
+	sh	$t4, 13<<1($t5)
+	sh	$t4, 14<<1($t5)
+	sh	$t4, 15<<1($t5)
+	sh	$t4, 15<<1($a0)
+	sh	$t4, 15<<1($a1)
+	sh	$t4, 15<<1($a2)
+	sh	$t4, 15<<1($a3)
+	sh	$t4, 15<<1($t4)
+	sh	$t4, 15<<1($s0)
+	sh	$t4, 15<<1($s1)
+	sh	$t5, 15<<1($s1)
+	sh	$a0, 15<<1($s1)
+	sh	$a1, 15<<1($s1)
+	sh	$a2, 15<<1($s1)
+	sh	$a3, 15<<1($s1)
+	sh	$s1, 15<<1($s1)
+	sh	$zero, 15<<1($s1)
+
+	sh32	$t5, 4
+	sh32	$t5, 4($zero)
+	sh32	$t5, 4095($zero)
+
+	sh	$t5, 65535($zero)
+	sh	$t5, 0xffff0000($zero)
+	sh	$t5, 0xffff8000($zero)
+	sh	$t5, 0xffff0001($zero)
+	sh	$t5, 0xffff8001($zero)
+	sh	$t5, 0xf0000000($zero)
+	sh	$t5, 0xffffffff($zero)
+	sh	$t5, 0x12345678($zero)
+	sh32	$t5, ($a0)
+	sh32	$t5, 0($a0)
+	sh32	$t5, 4095($a0)
+
+	sh	$t5, 65535($a0)
+	sh	$t5, 0xffff0000($a0)
+	sh	$t5, 0xffff8000($a0)
+	sh	$t5, 0xffff0001($a0)
+	sh	$t5, 0xffff8001($a0)
+	sh	$t5, 0xf0000000($a0)
+	sh	$t5, 0xffffffff($a0)
+	sh	$t5, 0x12345678($a0)
+
+	sle	$t4, $t5, $a0
+	sle	$t4, $t4, $a0
+	sle	$t4, $a0
+	sle	$t4, $t5, 0
+	sle	$t4, $t5, -32768
+	sle	$t4, $t5, 0
+	sle	$t4, $t5, 32767
+	sle	$t4, $t5, 65535
+	sle	$t4, $t5, 65536
+	sle	$t4, $t5, -32769
+
+	sleu	$t4, $t5, $a0
+	sleu	$t4, $t4, $a0
+	sleu	$t4, $a0
+	sleu	$t4, $t5, 0
+	sleu	$t4, $t5, -32768
+	sleu	$t4, $t5, 0
+	sleu	$t4, $t5, 32767
+	sleu	$t4, $t5, 65535
+	sleu	$t4, $t5, 65536
+	sleu	$t4, $t5, -32769
+
+	sll	$s2, $s2, 1
+	sll	$s2, $s2, 2
+	sll	$s2, $s2, 3
+	sll	$s2, $s2, 4
+	sll	$s2, $s2, 5
+	sll	$s2, $s2, 6
+	sll	$s2, $s2, 7
+	sll	$s2, $s2, 8
+	sll	$s2, $s3, 8
+	sll	$s2, $a0, 8
+	sll	$s2, $a1, 8
+	sll	$s2, $a2, 8
+	sll	$s2, $a3, 8
+	sll	$s2, $s0, 8
+	sll	$s2, $s1, 8
+	sll	$s3, $s2, 8
+	sll	$a0, $s2, 8
+	sll	$a1, $s2, 8
+	sll	$a2, $s2, 8
+	sll	$a3, $s2, 8
+	sll	$s0, $s2, 8
+	sll	$s1, $s2, 8
+	sll	$s2, $s2, 1
+	sll	$s3, 1
+
+	sllv	$t4, $t5, $a0
+	sllv	$t4, $t4, $a0
+	sll	$t4, $t4, $a0
+	sll	$t4, $a0
+
+	sll32	$t4, $a0, 0
+	sll32	$t4, $a0, 1
+	sll32	$t4, $a0, 31
+	sll32	$t4, $t4, 31
+	sll32	$t4, 31
+
+	slt	$t4, $t5, $a0
+	slt	$t4, $t4, $a0
+	slt	$t4, $a0
+	slt	$t4, $t5, 0
+	slt	$t4, $t5, -32768
+	slt	$t4, $t5, 0
+	slt	$t4, $t5, 32767
+	slt	$t4, $t5, 65535
+	slt	$t4, $t5, 65536
+	slt	$t4, $t5, -32769
+
+	slti	$t5, $a0, 0
+	slti	$t5, $a0, 4095
+
+	sltiu	$t5, $a0, 0
+	sltiu	$t5, $a0, 4095
+
+	sltu	$t4, $t5, $a0
+	sltu	$t4, $t4, $a0
+	sltu	$t4, $a0
+	sltu	$t4, $t5, 0
+	sltu	$t4, $t5, -32768
+	sltu	$t4, $t5, 0
+	sltu	$t4, $t5, 32767
+	sltu	$t4, $t5, 65535
+	sltu	$t4, $t5, 65536
+	sltu	$t4, $t5, -32769
+
+	sne	$t4, $t5, $a0
+	sne	$t4, $zero, $a0
+	sne	$t4, $t5, $zero
+
+	sne	$t4, $t5, 0
+	sne	$t4, $t5, 1
+	sne	$t4, $t5, -1
+	sne	$t4, $t5, -32769
+
+	srav	$t4, $t5, $a0
+	srav	$t4, $t4, $a0
+	sra	$t4, $t4, $a0
+	sra	$t4, $a0
+	sra	$t4, $a0, 0
+	sra	$t4, $a0, 1
+	sra	$t4, $a0, 31
+	sra	$t4, $t4, 31
+	sra	$t4, 31
+
+	srlv	$t4, $t5, $a0
+	srlv	$t4, $t4, $a0
+	srl	$t4, $t4, $a0
+	srl	$t4, $a0
+	srl	$t4, $a0, 0
+	srl	$s2, $a0, 1
+	srl	$t4, $a0, 31
+	srl	$t4, $t4, 31
+	srl	$t4, 31
+
+	srl	$s2, $s2, 1
+	srl	$s2, $s2, 2
+	srl	$s2, $s2, 3
+	srl	$s2, $s2, 4
+	srl	$s2, $s2, 5
+	srl	$s2, $s2, 6
+	srl	$s2, $s2, 7
+	srl	$s2, $s2, 8
+	srl	$s2, $s3, 8
+	srl	$s2, $a0, 8
+	srl	$s2, $a1, 8
+	srl	$s2, $a2, 8
+	srl	$s2, $a3, 8
+	srl	$s2, $s0, 8
+	srl	$s2, $s1, 8
+	srl	$s2, $s2, 8
+	srl	$s3, $s2, 8
+	srl	$a0, $s2, 8
+	srl	$a1, $s2, 8
+	srl	$a2, $s2, 8
+	srl	$a3, $s2, 8
+	srl	$s0, $s2, 8
+	srl	$s1, $s2, 8
+	srl	$s3, $s3, 1
+	srl	$s3, 1
+	
+	sub	$t4, $t5, $a0
+	sub	$sp, $fp, $ra
+	sub	$t4, $t4, $a0
+	sub	$t4, $a0
+	sub	$t4, $t4, 0
+	sub	$t4, $t4, 1
+	sub	$t4, $t4, 32767
+	sub	$t4, $t4, -32768
+	sub	$t4, $t4, 65535
+	subu	$s2, $s3, $s2
+	subu	$s2, $s3, $s3
+	subu	$s2, $s3, $a0
+	subu	$s2, $s3, $a1
+	subu	$s2, $s3, $a2
+	subu	$s2, $s3, $a3
+	subu	$s2, $s3, $s0
+	subu	$s2, $s3, $s1
+	subu	$s2, $s2, $s1
+	subu	$s2, $a0, $s1
+	subu	$s2, $a1, $s1
+	subu	$s2, $a2, $s1
+	subu	$s2, $a3, $s1
+	subu	$s2, $s0, $s1
+	subu	$s2, $s1, $s1
+	subu	$s2, $s2, $s1
+	subu	$s3, $s2, $s1
+	subu	$a0, $s2, $s1
+	subu	$a1, $s2, $s1
+	subu	$a2, $s2, $s1
+	subu	$a3, $s2, $s1
+	subu	$s0, $s2, $s1
+	subu	$s1, $s2, $s1
+	subu	$a3, $a3, $s2
+	subu	$a3, $s2
+
+	subu32	$t4, $t5, $a0
+	subu32	$sp, $fp, $ra
+	subu32	$t4, $t4, $a0
+	subu32	$t4, $a0
+	subu	$t4, $t4, 0
+	subu	$t4, $t4, 1
+	subu	$t4, $t4, 32767
+	subu	$t4, $t4, -32768
+	subu	$t4, $t4, 65535
+
+	sw	$s2, ($a0)
+	sw	$s2, 0($a0)
+	sw	$s2, 1<<2($a0)
+	sw	$s2, 2<<2($a0)
+	sw	$s2, 3<<2($a0)
+	sw	$s2, 4<<2($a0)
+	sw	$s2, 5<<2($a0)
+	sw	$s2, 6<<2($a0)
+	sw	$s2, 7<<2($a0)
+	sw	$s2, 8<<2($a0)
+	sw	$s2, 9<<2($a0)
+	sw	$s2, 10<<2($a0)
+	sw	$s2, 11<<2($a0)
+	sw	$s2, 12<<2($a0)
+	sw	$s2, 13<<2($a0)
+	sw	$s2, 14<<2($a0)
+	sw	$s2, 15<<2($a0)
+	sw	$s2, 15<<2($a1)
+	sw	$s2, 15<<2($a2)
+	sw	$s2, 15<<2($a3)
+	sw	$s2, 15<<2($s0)
+	sw	$s2, 15<<2($s1)
+	sw	$s2, 15<<2($s2)
+	sw	$s2, 15<<2($s3)
+	sw	$s3, 15<<2($s3)
+	sw	$a0, 15<<2($s3)
+	sw	$a1, 15<<2($s3)
+	sw	$a2, 15<<2($s3)
+	sw	$a3, 15<<2($s3)
+	sw	$s1, 15<<2($s3)
+	sw	$zero, 15<<2($s3)
+
+	sw	$zero, ($sp)
+	sw	$zero, 0($sp)
+	sw	$zero, 1<<2($sp)
+	sw	$zero, 2<<2($sp)
+	sw	$zero, 3<<2($sp)
+	sw	$zero, 4<<2($sp)
+	sw	$zero, 5<<2($sp)
+	sw	$zero, 30<<2($sp)
+	sw	$zero, 31<<2($sp)
+	sw	$t4, 31<<2($sp)
+	sw	$s1, 31<<2($sp)
+	sw	$t5, 31<<2($sp)
+	sw	$a0, 31<<2($sp)
+	sw	$a1, 31<<2($sp)
+	sw	$a2, 31<<2($sp)
+	sw	$a3, 31<<2($sp)
+	sw	$ra, 31<<2($sp)
+
+	sw32	$t5, 4
+	sw32	$t5, 4($zero)
+	sw32	$t5, 4095($zero)
+
+	sw	$t5, 65535($zero)
+	sw	$t5, 0xffff0000($zero)
+	sw	$t5, 0xffff8000($zero)
+	sw	$t5, 0xffff0001($zero)
+	sw	$t5, 0xffff8001($zero)
+	sw	$t5, 0xf0000000($zero)
+	sw	$t5, 0xffffffff($zero)
+	sw	$t5, 0x12345678($zero)
+	sw32	$t5, ($a0)
+	sw32	$t5, 0($a0)
+	sw32	$t5, 4095($a0)
+
+	sw	$t5, 65535($a0)
+	sw	$t5, 0xffff0000($a0)
+	sw	$t5, 0xffff8000($a0)
+	sw	$t5, 0xffff0001($a0)
+	sw	$t5, 0xffff8001($a0)
+	sw	$t5, 0xf0000000($a0)
+	sw	$t5, 0xffffffff($a0)
+	sw	$t5, 0x12345678($a0)
+
+	sync
+	sync	0
+	sync	1
+	sync	2
+	sync	3
+	sync	5
+	sync	30
+	sync	31
+
+	synci	0
+	synci	($zero)
+	synci	0($zero)
+	synci	2047($zero)
+	synci	2048($zero)
+
+	synci	0($t4)
+	synci	0($t5)
+	synci	255($t5)
+	synci	-256($t5)
+	synci	2048($t5)
+
+	syscall
+	syscall	0
+	syscall	1
+	syscall	2
+	syscall	255
+/*
+	teq	$t4, $t5
+	teq	$t5, $t4
+	teq	$t4, $t5, 0
+	teq	$t4, $t5, 1
+	teq	$t4, $t5, 15
+	teq	$t4, 0
+	teq	$t4, -32768
+	teq	$t4, 32767
+	teq	$t4, 65535
+
+	tlbp
+	tlbr
+	tlbwi
+	tlbwr
+
+	tne	$t4, $t5
+	tne	$t5, $t4
+	tne	$t4, $t5, 0
+	tne	$t4, $t5, 1
+	tne	$t4, $t5, 15
+	tne	$t4, 0
+	tne	$t4, -32768
+	tne	$t4, 32767
+	tne	$t4, 65535
+	tne	$t4, 65536
+	tne	$t4, 0xffffffff
+*/
+	wait
+	wait	0
+	wait	1
+	wait	255
+
+	wrpgpr	$t4, $t5
+	wrpgpr	$t4, $a0
+	wrpgpr	$t4, $t4
+	wrpgpr	$t4
+
+	wsbh	$t4, $t5
+	wsbh	$t4, $a0
+	wsbh	$t4, $t4
+	wsbh	$t4
+
+	xor	$s2, $s2
+	xor	$s2, $s3
+	xor	$s2, $a0
+	xor	$s2, $a1
+	xor	$s2, $a2
+	xor	$s2, $a3
+	xor	$s2, $s0
+	xor	$s2, $s1
+	xor	$s3, $s1
+	xor	$a0, $s1
+	xor	$a1, $s1
+	xor	$a2, $s1
+	xor	$a3, $s1
+	xor	$s0, $s1
+	xor	$s1, $s1
+	xor	$s2, $s3
+	xor	$s2, $s2, $s3
+	xor	$s2, $s3, $s2
+
+	xor32	$t4, $t5, $a0
+	xor32	$sp, $fp, $ra
+	xor32	$t4, $t4, $a0
+	xor32	$t4, $a0
+
+	xor	$t4, $t5, 32768
+	xor	$t4, $t5, 4095
+	xor	$t4, $t5, 4096
+	xor	$t4, $t5, -32768
+	xor	$t4, $t5, -32769
+
+	xori	$t5, $a0, 0
+	xori	$t5, $t5, 4095
+
+	beqz	$a5, test
+	addu	$s3, $a0, $a1
+
+	beq	$a5, $a6, test
+	addu	$s3, $a0, $a1
+
+	beq	$a5, 0, test
+	addu	$s3, $a0, $a1
+
+	beq	$a5, 1, test
+	addu	$s3, $a0, $a1
+
+	bge	$a6, $zero, test
+	addu	$s3, $a0, $a1
+
+	bge	$a6, $zero, test
+	addu	$s3, $a0, $a1
+
+	bge	$zero, $a6, test
+	addu	$s3, $a0, $a1
+
+	bge	$a6, $a7, test
+	addu	$s3, $a0, $a1
+
+	bge	$a6, 0, test
+	addu	$s3, $a0, $a1
+
+	bge	$a6, 1, test
+	addu	$s3, $a0, $a1
+
+	bge	$a6, 2, test
+	addu	$s3, $a0, $a1
+
+	bge	$a6, 0x80000000, test
+	addu	$s3, $a0, $a1
+
+	bgeu	$t4, $zero, test
+	addu	$s3, $a0, $a1
+
+	bgeu	$zero, $t4, test
+	addu	$s3, $a0, $a1
+
+	bgeu	$t4, $t5, test
+	addu	$s3, $a0, $a1
+
+	bgeu	$t4, 0, test
+	addu	$s3, $a0, $a1
+
+	bgeu	$t4, 1, test
+	addu	$s3, $a0, $a1
+
+	bgeu	$t4, 2, test
+	addu	$s3, $a0, $a1
+
+	bgez	$t4, test
+	addu	$s3, $a0, $a1
+
+	bgt	$t4, $zero, test
+	addu	$s3, $a0, $a1
+
+	bgt	$zero, $t4, test
+	addu	$s3, $a0, $a1
+
+	bgt	$a5, $a6, test
+	addu	$s3, $a0, $a1
+
+	bgt	$a5, 0x7fffffff, test
+	addu	$s3, $a0, $a1
+
+	bgt	$a5, -1, test
+	addu	$s3, $a0, $a1
+
+	bgt	$a5, 0, test
+	addu	$s3, $a0, $a1
+
+	bgt	$a5, 1, test
+	addu	$s3, $a0, $a1
+
+	bgt	$a5, 0x80000000, test
+	addu	$s3, $a0, $a1
+
+	bgtu	$a5, $zero, test
+	addu	$s3, $a0, $a1
+
+	bgtu	$zero, $a5, test
+	addu	$s3, $a0, $a1
+
+	bgtu	$a5, $a6, test
+	addu	$s3, $a0, $a1
+
+	bgtu	$zero, 0, test
+	addu	$s3, $a0, $a1
+
+	bgtu	$a5, 0xffffffff, test
+	addu	$s3, $a0, $a1
+
+	bgtu	$a5, -1, test
+	addu	$s3, $a0, $a1
+
+	bgtu	$a5, 0, test
+	addu	$s3, $a0, $a1
+
+	bgtu	$a5, 1, test
+	addu	$s3, $a0, $a1
+
+	bgtz	$a5, test
+	addu	$s3, $a0, $a1
+
+	ble	$a5, $zero, test
+	addu	$s3, $a0, $a1
+
+	ble	$zero, $a6, test
+	addu	$s3, $a0, $a1
+
+	ble	$a5, $a6, test
+	addu	$s3, $a0, $a1
+
+	ble	$a5, 0x7fffffff, test
+	addu	$s3, $a0, $a1
+
+	ble	$a5, -1, test
+	addu	$s3, $a0, $a1
+
+	ble	$a5, 0, test
+	addu	$s3, $a0, $a1
+
+	ble	$a5, 1, test
+	addu	$s3, $a0, $a1
+
+	bleu	$a5, $zero, test
+	addu	$s3, $a0, $a1
+
+	bleu	$zero, $a6, test
+	addu	$s3, $a0, $a1
+
+	bleu	$a5, $a6, test
+	addu	$s3, $a0, $a1
+
+	bleu	$zero, $a6, test
+	addu	$s3, $a0, $a1
+
+	bleu	$a5, 0xffffffff, test
+	addu	$s3, $a0, $a1
+
+	bleu	$a5, 0, test
+	addu	$s3, $a0, $a1
+
+	bleu	$a5, 1, test
+	addu	$s3, $a0, $a1
+
+	blez	$a5, test
+	addu	$s3, $a0, $a1
+
+	blt	$a5, $zero, test
+	addu	$s3, $a0, $a1
+
+	blt	$zero, $a6, test
+	addu	$s3, $a0, $a1
+
+	blt	$a5, $a6, test
+	addu	$s3, $a0, $a1
+
+	blt	$a5, 0, test
+	addu	$s3, $a0, $a1
+
+	blt	$a5, 1, test
+	addu	$s3, $a0, $a1
+
+	blt	$a5, 2, test
+	addu	$s3, $a0, $a1
+
+	bltu	$a5, $zero, test
+	addu	$s3, $a0, $a1
+
+	bltu	$zero, $a6, test
+	addu	$s3, $a0, $a1
+
+	bltu	$a5, $a6, test
+	addu	$s3, $a0, $a1
+
+	bltu	$a5, 0, test
+	addu	$s3, $a0, $a1
+
+	bltu	$a5, 1, test
+	addu	$s3, $a0, $a1
+
+	bltu	$a5, 2, test
+	addu	$s3, $a0, $a1
+
+	bltz	$a5, test
+	addu	$s3, $a0, $a1
+
+	bnez	$a5, test
+	addu	$s3, $a0, $a1
+
+	bne	$a5, $a6, test
+	addu	$s3, $a0, $a1
+
+	bne	$a5, 0, test
+	addu	$s3, $a0, $a1
+
+	bne	$a5, 1, test
+	addu	$s3, $a0, $a1
+
+	jraddiusp	0 << 2
+	jraddiusp	2 << 2
+	jraddiusp	4 << 2
+	jraddiusp	6 << 2
+	jraddiusp	8 << 2
+	jraddiusp	10 << 2
+	jraddiusp	(1 << 2)
+	jraddiusp	3 << 2
+	jraddiusp	5 << 2
+	jraddiusp	7 << 2
+	jraddiusp	9 << 2
+	jraddiusp	30 << 2
+	jraddiusp	31 << 2
+
+	sdbbp	1023
+	wait	1023
+	syscall	1023
+	.end	test
+
+	.ent	test_delay_slot
+test_delay_slot:
+	bal	test_delay_slot
+	.ifndef	insn32
+	jalr16	$t4
+	.endif
+	jalr32	$t4
+	.ifndef	insn32
+	jr16	$t4
+	.endif
+	jr32	$t4
+	jalr.hb	$t4
+
+	jr.hb	$t4
+	.end	test_delay_slot
+
+	.ent	test_spec102
+test_spec102:
+	lw	$s2, 127<<2 ($gp)
+	lw	$s3, 127<<2 ($gp)
+	lw	$a0, 127<<2 ($gp)
+	lw	$a1, 127<<2 ($gp)
+	lw	$a2, 127<<2 ($gp)
+	lw	$a3, 127<<2 ($gp)
+	lw	$s0, 127<<2 ($gp)
+	lw	$s1, 127<<2 ($gp)
+	lw	$s1, 126<<2 ($gp)
+	lw	$s1, 125<<2 ($gp)
+	lw	$s1, 0<<2 ($gp)
+	lw	$s1, 1<<2 ($gp)
+	lw	$s1, 62<<2 ($gp)
+	lw	$s1, 63<<2 ($gp)
+	lw	$s1, 64<<2 ($gp)
+	lw	$s1, -65<<2 ($gp)
+	lw	$s1, 1 ($gp)
+	lw	$s1, 2 ($gp)
+	lw	$s1, 3 ($gp)
+	lw	$s1, -1 ($gp)
+	lw	$s1, -2 ($gp)
+	lw	$s1, -3 ($gp)
+	lw	$s1, 0 ($k1)
+	.end	test_spec102
+
+	.ent	test_spec107
+test_spec107:
+	.ifndef insn32
+	movep	$a1, $a2, $zero, $zero
+	movep	$a2, $a3, $zero, $zero
+	movep	$a0, $a1, $zero, $zero
+	movep	$a1, $a2, $zero, $zero
+	movep	$a2, $a3, $zero, $zero
+	movep	$a2, $a3, $s1, $zero
+	movep	$a2, $a3, $a5, $zero
+	movep	$a2, $a3, $a6, $zero
+	movep	$a2, $a3, $s0, $zero
+	movep	$a2, $a3, $s2, $zero
+	movep	$a2, $a3, $s3, $zero
+	movep	$a2, $a3, $s4, $zero
+	movep	$a2, $a3, $s4, $s1
+	movep	$a2, $a3, $s4, $a5
+	movep	$a2, $a3, $s4, $a6
+	movep	$a2, $a3, $s4, $s0
+	movep	$a2, $a3, $s4, $s2
+	movep	$a2, $a3, $s4, $s3
+	movep	$a2, $a3, $s4, $s4
+	.endif
+
+	andi	$t4, $t4, 0xfff
+	andi	$t4, $t5, 0x1fff
+	andi	$t4, $a0, 0x3fff
+	andi	$t4, $a1, 0x7fff
+	andi	$t4, $a2, 0xffff
+	andi	$t4, $a3, 0x1fffff
+	andi	$t4, $a4, 0x3fffff
+	andi	$t4, $a5, 0x7fffff
+	andi	$t4, $s0, 0xffffff
+	li	$t4, test
+	dvp
+	dvp	$a1
+	evp
+	evp	$a2
+	.end	test_spec107
diff --git a/gas/testsuite/gas/nanomips/nanomips32.d b/gas/testsuite/gas/nanomips/nanomips32.d
new file mode 100644
index 00000000000..5f410744952
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/nanomips32.d
@@ -0,0 +1,2309 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: nanoMIPS 32-bit instruction mode
+#as: -minsn32 --defsym insn32=
+#warning_output: nanomips.l
+#source: nanomips.s
+
+# Check nanoMIPS32 fixed-size instructions
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]+> 8400 3000 	pref	0x0,0\(zero\)
+[0-9a-f]+ <[^>]+> 8400 37ff 	pref	0x0,2047\(zero\)
+[0-9a-f]+ <[^>]+> 8020 8800 	li	at,-2048
+[0-9a-f]+ <[^>]+> a401 1800 	pref	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 8400 3800 	pref	0x0,2048\(zero\)
+[0-9a-f]+ <[^>]+> 8020 8801 	li	at,-2049
+[0-9a-f]+ <[^>]+> a401 1800 	pref	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 8400 3000 	pref	0x0,0\(zero\)
+[0-9a-f]+ <[^>]+> 8400 3000 	pref	0x0,0\(zero\)
+[0-9a-f]+ <[^>]+> 8420 3000 	pref	0x1,0\(zero\)
+[0-9a-f]+ <[^>]+> 8440 3000 	pref	0x2,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 3000 	pref	0x3,0\(zero\)
+[0-9a-f]+ <[^>]+> 8480 3000 	pref	0x4,0\(zero\)
+[0-9a-f]+ <[^>]+> 84a0 3000 	pref	0x5,0\(zero\)
+[0-9a-f]+ <[^>]+> 84c0 3000 	pref	0x6,0\(zero\)
+[0-9a-f]+ <[^>]+> 84e0 3000 	pref	0x7,0\(zero\)
+[0-9a-f]+ <[^>]+> 84e0 31ff 	pref	0x7,511\(zero\)
+[0-9a-f]+ <[^>]+> 8020 8200 	li	at,-512
+[0-9a-f]+ <[^>]+> a4e1 1800 	pref	0x7,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> a461 1800 	pref	0x3,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a461 1800 	pref	0x3,0\(at\)
+[0-9a-f]+ <[^>]+> 0022 7fff 	addiu	at,t4,32767
+[0-9a-f]+ <[^>]+> a461 1800 	pref	0x3,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2041 0950 	addu	at,at,t4
+[0-9a-f]+ <[^>]+> a461 1800 	pref	0x3,0\(at\)
+[0-9a-f]+ <[^>]+> 8000 c000 	nop
+[0-9a-f]+ <[^>]+> 8000 c000 	nop
+[0-9a-f]+ <[^>]+> 8000 c003 	ehb
+[0-9a-f]+ <[^>]+> 8000 c005 	pause
+[0-9a-f]+ <[^>]+> 8240 8001 	li	s2,-1
+[0-9a-f]+ <[^>]+> 8260 8001 	li	s3,-1
+[0-9a-f]+ <[^>]+> 8080 8001 	li	a0,-1
+[0-9a-f]+ <[^>]+> 80a0 8001 	li	a1,-1
+[0-9a-f]+ <[^>]+> 80c0 8001 	li	a2,-1
+[0-9a-f]+ <[^>]+> 80e0 8001 	li	a3,-1
+[0-9a-f]+ <[^>]+> 8200 8001 	li	s0,-1
+[0-9a-f]+ <[^>]+> 8220 8001 	li	s1,-1
+[0-9a-f]+ <[^>]+> 0220 0000 	li	s1,0
+[0-9a-f]+ <[^>]+> 0220 007d 	li	s1,125
+[0-9a-f]+ <[^>]+> 0220 007e 	li	s1,126
+[0-9a-f]+ <[^>]+> 0220 007f 	li	s1,127
+[0-9a-f]+ <[^>]+> 0180 0000 	li	t0,0
+[0-9a-f]+ <[^>]+> 0320 0000 	li	t9,0
+[0-9a-f]+ <[^>]+> 0040 0000 	li	t4,0
+[0-9a-f]+ <[^>]+> 0040 0001 	li	t4,1
+[0-9a-f]+ <[^>]+> 0040 7fff 	li	t4,32767
+[0-9a-f]+ <[^>]+> e05f 8ffd 	lui	t4,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 0040 ffff 	li	t4,65535
+[0-9a-f]+ <[^>]+> e041 0000 	lui	t4,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> e05f 8ffd 	lui	t4,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> e05f 8ffd 	lui	t4,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8042 0001 	ori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 8040 8001 	li	t4,-1
+[0-9a-f]+ <[^>]+> e054 5244 	lui	t4,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8042 0678 	ori	t4,t4,0x678
+[0-9a-f]+ <[^>]+> 8060 8001 	li	t5,-1
+[0-9a-f]+ <[^>]+> 8080 8001 	li	a0,-1
+[0-9a-f]+ <[^>]+> 2016 0290 	move	zero,s6
+[0-9a-f]+ <[^>]+> 2016 1290 	move	t4,s6
+[0-9a-f]+ <[^>]+> 2016 1a90 	move	t5,s6
+[0-9a-f]+ <[^>]+> 2016 2290 	move	a0,s6
+[0-9a-f]+ <[^>]+> 2016 2a90 	move	a1,s6
+[0-9a-f]+ <[^>]+> 2016 3290 	move	a2,s6
+[0-9a-f]+ <[^>]+> 2016 3a90 	move	a3,s6
+[0-9a-f]+ <[^>]+> 2016 4290 	move	a4,s6
+[0-9a-f]+ <[^>]+> 2016 4a90 	move	a5,s6
+[0-9a-f]+ <[^>]+> 2016 5290 	move	a6,s6
+[0-9a-f]+ <[^>]+> 2016 f290 	move	fp,s6
+[0-9a-f]+ <[^>]+> 2016 fa90 	move	ra,s6
+[0-9a-f]+ <[^>]+> 2000 0290 	move	zero,zero
+[0-9a-f]+ <[^>]+> 2002 0290 	move	zero,t4
+[0-9a-f]+ <[^>]+> 2003 0290 	move	zero,t5
+[0-9a-f]+ <[^>]+> 2004 0290 	move	zero,a0
+[0-9a-f]+ <[^>]+> 2005 0290 	move	zero,a1
+[0-9a-f]+ <[^>]+> 2006 0290 	move	zero,a2
+[0-9a-f]+ <[^>]+> 2007 0290 	move	zero,a3
+[0-9a-f]+ <[^>]+> 2008 0290 	move	zero,a4
+[0-9a-f]+ <[^>]+> 2009 0290 	move	zero,a5
+[0-9a-f]+ <[^>]+> 200a 0290 	move	zero,a6
+[0-9a-f]+ <[^>]+> 201e 0290 	move	zero,fp
+[0-9a-f]+ <[^>]+> 201f 0290 	move	zero,ra
+[0-9a-f]+ <[^>]+> 2002 b290 	move	s6,t4
+[0-9a-f]+ <[^>]+> 2016 1290 	move	t4,s6
+[0-9a-f]+ <[^>]+> 2002 b290 	move	s6,t4
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	00000000 <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	00000000 <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	0000016c <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	0000016c <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	0000016c <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	0000016c <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 2003 1290 	move	t4,t5
+[0-9a-f]+ <[^>]+> 8803 8000 	bgezc	t5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L\^_0
+[0-9a-f]+ <[^>]+> 2060 11d0 	negu	t4,t5
+[0-9a-f]+ <[^>]+> 2004 1290 	move	t4,a0
+[0-9a-f]+ <[^>]+> 8804 8000 	bgezc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L\^_1
+[0-9a-f]+ <[^>]+> 2080 11d0 	negu	t4,a0
+[0-9a-f]+ <[^>]+> 8802 8000 	bgezc	t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L\^_2
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 8802 8000 	bgezc	t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L\^_3
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 2083 1110 	add	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe e910 	add	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 1110 	add	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1110 	add	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0042 0000 	addiu	t4,t4,0
+[0-9a-f]+ <[^>]+> 0020 0001 	li	at,1
+[0-9a-f]+ <[^>]+> 2022 1110 	add	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2022 1110 	add	t4,t4,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2022 1110 	add	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2022 1110 	add	t4,t4,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2024 1910 	add	t5,a0,at
+[0-9a-f]+ <[^>]+> 0064 0000 	addiu	t5,a0,0
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2024 1910 	add	t5,a0,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2024 1910 	add	t5,a0,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 1910 	add	t5,t5,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 1910 	add	t5,t5,at
+[0-9a-f]+ <[^>]+> 8000 8008 	li	zero,-8
+[0-9a-f]+ <[^>]+> 8042 8008 	addiu	t4,t4,-8
+[0-9a-f]+ <[^>]+> 8063 8008 	addiu	t5,t5,-8
+[0-9a-f]+ <[^>]+> 8084 8008 	addiu	a0,a0,-8
+[0-9a-f]+ <[^>]+> 80a5 8008 	addiu	a1,a1,-8
+[0-9a-f]+ <[^>]+> 80c6 8008 	addiu	a2,a2,-8
+[0-9a-f]+ <[^>]+> 80e7 8008 	addiu	a3,a3,-8
+[0-9a-f]+ <[^>]+> 8108 8008 	addiu	a4,a4,-8
+[0-9a-f]+ <[^>]+> 8129 8008 	addiu	a5,a5,-8
+[0-9a-f]+ <[^>]+> 814a 8008 	addiu	a6,a6,-8
+[0-9a-f]+ <[^>]+> 83de 8008 	addiu	fp,fp,-8
+[0-9a-f]+ <[^>]+> 83ff 8008 	addiu	ra,ra,-8
+[0-9a-f]+ <[^>]+> 83ff 8007 	addiu	ra,ra,-7
+[0-9a-f]+ <[^>]+> 03ff 0000 	addiu	ra,ra,0
+[0-9a-f]+ <[^>]+> 03ff 0001 	addiu	ra,ra,1
+[0-9a-f]+ <[^>]+> 03ff 0006 	addiu	ra,ra,6
+[0-9a-f]+ <[^>]+> 03ff 0007 	addiu	ra,ra,7
+[0-9a-f]+ <[^>]+> 03ff 0008 	addiu	ra,ra,8
+[0-9a-f]+ <[^>]+> 83bd 8408 	addiu	sp,sp,-1032
+[0-9a-f]+ <[^>]+> 83bd 8404 	addiu	sp,sp,-1028
+[0-9a-f]+ <[^>]+> 83bd 8400 	addiu	sp,sp,-1024
+[0-9a-f]+ <[^>]+> 03bd 03fc 	addiu	sp,sp,1020
+[0-9a-f]+ <[^>]+> 03bd 0400 	addiu	sp,sp,1024
+[0-9a-f]+ <[^>]+> 03bd 0404 	addiu	sp,sp,1028
+[0-9a-f]+ <[^>]+> 03bd 0404 	addiu	sp,sp,1028
+[0-9a-f]+ <[^>]+> 03bd 0408 	addiu	sp,sp,1032
+[0-9a-f]+ <[^>]+> 8042 8001 	addiu	t4,t4,-1
+[0-9a-f]+ <[^>]+> 8043 8001 	addiu	t4,t5,-1
+[0-9a-f]+ <[^>]+> 8044 8001 	addiu	t4,a0,-1
+[0-9a-f]+ <[^>]+> 8045 8001 	addiu	t4,a1,-1
+[0-9a-f]+ <[^>]+> 8046 8001 	addiu	t4,a2,-1
+[0-9a-f]+ <[^>]+> 8047 8001 	addiu	t4,a3,-1
+[0-9a-f]+ <[^>]+> 8050 8001 	addiu	t4,s0,-1
+[0-9a-f]+ <[^>]+> 8051 8001 	addiu	t4,s1,-1
+[0-9a-f]+ <[^>]+> 0051 0001 	addiu	t4,s1,1
+[0-9a-f]+ <[^>]+> 0251 0004 	addiu	s2,s1,4
+[0-9a-f]+ <[^>]+> 0251 0008 	addiu	s2,s1,8
+[0-9a-f]+ <[^>]+> 0251 000c 	addiu	s2,s1,12
+[0-9a-f]+ <[^>]+> 0251 0010 	addiu	s2,s1,16
+[0-9a-f]+ <[^>]+> 0251 0014 	addiu	s2,s1,20
+[0-9a-f]+ <[^>]+> 0251 0018 	addiu	s2,s1,24
+[0-9a-f]+ <[^>]+> 0271 0018 	addiu	s3,s1,24
+[0-9a-f]+ <[^>]+> 0091 0018 	addiu	a0,s1,24
+[0-9a-f]+ <[^>]+> 00b1 0018 	addiu	a1,s1,24
+[0-9a-f]+ <[^>]+> 00d1 0018 	addiu	a2,s1,24
+[0-9a-f]+ <[^>]+> 00f1 0018 	addiu	a3,s1,24
+[0-9a-f]+ <[^>]+> 0211 0018 	addiu	s0,s1,24
+[0-9a-f]+ <[^>]+> 0231 0018 	addiu	s1,s1,24
+[0-9a-f]+ <[^>]+> 025d 0000 	addiu	s2,sp,0
+[0-9a-f]+ <[^>]+> 025d 0004 	addiu	s2,sp,4
+[0-9a-f]+ <[^>]+> 025d 00f8 	addiu	s2,sp,248
+[0-9a-f]+ <[^>]+> 025d 00fc 	addiu	s2,sp,252
+[0-9a-f]+ <[^>]+> 005d 0100 	addiu	t4,sp,256
+[0-9a-f]+ <[^>]+> 025d 00fc 	addiu	s2,sp,252
+[0-9a-f]+ <[^>]+> 027d 00fc 	addiu	s3,sp,252
+[0-9a-f]+ <[^>]+> 009d 00fc 	addiu	a0,sp,252
+[0-9a-f]+ <[^>]+> 00bd 00fc 	addiu	a1,sp,252
+[0-9a-f]+ <[^>]+> 00dd 00fc 	addiu	a2,sp,252
+[0-9a-f]+ <[^>]+> 00fd 00fc 	addiu	a3,sp,252
+[0-9a-f]+ <[^>]+> 021d 00fc 	addiu	s0,sp,252
+[0-9a-f]+ <[^>]+> 023d 00fc 	addiu	s1,sp,252
+[0-9a-f]+ <[^>]+> 8064 8fff 	addiu	t5,a0,-4095
+[0-9a-f]+ <[^>]+> 0264 0000 	addiu	s3,a0,0
+[0-9a-f]+ <[^>]+> 0064 1fff 	addiu	t5,a0,8191
+[0-9a-f]+ <[^>]+> 0064 3fff 	addiu	t5,a0,16383
+[0-9a-f]+ <[^>]+> 0063 3fff 	addiu	t5,t5,16383
+[0-9a-f]+ <[^>]+> 0063 3fff 	addiu	t5,t5,16383
+[0-9a-f]+ <[^>]+> 2016 1150 	move	t4,s6
+[0-9a-f]+ <[^>]+> 2002 b150 	move	s6,t4
+[0-9a-f]+ <[^>]+> 22c0 1150 	addu	t4,zero,s6
+[0-9a-f]+ <[^>]+> 2040 b150 	addu	s6,zero,t4
+[0-9a-f]+ <[^>]+> 2253 9150 	addu	s2,s3,s2
+[0-9a-f]+ <[^>]+> 2273 9150 	addu	s2,s3,s3
+[0-9a-f]+ <[^>]+> 2093 9150 	addu	s2,s3,a0
+[0-9a-f]+ <[^>]+> 20b3 9150 	addu	s2,s3,a1
+[0-9a-f]+ <[^>]+> 20d3 9150 	addu	s2,s3,a2
+[0-9a-f]+ <[^>]+> 20f3 9150 	addu	s2,s3,a3
+[0-9a-f]+ <[^>]+> 2213 9150 	addu	s2,s3,s0
+[0-9a-f]+ <[^>]+> 2233 9150 	addu	s2,s3,s1
+[0-9a-f]+ <[^>]+> 2232 9150 	addu	s2,s2,s1
+[0-9a-f]+ <[^>]+> 2233 9150 	addu	s2,s3,s1
+[0-9a-f]+ <[^>]+> 2224 9150 	addu	s2,a0,s1
+[0-9a-f]+ <[^>]+> 2225 9150 	addu	s2,a1,s1
+[0-9a-f]+ <[^>]+> 2226 9150 	addu	s2,a2,s1
+[0-9a-f]+ <[^>]+> 2227 9150 	addu	s2,a3,s1
+[0-9a-f]+ <[^>]+> 2230 9150 	addu	s2,s0,s1
+[0-9a-f]+ <[^>]+> 2231 9150 	addu	s2,s1,s1
+[0-9a-f]+ <[^>]+> 2232 9150 	addu	s2,s2,s1
+[0-9a-f]+ <[^>]+> 2232 9950 	addu	s3,s2,s1
+[0-9a-f]+ <[^>]+> 2232 2150 	addu	a0,s2,s1
+[0-9a-f]+ <[^>]+> 2232 2950 	addu	a1,s2,s1
+[0-9a-f]+ <[^>]+> 2232 3150 	addu	a2,s2,s1
+[0-9a-f]+ <[^>]+> 2232 3950 	addu	a3,s2,s1
+[0-9a-f]+ <[^>]+> 2232 8150 	addu	s0,s2,s1
+[0-9a-f]+ <[^>]+> 2232 8950 	addu	s1,s2,s1
+[0-9a-f]+ <[^>]+> 2247 3950 	addu	a3,a3,s2
+[0-9a-f]+ <[^>]+> 2247 3950 	addu	a3,a3,s2
+[0-9a-f]+ <[^>]+> 20f2 3950 	addu	a3,s2,a3
+[0-9a-f]+ <[^>]+> 23fe e950 	addu	sp,fp,ra
+[0-9a-f]+ <[^>]+> 0042 0000 	addiu	t4,t4,0
+[0-9a-f]+ <[^>]+> 0042 0001 	addiu	t4,t4,1
+[0-9a-f]+ <[^>]+> 0042 7fff 	addiu	t4,t4,32767
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2022 1150 	addu	t4,t4,at
+[0-9a-f]+ <[^>]+> 0042 ffff 	addiu	t4,t4,65535
+[0-9a-f]+ <[^>]+> 2252 9250 	and	s2,s2,s2
+[0-9a-f]+ <[^>]+> 2272 9250 	and	s2,s2,s3
+[0-9a-f]+ <[^>]+> 2092 9250 	and	s2,s2,a0
+[0-9a-f]+ <[^>]+> 20b2 9250 	and	s2,s2,a1
+[0-9a-f]+ <[^>]+> 20d2 9250 	and	s2,s2,a2
+[0-9a-f]+ <[^>]+> 20f2 9250 	and	s2,s2,a3
+[0-9a-f]+ <[^>]+> 2212 9250 	and	s2,s2,s0
+[0-9a-f]+ <[^>]+> 2232 9250 	and	s2,s2,s1
+[0-9a-f]+ <[^>]+> 2253 9a50 	and	s3,s3,s2
+[0-9a-f]+ <[^>]+> 2244 2250 	and	a0,a0,s2
+[0-9a-f]+ <[^>]+> 2245 2a50 	and	a1,a1,s2
+[0-9a-f]+ <[^>]+> 2246 3250 	and	a2,a2,s2
+[0-9a-f]+ <[^>]+> 2247 3a50 	and	a3,a3,s2
+[0-9a-f]+ <[^>]+> 2250 8250 	and	s0,s0,s2
+[0-9a-f]+ <[^>]+> 2251 8a50 	and	s1,s1,s2
+[0-9a-f]+ <[^>]+> 2272 9250 	and	s2,s2,s3
+[0-9a-f]+ <[^>]+> 2272 9250 	and	s2,s2,s3
+[0-9a-f]+ <[^>]+> 2253 9250 	and	s2,s3,s2
+[0-9a-f]+ <[^>]+> 2062 1250 	and	t4,t4,t5
+[0-9a-f]+ <[^>]+> 8252 2001 	andi	s2,s2,0x1
+[0-9a-f]+ <[^>]+> 8252 2002 	andi	s2,s2,0x2
+[0-9a-f]+ <[^>]+> 8252 2003 	andi	s2,s2,0x3
+[0-9a-f]+ <[^>]+> 8252 2004 	andi	s2,s2,0x4
+[0-9a-f]+ <[^>]+> 8252 2007 	andi	s2,s2,0x7
+[0-9a-f]+ <[^>]+> 8252 2008 	andi	s2,s2,0x8
+[0-9a-f]+ <[^>]+> 8252 200f 	andi	s2,s2,0xf
+[0-9a-f]+ <[^>]+> 8042 2010 	andi	t4,t4,0x10
+[0-9a-f]+ <[^>]+> 8042 201f 	andi	t4,t4,0x1f
+[0-9a-f]+ <[^>]+> 8042 2020 	andi	t4,t4,0x20
+[0-9a-f]+ <[^>]+> 8042 203f 	andi	t4,t4,0x3f
+[0-9a-f]+ <[^>]+> 8042 2040 	andi	t4,t4,0x40
+[0-9a-f]+ <[^>]+> 8042 2080 	andi	t4,t4,0x80
+[0-9a-f]+ <[^>]+> 8252 20ff 	andi	s2,s2,0xff
+[0-9a-f]+ <[^>]+> 8042 2fff 	andi	t4,t4,0xfff
+[0-9a-f]+ <[^>]+> 8252 f3c0 	ext	s2,s2,0,16
+[0-9a-f]+ <[^>]+> 8253 f3c0 	ext	s2,s3,0,16
+[0-9a-f]+ <[^>]+> 8244 f3c0 	ext	s2,a0,0,16
+[0-9a-f]+ <[^>]+> 8245 f3c0 	ext	s2,a1,0,16
+[0-9a-f]+ <[^>]+> 8246 f3c0 	ext	s2,a2,0,16
+[0-9a-f]+ <[^>]+> 8247 f3c0 	ext	s2,a3,0,16
+[0-9a-f]+ <[^>]+> 8250 f3c0 	ext	s2,s0,0,16
+[0-9a-f]+ <[^>]+> 8251 f3c0 	ext	s2,s1,0,16
+[0-9a-f]+ <[^>]+> 8271 f3c0 	ext	s3,s1,0,16
+[0-9a-f]+ <[^>]+> 8091 f3c0 	ext	a0,s1,0,16
+[0-9a-f]+ <[^>]+> 80b1 f3c0 	ext	a1,s1,0,16
+[0-9a-f]+ <[^>]+> 80d1 f3c0 	ext	a2,s1,0,16
+[0-9a-f]+ <[^>]+> 80f1 f3c0 	ext	a3,s1,0,16
+[0-9a-f]+ <[^>]+> 8211 f3c0 	ext	s0,s1,0,16
+[0-9a-f]+ <[^>]+> 8231 f3c0 	ext	s1,s1,0,16
+[0-9a-f]+ <[^>]+> 80e7 f3c0 	ext	a3,a3,0,16
+[0-9a-f]+ <[^>]+> 80e7 f3c0 	ext	a3,a3,0,16
+[0-9a-f]+ <[^>]+> 2083 1250 	and	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 1250 	and	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1250 	and	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8043 2000 	andi	t4,t5,0x0
+[0-9a-f]+ <[^>]+> 8043 2fff 	andi	t4,t5,0xfff
+[0-9a-f]+ <[^>]+> 0020 1000 	li	at,4096
+[0-9a-f]+ <[^>]+> 2023 1250 	and	t4,t5,at
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8021 0001 	ori	at,at,0x1
+[0-9a-f]+ <[^>]+> 2023 1250 	and	t4,t5,at
+[0-9a-f]+ <[^>]+> 8a40 0000 	beqzc	s2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8a60 0000 	beqzc	s3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8880 0000 	beqzc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 88a0 0000 	beqzc	a1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 88c0 0000 	beqzc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 88e0 0000 	beqzc	a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8a00 0000 	beqzc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8a20 0000 	beqzc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8812 0000 	beqzc	s2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8813 0000 	beqzc	s3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8804 0000 	beqzc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8805 0000 	beqzc	a1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8806 0000 	beqzc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8807 0000 	beqzc	a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8810 0000 	beqzc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8811 0000 	beqzc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8a40 0000 	beqzc	s2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8a60 0000 	beqzc	s3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8880 0000 	beqzc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 88a0 0000 	beqzc	a1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 88c0 0000 	beqzc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 88e0 0000 	beqzc	a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8a00 0000 	beqzc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8a20 0000 	beqzc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8a00 0000 	beqzc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8a20 0000 	beqzc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8a20 0000 	beqzc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8a20 0000 	beqzc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8a00 0000 	beqzc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> ca00 5000 	beqic	s0,10,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test2
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 8830 0000 	beqc	s0,at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 8830 0000 	beqc	s0,at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> aa40 0000 	bnezc	s2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> aa60 0000 	bnezc	s3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a880 0000 	bnezc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a8a0 0000 	bnezc	a1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a8c0 0000 	bnezc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a8e0 0000 	bnezc	a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> aa00 0000 	bnezc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> aa20 0000 	bnezc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a812 0000 	bnezc	s2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a813 0000 	bnezc	s3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a804 0000 	bnezc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a805 0000 	bnezc	a1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a806 0000 	bnezc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a807 0000 	bnezc	a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a810 0000 	bnezc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a811 0000 	bnezc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> aa40 0000 	bnezc	s2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> aa60 0000 	bnezc	s3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a880 0000 	bnezc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a8a0 0000 	bnezc	a1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a8c0 0000 	bnezc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a8e0 0000 	bnezc	a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> aa00 0000 	bnezc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> aa20 0000 	bnezc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> aa00 0000 	bnezc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> aa20 0000 	bnezc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> aa20 0000 	bnezc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> aa20 0000 	bnezc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 0010 0000 	break
+[0-9a-f]+ <[^>]+> 0010 0000 	break
+[0-9a-f]+ <[^>]+> 0010 0001 	break	0x1
+[0-9a-f]+ <[^>]+> 0010 0002 	break	0x2
+[0-9a-f]+ <[^>]+> 0010 0003 	break	0x3
+[0-9a-f]+ <[^>]+> 0010 0004 	break	0x4
+[0-9a-f]+ <[^>]+> 0010 0005 	break	0x5
+[0-9a-f]+ <[^>]+> 0010 0006 	break	0x6
+[0-9a-f]+ <[^>]+> 0010 0007 	break	0x7
+[0-9a-f]+ <[^>]+> 0010 0008 	break	0x8
+[0-9a-f]+ <[^>]+> 0010 0009 	break	0x9
+[0-9a-f]+ <[^>]+> 0010 000a 	break	0xa
+[0-9a-f]+ <[^>]+> 0010 000b 	break	0xb
+[0-9a-f]+ <[^>]+> 0010 000c 	break	0xc
+[0-9a-f]+ <[^>]+> 0010 000d 	break	0xd
+[0-9a-f]+ <[^>]+> 0010 000e 	break	0xe
+[0-9a-f]+ <[^>]+> 0010 000f 	break	0xf
+[0-9a-f]+ <[^>]+> 0010 003f 	break	0x3f
+[0-9a-f]+ <[^>]+> 0010 0040 	break	0x40
+[0-9a-f]+ <[^>]+> 0010 03ff 	break	0x3ff
+[0-9a-f]+ <[^>]+> 0010 0000 	break
+[0-9a-f]+ <[^>]+> 0010 0000 	break
+[0-9a-f]+ <[^>]+> 0010 0001 	break	0x1
+[0-9a-f]+ <[^>]+> 0010 0002 	break	0x2
+[0-9a-f]+ <[^>]+> 0010 000f 	break	0xf
+[0-9a-f]+ <[^>]+> 0010 003f 	break	0x3f
+[0-9a-f]+ <[^>]+> 0010 0040 	break	0x40
+[0-9a-f]+ <[^>]+> 0010 03ff 	break	0x3ff
+[0-9a-f]+ <[^>]+> a400 3900 	cache	0x0,0\(zero\)
+[0-9a-f]+ <[^>]+> 8020 8800 	li	at,-2048
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 07ff 	li	at,2047
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 8020 8801 	li	at,-2049
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 0800 	li	at,2048
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> a402 3900 	cache	0x0,0\(t4\)
+[0-9a-f]+ <[^>]+> 8022 8800 	addiu	at,t4,-2048
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 0022 07ff 	addiu	at,t4,2047
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 8022 8801 	addiu	at,t4,-2049
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 0022 0800 	addiu	at,t4,2048
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> a400 3900 	cache	0x0,0\(zero\)
+[0-9a-f]+ <[^>]+> a400 3900 	cache	0x0,0\(zero\)
+[0-9a-f]+ <[^>]+> a420 3900 	cache	0x1,0\(zero\)
+[0-9a-f]+ <[^>]+> a440 3900 	cache	0x2,0\(zero\)
+[0-9a-f]+ <[^>]+> a460 3900 	cache	0x3,0\(zero\)
+[0-9a-f]+ <[^>]+> a480 3900 	cache	0x4,0\(zero\)
+[0-9a-f]+ <[^>]+> a4a0 3900 	cache	0x5,0\(zero\)
+[0-9a-f]+ <[^>]+> a4c0 3900 	cache	0x6,0\(zero\)
+[0-9a-f]+ <[^>]+> a7e0 3900 	cache	0x1f,0\(zero\)
+[0-9a-f]+ <[^>]+> 0020 07ff 	li	at,2047
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 8020 8800 	li	at,-2048
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 07ff 	li	at,2047
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 8020 8800 	li	at,-2048
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2061 0950 	addu	at,at,t5
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 0023 0800 	addiu	at,t5,2048
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 8023 8801 	addiu	at,t5,-2049
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2061 0950 	addu	at,at,t5
+[0-9a-f]+ <[^>]+> a7e1 3901 	cache	0x1f,1\(at\)
+[0-9a-f]+ <[^>]+> a7e3 b9ff 	cache	0x1f,-1\(t5\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2061 0950 	addu	at,at,t5
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2061 0950 	addu	at,at,t5
+[0-9a-f]+ <[^>]+> a7e1 3901 	cache	0x1f,1\(at\)
+[0-9a-f]+ <[^>]+> 0023 ffff 	addiu	at,t5,65535
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 0800 	li	at,2048
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 8020 8801 	li	at,-2049
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> a7e1 3901 	cache	0x1f,1\(at\)
+[0-9a-f]+ <[^>]+> a7e0 b9ff 	cache	0x1f,-1\(zero\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> a7e1 3901 	cache	0x1f,1\(at\)
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 2043 4b3f 	clo	t4,t5
+[0-9a-f]+ <[^>]+> 2062 4b3f 	clo	t5,t4
+[0-9a-f]+ <[^>]+> 2043 5b3f 	clz	t4,t5
+[0-9a-f]+ <[^>]+> 2062 5b3f 	clz	t5,t4
+[0-9a-f]+ <[^>]+> 2000 e37f 	deret
+[0-9a-f]+ <[^>]+> 2000 477f 	di
+[0-9a-f]+ <[^>]+> 2000 477f 	di
+[0-9a-f]+ <[^>]+> 2040 477f 	di	t4
+[0-9a-f]+ <[^>]+> 2060 477f 	di	t5
+[0-9a-f]+ <[^>]+> 23c0 477f 	di	fp
+[0-9a-f]+ <[^>]+> 23e0 477f 	di	ra
+[0-9a-f]+ <[^>]+> 2062 0118 	div	zero,t4,t5
+[0-9a-f]+ <[^>]+> 23fe 0118 	div	zero,fp,ra
+[0-9a-f]+ <[^>]+> 2060 0118 	div	zero,zero,t5
+[0-9a-f]+ <[^>]+> 23e0 0118 	div	zero,zero,ra
+[0-9a-f]+ <[^>]+> 2003 1118 	div	t4,t5,zero
+[0-9a-f]+ <[^>]+> 2083 1118 	div	t4,t5,a0
+[0-9a-f]+ <[^>]+> 0010 0007 	break	0x7
+[0-9a-f]+ <[^>]+> 2004 1a90 	move	t5,a0
+[0-9a-f]+ <[^>]+> 2080 1990 	neg	t5,a0
+[0-9a-f]+ <[^>]+> 0020 0002 	li	at,2
+[0-9a-f]+ <[^>]+> 2024 1918 	div	t5,a0,at
+[0-9a-f]+ <[^>]+> 2062 0198 	divu	zero,t4,t5
+[0-9a-f]+ <[^>]+> 23fe 0198 	divu	zero,fp,ra
+[0-9a-f]+ <[^>]+> 2060 0198 	divu	zero,zero,t5
+[0-9a-f]+ <[^>]+> 23e0 0198 	divu	zero,zero,ra
+[0-9a-f]+ <[^>]+> 2003 1198 	divu	t4,t5,zero
+[0-9a-f]+ <[^>]+> 2083 1198 	divu	t4,t5,a0
+[0-9a-f]+ <[^>]+> 0010 0007 	break	0x7
+[0-9a-f]+ <[^>]+> 2004 1a90 	move	t5,a0
+[0-9a-f]+ <[^>]+> 8020 8001 	li	at,-1
+[0-9a-f]+ <[^>]+> 2024 1998 	divu	t5,a0,at
+[0-9a-f]+ <[^>]+> 0020 0002 	li	at,2
+[0-9a-f]+ <[^>]+> 2024 1998 	divu	t5,a0,at
+[0-9a-f]+ <[^>]+> 2000 577f 	ei
+[0-9a-f]+ <[^>]+> 2000 577f 	ei
+[0-9a-f]+ <[^>]+> 2040 577f 	ei	t4
+[0-9a-f]+ <[^>]+> 2060 577f 	ei	t5
+[0-9a-f]+ <[^>]+> 23c0 577f 	ei	fp
+[0-9a-f]+ <[^>]+> 23e0 577f 	ei	ra
+[0-9a-f]+ <[^>]+> 2000 f37f 	eret
+[0-9a-f]+ <[^>]+> 8043 f385 	ext	t4,t5,5,15
+[0-9a-f]+ <[^>]+> 8043 f7c0 	ext	t4,t5,0,32
+[0-9a-f]+ <[^>]+> 8043 f01f 	ext	t4,t5,31,1
+[0-9a-f]+ <[^>]+> 83fe f01f 	ext	ra,fp,31,1
+[0-9a-f]+ <[^>]+> 8043 e4c5 	ins	t4,t5,5,15
+[0-9a-f]+ <[^>]+> 8043 e7c0 	ins	t4,t5,0,32
+[0-9a-f]+ <[^>]+> 8043 e7df 	ins	t4,t5,31,1
+[0-9a-f]+ <[^>]+> 83fe e7df 	ins	ra,fp,31,1
+[0-9a-f]+ <[^>]+> 4800 0000 	jrc	zero
+[0-9a-f]+ <[^>]+> 4802 0000 	jrc	t4
+[0-9a-f]+ <[^>]+> 4803 0000 	jrc	t5
+[0-9a-f]+ <[^>]+> 4804 0000 	jrc	a0
+[0-9a-f]+ <[^>]+> 4805 0000 	jrc	a1
+[0-9a-f]+ <[^>]+> 4806 0000 	jrc	a2
+[0-9a-f]+ <[^>]+> 4807 0000 	jrc	a3
+[0-9a-f]+ <[^>]+> 4808 0000 	jrc	a4
+[0-9a-f]+ <[^>]+> 481e 0000 	jrc	fp
+[0-9a-f]+ <[^>]+> 481f 0000 	jrc	ra
+[0-9a-f]+ <[^>]+> 4800 0000 	jrc	zero
+[0-9a-f]+ <[^>]+> 4802 0000 	jrc	t4
+[0-9a-f]+ <[^>]+> 4803 0000 	jrc	t5
+[0-9a-f]+ <[^>]+> 4804 0000 	jrc	a0
+[0-9a-f]+ <[^>]+> 4805 0000 	jrc	a1
+[0-9a-f]+ <[^>]+> 4806 0000 	jrc	a2
+[0-9a-f]+ <[^>]+> 4807 0000 	jrc	a3
+[0-9a-f]+ <[^>]+> 4808 0000 	jrc	a4
+[0-9a-f]+ <[^>]+> 481e 0000 	jrc	fp
+[0-9a-f]+ <[^>]+> 481f 0000 	jrc	ra
+[0-9a-f]+ <[^>]+> 4800 0000 	jrc	zero
+[0-9a-f]+ <[^>]+> 4802 0000 	jrc	t4
+[0-9a-f]+ <[^>]+> 4803 0000 	jrc	t5
+[0-9a-f]+ <[^>]+> 4804 0000 	jrc	a0
+[0-9a-f]+ <[^>]+> 4805 0000 	jrc	a1
+[0-9a-f]+ <[^>]+> 4806 0000 	jrc	a2
+[0-9a-f]+ <[^>]+> 4807 0000 	jrc	a3
+[0-9a-f]+ <[^>]+> 4808 0000 	jrc	a4
+[0-9a-f]+ <[^>]+> 481e 0000 	jrc	fp
+[0-9a-f]+ <[^>]+> 481f 0000 	jrc	ra
+[0-9a-f]+ <[^>]+> 4800 1000 	jrc.hb	zero
+[0-9a-f]+ <[^>]+> 4802 1000 	jrc.hb	t4
+[0-9a-f]+ <[^>]+> 4803 1000 	jrc.hb	t5
+[0-9a-f]+ <[^>]+> 4804 1000 	jrc.hb	a0
+[0-9a-f]+ <[^>]+> 4805 1000 	jrc.hb	a1
+[0-9a-f]+ <[^>]+> 4806 1000 	jrc.hb	a2
+[0-9a-f]+ <[^>]+> 4807 1000 	jrc.hb	a3
+[0-9a-f]+ <[^>]+> 4808 1000 	jrc.hb	a4
+[0-9a-f]+ <[^>]+> 481e 1000 	jrc.hb	fp
+[0-9a-f]+ <[^>]+> 481f 1000 	jrc.hb	ra
+[0-9a-f]+ <[^>]+> 4800 0000 	jrc	zero
+[0-9a-f]+ <[^>]+> 4802 0000 	jrc	t4
+[0-9a-f]+ <[^>]+> 4803 0000 	jrc	t5
+[0-9a-f]+ <[^>]+> 4804 0000 	jrc	a0
+[0-9a-f]+ <[^>]+> 4805 0000 	jrc	a1
+[0-9a-f]+ <[^>]+> 4806 0000 	jrc	a2
+[0-9a-f]+ <[^>]+> 4807 0000 	jrc	a3
+[0-9a-f]+ <[^>]+> 4808 0000 	jrc	a4
+[0-9a-f]+ <[^>]+> 481e 0000 	jrc	fp
+[0-9a-f]+ <[^>]+> 481f 0000 	jrc	ra
+[0-9a-f]+ <[^>]+> 4be0 0000 	jalrc	zero
+[0-9a-f]+ <[^>]+> 4be2 0000 	jalrc	t4
+[0-9a-f]+ <[^>]+> 4be3 0000 	jalrc	t5
+[0-9a-f]+ <[^>]+> 4be4 0000 	jalrc	a0
+[0-9a-f]+ <[^>]+> 4be5 0000 	jalrc	a1
+[0-9a-f]+ <[^>]+> 4be6 0000 	jalrc	a2
+[0-9a-f]+ <[^>]+> 4be7 0000 	jalrc	a3
+[0-9a-f]+ <[^>]+> 4be8 0000 	jalrc	a4
+[0-9a-f]+ <[^>]+> 4bfe 0000 	jalrc	fp
+[0-9a-f]+ <[^>]+> 4be0 0000 	jalrc	zero
+[0-9a-f]+ <[^>]+> 4be2 0000 	jalrc	t4
+[0-9a-f]+ <[^>]+> 4be3 0000 	jalrc	t5
+[0-9a-f]+ <[^>]+> 4be4 0000 	jalrc	a0
+[0-9a-f]+ <[^>]+> 4be5 0000 	jalrc	a1
+[0-9a-f]+ <[^>]+> 4be6 0000 	jalrc	a2
+[0-9a-f]+ <[^>]+> 4be7 0000 	jalrc	a3
+[0-9a-f]+ <[^>]+> 4be8 0000 	jalrc	a4
+[0-9a-f]+ <[^>]+> 4bfe 0000 	jalrc	fp
+[0-9a-f]+ <[^>]+> 4be0 0000 	jalrc	zero
+[0-9a-f]+ <[^>]+> 4be2 0000 	jalrc	t4
+[0-9a-f]+ <[^>]+> 4be3 0000 	jalrc	t5
+[0-9a-f]+ <[^>]+> 4be4 0000 	jalrc	a0
+[0-9a-f]+ <[^>]+> 4be5 0000 	jalrc	a1
+[0-9a-f]+ <[^>]+> 4be6 0000 	jalrc	a2
+[0-9a-f]+ <[^>]+> 4be7 0000 	jalrc	a3
+[0-9a-f]+ <[^>]+> 4be8 0000 	jalrc	a4
+[0-9a-f]+ <[^>]+> 4bfe 0000 	jalrc	fp
+[0-9a-f]+ <[^>]+> 4bdf 0000 	jalrc	fp,ra
+[0-9a-f]+ <[^>]+> 4840 0000 	jalrc	t4,zero
+[0-9a-f]+ <[^>]+> 4862 0000 	jalrc	t5,t4
+[0-9a-f]+ <[^>]+> 4843 0000 	jalrc	t4,t5
+[0-9a-f]+ <[^>]+> 4844 0000 	jalrc	t4,a0
+[0-9a-f]+ <[^>]+> 4845 0000 	jalrc	t4,a1
+[0-9a-f]+ <[^>]+> 4846 0000 	jalrc	t4,a2
+[0-9a-f]+ <[^>]+> 4847 0000 	jalrc	t4,a3
+[0-9a-f]+ <[^>]+> 4848 0000 	jalrc	t4,a4
+[0-9a-f]+ <[^>]+> 485e 0000 	jalrc	t4,fp
+[0-9a-f]+ <[^>]+> 485f 0000 	jalrc	t4,ra
+[0-9a-f]+ <[^>]+> 4be0 1000 	jalrc.hb	zero
+[0-9a-f]+ <[^>]+> 4be2 1000 	jalrc.hb	t4
+[0-9a-f]+ <[^>]+> 4be3 1000 	jalrc.hb	t5
+[0-9a-f]+ <[^>]+> 4be4 1000 	jalrc.hb	a0
+[0-9a-f]+ <[^>]+> 4be5 1000 	jalrc.hb	a1
+[0-9a-f]+ <[^>]+> 4be6 1000 	jalrc.hb	a2
+[0-9a-f]+ <[^>]+> 4be7 1000 	jalrc.hb	a3
+[0-9a-f]+ <[^>]+> 4be8 1000 	jalrc.hb	a4
+[0-9a-f]+ <[^>]+> 4bfe 1000 	jalrc.hb	fp
+[0-9a-f]+ <[^>]+> 4be0 1000 	jalrc.hb	zero
+[0-9a-f]+ <[^>]+> 4be2 1000 	jalrc.hb	t4
+[0-9a-f]+ <[^>]+> 4be3 1000 	jalrc.hb	t5
+[0-9a-f]+ <[^>]+> 4be4 1000 	jalrc.hb	a0
+[0-9a-f]+ <[^>]+> 4be5 1000 	jalrc.hb	a1
+[0-9a-f]+ <[^>]+> 4be6 1000 	jalrc.hb	a2
+[0-9a-f]+ <[^>]+> 4be7 1000 	jalrc.hb	a3
+[0-9a-f]+ <[^>]+> 4be8 1000 	jalrc.hb	a4
+[0-9a-f]+ <[^>]+> 4bfe 1000 	jalrc.hb	fp
+[0-9a-f]+ <[^>]+> 4bdf 1000 	jalrc.hb	fp,ra
+[0-9a-f]+ <[^>]+> 4840 1000 	jalrc.hb	t4,zero
+[0-9a-f]+ <[^>]+> 4862 1000 	jalrc.hb	t5,t4
+[0-9a-f]+ <[^>]+> 4843 1000 	jalrc.hb	t4,t5
+[0-9a-f]+ <[^>]+> 4844 1000 	jalrc.hb	t4,a0
+[0-9a-f]+ <[^>]+> 4845 1000 	jalrc.hb	t4,a1
+[0-9a-f]+ <[^>]+> 4846 1000 	jalrc.hb	t4,a2
+[0-9a-f]+ <[^>]+> 4847 1000 	jalrc.hb	t4,a3
+[0-9a-f]+ <[^>]+> 4848 1000 	jalrc.hb	t4,a4
+[0-9a-f]+ <[^>]+> 485e 1000 	jalrc.hb	t4,fp
+[0-9a-f]+ <[^>]+> 485f 1000 	jalrc.hb	t4,ra
+[0-9a-f]+ <[^>]+> 4843 0000 	jalrc	t4,t5
+[0-9a-f]+ <[^>]+> 4bdf 0000 	jalrc	fp,ra
+[0-9a-f]+ <[^>]+> 4be3 0000 	jalrc	t5
+[0-9a-f]+ <[^>]+> 4bff 0000 	jalrc	ra
+[0-9a-f]+ <[^>]+> 2a00 0000 	balc	00000000 <test>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> 2a00 0000 	balc	[0-9a-f]+ <test2>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test2
+[0-9a-f]+ <[^>]+> e040 0000 	lui	t4,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	test
+[0-9a-f]+ <[^>]+> 8042 0000 	ori	t4,t4,0x0
+			[0-9a-f]+: R_NANOMIPS_LO12	test
+[0-9a-f]+ <[^>]+> 8460 0000 	lb	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 0004 	lb	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 0000 	lb	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 0004 	lb	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0060 7fff 	li	t5,32767
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0060 ffff 	li	t5,65535
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 0001 	lb	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 0001 	lb	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a460 80ff 	lb	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8463 0678 	lb	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 8664 0000 	lb	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 8664 0000 	lb	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 0004 	lb	t5,4\(a0\)
+[0-9a-f]+ <[^>]+> 0064 7fff 	addiu	t5,a0,32767
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0064 ffff 	addiu	t5,a0,65535
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0001 	lb	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0001 	lb	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a464 80ff 	lb	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0678 	lb	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> a443 90ff 	lbu	t4,-1\(t5\)
+[0-9a-f]+ <[^>]+> 8653 2000 	lbu	s2,0\(s3\)
+[0-9a-f]+ <[^>]+> 8653 2000 	lbu	s2,0\(s3\)
+[0-9a-f]+ <[^>]+> 8653 2001 	lbu	s2,1\(s3\)
+[0-9a-f]+ <[^>]+> 8653 2002 	lbu	s2,2\(s3\)
+[0-9a-f]+ <[^>]+> 8653 2003 	lbu	s2,3\(s3\)
+[0-9a-f]+ <[^>]+> 8443 2004 	lbu	t4,4\(t5\)
+[0-9a-f]+ <[^>]+> 8443 2005 	lbu	t4,5\(t5\)
+[0-9a-f]+ <[^>]+> 8443 2006 	lbu	t4,6\(t5\)
+[0-9a-f]+ <[^>]+> 8443 2007 	lbu	t4,7\(t5\)
+[0-9a-f]+ <[^>]+> 8443 2008 	lbu	t4,8\(t5\)
+[0-9a-f]+ <[^>]+> 8443 2009 	lbu	t4,9\(t5\)
+[0-9a-f]+ <[^>]+> 8443 200a 	lbu	t4,10\(t5\)
+[0-9a-f]+ <[^>]+> 8443 200b 	lbu	t4,11\(t5\)
+[0-9a-f]+ <[^>]+> 8443 200c 	lbu	t4,12\(t5\)
+[0-9a-f]+ <[^>]+> 8443 200d 	lbu	t4,13\(t5\)
+[0-9a-f]+ <[^>]+> 8443 200e 	lbu	t4,14\(t5\)
+[0-9a-f]+ <[^>]+> 8442 200e 	lbu	t4,14\(t4\)
+[0-9a-f]+ <[^>]+> 8444 200e 	lbu	t4,14\(a0\)
+[0-9a-f]+ <[^>]+> 8445 200e 	lbu	t4,14\(a1\)
+[0-9a-f]+ <[^>]+> 8446 200e 	lbu	t4,14\(a2\)
+[0-9a-f]+ <[^>]+> 8447 200e 	lbu	t4,14\(a3\)
+[0-9a-f]+ <[^>]+> 8450 200e 	lbu	t4,14\(s0\)
+[0-9a-f]+ <[^>]+> 8451 200e 	lbu	t4,14\(s1\)
+[0-9a-f]+ <[^>]+> 8471 200e 	lbu	t5,14\(s1\)
+[0-9a-f]+ <[^>]+> 8491 200e 	lbu	a0,14\(s1\)
+[0-9a-f]+ <[^>]+> 84b1 200e 	lbu	a1,14\(s1\)
+[0-9a-f]+ <[^>]+> 84d1 200e 	lbu	a2,14\(s1\)
+[0-9a-f]+ <[^>]+> 84f1 200e 	lbu	a3,14\(s1\)
+[0-9a-f]+ <[^>]+> 8611 200e 	lbu	s0,14\(s1\)
+[0-9a-f]+ <[^>]+> 8631 200e 	lbu	s1,14\(s1\)
+[0-9a-f]+ <[^>]+> 8460 2000 	lbu	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 2004 	lbu	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 2000 	lbu	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 2004 	lbu	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0060 7fff 	li	t5,32767
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0060 ffff 	li	t5,65535
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 2001 	lbu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 2001 	lbu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a460 90ff 	lbu	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8463 2678 	lbu	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 8664 2000 	lbu	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 8664 2000 	lbu	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 2004 	lbu	t5,4\(a0\)
+[0-9a-f]+ <[^>]+> 0064 7fff 	addiu	t5,a0,32767
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0064 ffff 	addiu	t5,a0,65535
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2001 	lbu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2001 	lbu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a464 90ff 	lbu	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2678 	lbu	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 8460 4000 	lh	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 4004 	lh	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 4000 	lh	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 4004 	lh	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0060 7fff 	li	t5,32767
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0060 ffff 	li	t5,65535
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 4001 	lh	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 4001 	lh	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a460 a0ff 	lh	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8463 4678 	lh	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 8664 4000 	lh	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 8664 4000 	lh	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 8664 4004 	lh	s3,4\(a0\)
+[0-9a-f]+ <[^>]+> 0064 7fff 	addiu	t5,a0,32767
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0064 ffff 	addiu	t5,a0,65535
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4001 	lh	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4001 	lh	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a464 a0ff 	lh	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4678 	lh	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 8653 6000 	lhu	s2,0\(s3\)
+[0-9a-f]+ <[^>]+> 8653 6000 	lhu	s2,0\(s3\)
+[0-9a-f]+ <[^>]+> 8653 6002 	lhu	s2,2\(s3\)
+[0-9a-f]+ <[^>]+> 8653 6004 	lhu	s2,4\(s3\)
+[0-9a-f]+ <[^>]+> 8653 6006 	lhu	s2,6\(s3\)
+[0-9a-f]+ <[^>]+> 8443 6008 	lhu	t4,8\(t5\)
+[0-9a-f]+ <[^>]+> 8443 600a 	lhu	t4,10\(t5\)
+[0-9a-f]+ <[^>]+> 8443 600c 	lhu	t4,12\(t5\)
+[0-9a-f]+ <[^>]+> 8443 600e 	lhu	t4,14\(t5\)
+[0-9a-f]+ <[^>]+> 8443 6010 	lhu	t4,16\(t5\)
+[0-9a-f]+ <[^>]+> 8443 6012 	lhu	t4,18\(t5\)
+[0-9a-f]+ <[^>]+> 8443 6014 	lhu	t4,20\(t5\)
+[0-9a-f]+ <[^>]+> 8443 6016 	lhu	t4,22\(t5\)
+[0-9a-f]+ <[^>]+> 8443 6018 	lhu	t4,24\(t5\)
+[0-9a-f]+ <[^>]+> 8443 601a 	lhu	t4,26\(t5\)
+[0-9a-f]+ <[^>]+> 8443 601c 	lhu	t4,28\(t5\)
+[0-9a-f]+ <[^>]+> 8443 601e 	lhu	t4,30\(t5\)
+[0-9a-f]+ <[^>]+> 8444 601e 	lhu	t4,30\(a0\)
+[0-9a-f]+ <[^>]+> 8445 601e 	lhu	t4,30\(a1\)
+[0-9a-f]+ <[^>]+> 8446 601e 	lhu	t4,30\(a2\)
+[0-9a-f]+ <[^>]+> 8447 601e 	lhu	t4,30\(a3\)
+[0-9a-f]+ <[^>]+> 8442 601e 	lhu	t4,30\(t4\)
+[0-9a-f]+ <[^>]+> 8450 601e 	lhu	t4,30\(s0\)
+[0-9a-f]+ <[^>]+> 8451 601e 	lhu	t4,30\(s1\)
+[0-9a-f]+ <[^>]+> 8471 601e 	lhu	t5,30\(s1\)
+[0-9a-f]+ <[^>]+> 8491 601e 	lhu	a0,30\(s1\)
+[0-9a-f]+ <[^>]+> 84b1 601e 	lhu	a1,30\(s1\)
+[0-9a-f]+ <[^>]+> 84d1 601e 	lhu	a2,30\(s1\)
+[0-9a-f]+ <[^>]+> 84f1 601e 	lhu	a3,30\(s1\)
+[0-9a-f]+ <[^>]+> 8611 601e 	lhu	s0,30\(s1\)
+[0-9a-f]+ <[^>]+> 8631 601e 	lhu	s1,30\(s1\)
+[0-9a-f]+ <[^>]+> 8460 6000 	lhu	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 6004 	lhu	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 6000 	lhu	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 6004 	lhu	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0060 7fff 	li	t5,32767
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0060 ffff 	li	t5,65535
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 6001 	lhu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 6001 	lhu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a460 b0ff 	lhu	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8463 6678 	lhu	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 8664 6000 	lhu	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 8664 6000 	lhu	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 8664 6004 	lhu	s3,4\(a0\)
+[0-9a-f]+ <[^>]+> 0064 7fff 	addiu	t5,a0,32767
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0064 ffff 	addiu	t5,a0,65535
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6001 	lhu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6001 	lhu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a464 b0ff 	lhu	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6678 	lhu	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> a460 5100 	ll	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> a460 5100 	ll	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> a460 5104 	ll	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> a460 5104 	ll	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0060 7fff 	li	t5,32767
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0060 ffff 	li	t5,65535
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> a463 5104 	ll	t5,4\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a463 5104 	ll	t5,4\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 8060 8001 	li	t5,-1
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8063 0678 	ori	t5,t5,0x678
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a464 5100 	ll	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> a464 5100 	ll	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> a464 5104 	ll	t5,4\(a0\)
+[0-9a-f]+ <[^>]+> 0064 7fff 	addiu	t5,a0,32767
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0064 ffff 	addiu	t5,a0,65535
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5104 	ll	t5,4\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5104 	ll	t5,4\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 8064 8001 	addiu	t5,a0,-1
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8063 0678 	ori	t5,t5,0x678
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e060 0000 	lui	t5,0x0
+[0-9a-f]+ <[^>]+> e07f 0ffc 	lui	t5,%hi\(0x7fff0000\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8644 8000 	lw	s2,0\(a0\)
+[0-9a-f]+ <[^>]+> 8644 8000 	lw	s2,0\(a0\)
+[0-9a-f]+ <[^>]+> 8644 8004 	lw	s2,4\(a0\)
+[0-9a-f]+ <[^>]+> 8644 8008 	lw	s2,8\(a0\)
+[0-9a-f]+ <[^>]+> 8644 800c 	lw	s2,12\(a0\)
+[0-9a-f]+ <[^>]+> 8644 8010 	lw	s2,16\(a0\)
+[0-9a-f]+ <[^>]+> 8644 8014 	lw	s2,20\(a0\)
+[0-9a-f]+ <[^>]+> 8644 8018 	lw	s2,24\(a0\)
+[0-9a-f]+ <[^>]+> 8644 801c 	lw	s2,28\(a0\)
+[0-9a-f]+ <[^>]+> 8644 8020 	lw	s2,32\(a0\)
+[0-9a-f]+ <[^>]+> 8644 8024 	lw	s2,36\(a0\)
+[0-9a-f]+ <[^>]+> 8644 8028 	lw	s2,40\(a0\)
+[0-9a-f]+ <[^>]+> 8644 802c 	lw	s2,44\(a0\)
+[0-9a-f]+ <[^>]+> 8644 8030 	lw	s2,48\(a0\)
+[0-9a-f]+ <[^>]+> 8644 8034 	lw	s2,52\(a0\)
+[0-9a-f]+ <[^>]+> 8644 8038 	lw	s2,56\(a0\)
+[0-9a-f]+ <[^>]+> 8644 803c 	lw	s2,60\(a0\)
+[0-9a-f]+ <[^>]+> 8645 803c 	lw	s2,60\(a1\)
+[0-9a-f]+ <[^>]+> 8646 803c 	lw	s2,60\(a2\)
+[0-9a-f]+ <[^>]+> 8647 803c 	lw	s2,60\(a3\)
+[0-9a-f]+ <[^>]+> 8652 803c 	lw	s2,60\(s2\)
+[0-9a-f]+ <[^>]+> 8653 803c 	lw	s2,60\(s3\)
+[0-9a-f]+ <[^>]+> 8650 803c 	lw	s2,60\(s0\)
+[0-9a-f]+ <[^>]+> 8651 803c 	lw	s2,60\(s1\)
+[0-9a-f]+ <[^>]+> 8671 803c 	lw	s3,60\(s1\)
+[0-9a-f]+ <[^>]+> 8491 803c 	lw	a0,60\(s1\)
+[0-9a-f]+ <[^>]+> 84b1 803c 	lw	a1,60\(s1\)
+[0-9a-f]+ <[^>]+> 84d1 803c 	lw	a2,60\(s1\)
+[0-9a-f]+ <[^>]+> 84f1 803c 	lw	a3,60\(s1\)
+[0-9a-f]+ <[^>]+> 8611 803c 	lw	s0,60\(s1\)
+[0-9a-f]+ <[^>]+> 8631 803c 	lw	s1,60\(s1\)
+[0-9a-f]+ <[^>]+> 849d 8000 	lw	a0,0\(sp\)
+[0-9a-f]+ <[^>]+> 849d 8000 	lw	a0,0\(sp\)
+[0-9a-f]+ <[^>]+> 849d 8004 	lw	a0,4\(sp\)
+[0-9a-f]+ <[^>]+> 849d 8008 	lw	a0,8\(sp\)
+[0-9a-f]+ <[^>]+> 849d 800c 	lw	a0,12\(sp\)
+[0-9a-f]+ <[^>]+> 849d 8010 	lw	a0,16\(sp\)
+[0-9a-f]+ <[^>]+> 849d 8014 	lw	a0,20\(sp\)
+[0-9a-f]+ <[^>]+> 849d 807c 	lw	a0,124\(sp\)
+[0-9a-f]+ <[^>]+> 845d 807c 	lw	t4,124\(sp\)
+[0-9a-f]+ <[^>]+> 845d 807c 	lw	t4,124\(sp\)
+[0-9a-f]+ <[^>]+> 847d 807c 	lw	t5,124\(sp\)
+[0-9a-f]+ <[^>]+> 849d 807c 	lw	a0,124\(sp\)
+[0-9a-f]+ <[^>]+> 84bd 807c 	lw	a1,124\(sp\)
+[0-9a-f]+ <[^>]+> 84dd 807c 	lw	a2,124\(sp\)
+[0-9a-f]+ <[^>]+> 84fd 807c 	lw	a3,124\(sp\)
+[0-9a-f]+ <[^>]+> 851d 807c 	lw	a4,124\(sp\)
+[0-9a-f]+ <[^>]+> 853d 807c 	lw	a5,124\(sp\)
+[0-9a-f]+ <[^>]+> 855d 807c 	lw	a6,124\(sp\)
+[0-9a-f]+ <[^>]+> 87dd 807c 	lw	fp,124\(sp\)
+[0-9a-f]+ <[^>]+> 87fd 807c 	lw	ra,124\(sp\)
+[0-9a-f]+ <[^>]+> 849d 81f8 	lw	a0,504\(sp\)
+[0-9a-f]+ <[^>]+> 849d 81fc 	lw	a0,508\(sp\)
+[0-9a-f]+ <[^>]+> 861d 81fc 	lw	s0,508\(sp\)
+[0-9a-f]+ <[^>]+> 863d 81fc 	lw	s1,508\(sp\)
+[0-9a-f]+ <[^>]+> 865d 81fc 	lw	s2,508\(sp\)
+[0-9a-f]+ <[^>]+> 867d 81fc 	lw	s3,508\(sp\)
+[0-9a-f]+ <[^>]+> 869d 81fc 	lw	s4,508\(sp\)
+[0-9a-f]+ <[^>]+> 86bd 81fc 	lw	s5,508\(sp\)
+[0-9a-f]+ <[^>]+> 87fd 81fc 	lw	ra,508\(sp\)
+[0-9a-f]+ <[^>]+> 8460 8000 	lw	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 8004 	lw	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 8000 	lw	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 8000 	lw	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 8000 	lw	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 8004 	lw	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0060 7fff 	li	t5,32767
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0060 ffff 	li	t5,65535
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 8001 	lw	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 8001 	lw	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a460 c0ff 	lw	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8463 8678 	lw	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 8664 8000 	lw	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 8664 8000 	lw	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 8664 8004 	lw	s3,4\(a0\)
+[0-9a-f]+ <[^>]+> 0064 7fff 	addiu	t5,a0,32767
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0064 ffff 	addiu	t5,a0,65535
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8001 	lw	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8001 	lw	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a464 c0ff 	lw	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8678 	lw	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 20a4 9c47 	lwxs	s3,a0\(a1\)
+[0-9a-f]+ <[^>]+> 2040 0030 	mfc0	t4,index
+[0-9a-f]+ <[^>]+> 2041 0030 	mfc0	t4,random
+[0-9a-f]+ <[^>]+> 2042 0830 	mfc0	t4,tcstatus
+[0-9a-f]+ <[^>]+> 2042 1030 	mfc0	t4,tcbind
+[0-9a-f]+ <[^>]+> 2043 0070 	mtc0	t4,entrylo1
+[0-9a-f]+ <[^>]+> 2044 0070 	mtc0	t4,context
+[0-9a-f]+ <[^>]+> 2045 3070 	mtc0	t4,pwfield
+[0-9a-f]+ <[^>]+> 2045 3870 	mtc0	t4,pwsize
+[0-9a-f]+ <[^>]+> 2062 1610 	movn	t4,t4,t5
+[0-9a-f]+ <[^>]+> 2062 1610 	movn	t4,t4,t5
+[0-9a-f]+ <[^>]+> 2083 1610 	movn	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2062 1210 	movz	t4,t4,t5
+[0-9a-f]+ <[^>]+> 2062 1210 	movz	t4,t4,t5
+[0-9a-f]+ <[^>]+> 2083 1210 	movz	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2083 1018 	mul	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe e818 	mul	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 1018 	mul	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1018 	mul	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2022 1018 	mul	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 0001 	li	at,1
+[0-9a-f]+ <[^>]+> 2022 1018 	mul	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2022 1018 	mul	t4,t4,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2022 1018 	mul	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2022 1018 	mul	t4,t4,at
+[0-9a-f]+ <[^>]+> 2060 1190 	neg	t4,t5
+[0-9a-f]+ <[^>]+> 2040 1190 	neg	t4,t4
+[0-9a-f]+ <[^>]+> 2040 1190 	neg	t4,t4
+[0-9a-f]+ <[^>]+> 2060 11d0 	negu	t4,t5
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 2060 11d0 	negu	t4,t5
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 2012 92d0 	not	s2,s2
+[0-9a-f]+ <[^>]+> 2012 92d0 	not	s2,s2
+[0-9a-f]+ <[^>]+> 2013 92d0 	not	s2,s3
+[0-9a-f]+ <[^>]+> 2004 92d0 	not	s2,a0
+[0-9a-f]+ <[^>]+> 2005 92d0 	not	s2,a1
+[0-9a-f]+ <[^>]+> 2006 92d0 	not	s2,a2
+[0-9a-f]+ <[^>]+> 2007 92d0 	not	s2,a3
+[0-9a-f]+ <[^>]+> 2010 92d0 	not	s2,s0
+[0-9a-f]+ <[^>]+> 2011 92d0 	not	s2,s1
+[0-9a-f]+ <[^>]+> 2011 9ad0 	not	s3,s1
+[0-9a-f]+ <[^>]+> 2011 22d0 	not	a0,s1
+[0-9a-f]+ <[^>]+> 2011 2ad0 	not	a1,s1
+[0-9a-f]+ <[^>]+> 2011 32d0 	not	a2,s1
+[0-9a-f]+ <[^>]+> 2011 3ad0 	not	a3,s1
+[0-9a-f]+ <[^>]+> 2011 82d0 	not	s0,s1
+[0-9a-f]+ <[^>]+> 2011 8ad0 	not	s1,s1
+[0-9a-f]+ <[^>]+> 2007 12d0 	not	t4,a3
+[0-9a-f]+ <[^>]+> 20e0 12d0 	nor	t4,zero,a3
+[0-9a-f]+ <[^>]+> 2083 12d0 	nor	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe ead0 	nor	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 12d0 	nor	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 12d0 	nor	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0020 8000 	li	at,32768
+[0-9a-f]+ <[^>]+> 2023 12d0 	nor	t4,t5,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 12d0 	nor	t4,t5,at
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2023 12d0 	nor	t4,t5,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 12d0 	nor	t4,t5,at
+[0-9a-f]+ <[^>]+> e03f 7ffd 	lui	at,%hi\(0xffff7000\)
+[0-9a-f]+ <[^>]+> 8021 0fff 	ori	at,at,0xfff
+[0-9a-f]+ <[^>]+> 2023 12d0 	nor	t4,t5,at
+[0-9a-f]+ <[^>]+> 2016 1290 	move	t4,s6
+[0-9a-f]+ <[^>]+> 2002 b290 	move	s6,t4
+[0-9a-f]+ <[^>]+> 22c0 1290 	or	t4,zero,s6
+[0-9a-f]+ <[^>]+> 2040 b290 	or	s6,zero,t4
+[0-9a-f]+ <[^>]+> 2252 9290 	or	s2,s2,s2
+[0-9a-f]+ <[^>]+> 2272 9290 	or	s2,s2,s3
+[0-9a-f]+ <[^>]+> 2092 9290 	or	s2,s2,a0
+[0-9a-f]+ <[^>]+> 20b2 9290 	or	s2,s2,a1
+[0-9a-f]+ <[^>]+> 20d2 9290 	or	s2,s2,a2
+[0-9a-f]+ <[^>]+> 20f2 9290 	or	s2,s2,a3
+[0-9a-f]+ <[^>]+> 2212 9290 	or	s2,s2,s0
+[0-9a-f]+ <[^>]+> 2232 9290 	or	s2,s2,s1
+[0-9a-f]+ <[^>]+> 2253 9a90 	or	s3,s3,s2
+[0-9a-f]+ <[^>]+> 2244 2290 	or	a0,a0,s2
+[0-9a-f]+ <[^>]+> 2245 2a90 	or	a1,a1,s2
+[0-9a-f]+ <[^>]+> 2246 3290 	or	a2,a2,s2
+[0-9a-f]+ <[^>]+> 2247 3a90 	or	a3,a3,s2
+[0-9a-f]+ <[^>]+> 2250 8290 	or	s0,s0,s2
+[0-9a-f]+ <[^>]+> 2251 8a90 	or	s1,s1,s2
+[0-9a-f]+ <[^>]+> 2252 9290 	or	s2,s2,s2
+[0-9a-f]+ <[^>]+> 2272 9290 	or	s2,s2,s3
+[0-9a-f]+ <[^>]+> 2253 9290 	or	s2,s3,s2
+[0-9a-f]+ <[^>]+> 2083 1290 	or	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe ea90 	or	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 1290 	or	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1290 	or	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0020 8000 	li	at,32768
+[0-9a-f]+ <[^>]+> 2023 1290 	or	t4,t5,at
+[0-9a-f]+ <[^>]+> 8043 0fff 	ori	t4,t5,0xfff
+[0-9a-f]+ <[^>]+> 0020 1000 	li	at,4096
+[0-9a-f]+ <[^>]+> 2023 1290 	or	t4,t5,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 1290 	or	t4,t5,at
+[0-9a-f]+ <[^>]+> e03f 7ffd 	lui	at,%hi\(0xffff7000\)
+[0-9a-f]+ <[^>]+> 8021 0fff 	ori	at,at,0xfff
+[0-9a-f]+ <[^>]+> 2023 1290 	or	t4,t5,at
+[0-9a-f]+ <[^>]+> 8064 0000 	ori	t5,a0,0x0
+[0-9a-f]+ <[^>]+> 8064 0fff 	ori	t5,a0,0xfff
+[0-9a-f]+ <[^>]+> 2040 01c0 	rdhwr	t4,hwr_cpunum
+[0-9a-f]+ <[^>]+> 2041 01c0 	rdhwr	t4,hwr_synci_step
+[0-9a-f]+ <[^>]+> 2042 01c0 	rdhwr	t4,hwr_cc
+[0-9a-f]+ <[^>]+> 2043 01c0 	rdhwr	t4,hwr_ccres
+[0-9a-f]+ <[^>]+> 2044 01c0 	rdhwr	t4,hwr_perfcnt
+[0-9a-f]+ <[^>]+> 2045 01c0 	rdhwr	t4,hwr_xnp
+[0-9a-f]+ <[^>]+> 2046 01c0 	rdhwr	t4,\$6
+[0-9a-f]+ <[^>]+> 2047 01c0 	rdhwr	t4,\$7
+[0-9a-f]+ <[^>]+> 2048 01c0 	rdhwr	t4,\$8
+[0-9a-f]+ <[^>]+> 2049 01c0 	rdhwr	t4,\$9
+[0-9a-f]+ <[^>]+> 204a 01c0 	rdhwr	t4,\$10
+[0-9a-f]+ <[^>]+> 2043 e17f 	rdpgpr	t4,t5
+[0-9a-f]+ <[^>]+> 2042 e17f 	rdpgpr	t4,t4
+[0-9a-f]+ <[^>]+> 2062 0158 	mod	zero,t4,t5
+[0-9a-f]+ <[^>]+> 23fe 0158 	mod	zero,fp,ra
+[0-9a-f]+ <[^>]+> 2060 0158 	mod	zero,zero,t5
+[0-9a-f]+ <[^>]+> 23e0 0158 	mod	zero,zero,ra
+[0-9a-f]+ <[^>]+> 2003 1158 	mod	t4,t5,zero
+[0-9a-f]+ <[^>]+> 2083 1158 	mod	t4,t5,a0
+[0-9a-f]+ <[^>]+> 0010 0007 	break	0x7
+[0-9a-f]+ <[^>]+> 2000 1a90 	move	t5,zero
+[0-9a-f]+ <[^>]+> 2000 1a90 	move	t5,zero
+[0-9a-f]+ <[^>]+> 0020 0002 	li	at,2
+[0-9a-f]+ <[^>]+> 2024 1958 	mod	t5,a0,at
+[0-9a-f]+ <[^>]+> 2080 11d0 	negu	t4,a0
+[0-9a-f]+ <[^>]+> 2043 10d0 	rotrv	t4,t5,t4
+[0-9a-f]+ <[^>]+> 2080 09d0 	negu	at,a0
+[0-9a-f]+ <[^>]+> 2022 10d0 	rotrv	t4,t4,at
+[0-9a-f]+ <[^>]+> 2060 11d0 	negu	t4,t5
+[0-9a-f]+ <[^>]+> 2043 10d0 	rotrv	t4,t5,t4
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 2043 10d0 	rotrv	t4,t5,t4
+[0-9a-f]+ <[^>]+> 8043 c0c0 	rotr	t4,t5,0
+[0-9a-f]+ <[^>]+> 8043 c0df 	rotr	t4,t5,31
+[0-9a-f]+ <[^>]+> 8043 c0c1 	rotr	t4,t5,1
+[0-9a-f]+ <[^>]+> 8042 c0c1 	rotr	t4,t4,1
+[0-9a-f]+ <[^>]+> 8042 c0c1 	rotr	t4,t4,1
+[0-9a-f]+ <[^>]+> 8043 c0c0 	rotr	t4,t5,0
+[0-9a-f]+ <[^>]+> 8043 c0c1 	rotr	t4,t5,1
+[0-9a-f]+ <[^>]+> 8043 c0df 	rotr	t4,t5,31
+[0-9a-f]+ <[^>]+> 8042 c0df 	rotr	t4,t4,31
+[0-9a-f]+ <[^>]+> 8042 c0df 	rotr	t4,t4,31
+[0-9a-f]+ <[^>]+> 2083 10d0 	rotrv	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 10d0 	rotrv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2083 10d0 	rotrv	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 10d0 	rotrv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2083 10d0 	rotrv	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 10d0 	rotrv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2083 10d0 	rotrv	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 10d0 	rotrv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8413 1000 	sb	zero,0\(s3\)
+[0-9a-f]+ <[^>]+> 8413 1000 	sb	zero,0\(s3\)
+[0-9a-f]+ <[^>]+> 8413 1001 	sb	zero,1\(s3\)
+[0-9a-f]+ <[^>]+> 8413 1002 	sb	zero,2\(s3\)
+[0-9a-f]+ <[^>]+> 8413 1003 	sb	zero,3\(s3\)
+[0-9a-f]+ <[^>]+> 8403 1004 	sb	zero,4\(t5\)
+[0-9a-f]+ <[^>]+> 8403 1005 	sb	zero,5\(t5\)
+[0-9a-f]+ <[^>]+> 8403 1006 	sb	zero,6\(t5\)
+[0-9a-f]+ <[^>]+> 8403 1007 	sb	zero,7\(t5\)
+[0-9a-f]+ <[^>]+> 8403 1008 	sb	zero,8\(t5\)
+[0-9a-f]+ <[^>]+> 8403 1009 	sb	zero,9\(t5\)
+[0-9a-f]+ <[^>]+> 8403 100a 	sb	zero,10\(t5\)
+[0-9a-f]+ <[^>]+> 8403 100b 	sb	zero,11\(t5\)
+[0-9a-f]+ <[^>]+> 8403 100c 	sb	zero,12\(t5\)
+[0-9a-f]+ <[^>]+> 8403 100d 	sb	zero,13\(t5\)
+[0-9a-f]+ <[^>]+> 8403 100e 	sb	zero,14\(t5\)
+[0-9a-f]+ <[^>]+> 8403 100f 	sb	zero,15\(t5\)
+[0-9a-f]+ <[^>]+> 8443 100f 	sb	t4,15\(t5\)
+[0-9a-f]+ <[^>]+> 8463 100f 	sb	t5,15\(t5\)
+[0-9a-f]+ <[^>]+> 8483 100f 	sb	a0,15\(t5\)
+[0-9a-f]+ <[^>]+> 84a3 100f 	sb	a1,15\(t5\)
+[0-9a-f]+ <[^>]+> 84c3 100f 	sb	a2,15\(t5\)
+[0-9a-f]+ <[^>]+> 84e3 100f 	sb	a3,15\(t5\)
+[0-9a-f]+ <[^>]+> 8623 100f 	sb	s1,15\(t5\)
+[0-9a-f]+ <[^>]+> 8624 100f 	sb	s1,15\(a0\)
+[0-9a-f]+ <[^>]+> 8625 100f 	sb	s1,15\(a1\)
+[0-9a-f]+ <[^>]+> 8626 100f 	sb	s1,15\(a2\)
+[0-9a-f]+ <[^>]+> 8627 100f 	sb	s1,15\(a3\)
+[0-9a-f]+ <[^>]+> 8622 100f 	sb	s1,15\(t4\)
+[0-9a-f]+ <[^>]+> 8630 100f 	sb	s1,15\(s0\)
+[0-9a-f]+ <[^>]+> 8631 100f 	sb	s1,15\(s1\)
+[0-9a-f]+ <[^>]+> 8460 1004 	sb	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 1004 	sb	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 1fff 	sb	t5,4095\(zero\)
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8461 1001 	sb	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8461 1001 	sb	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a460 88ff 	sb	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8461 1678 	sb	t5,1656\(at\)
+[0-9a-f]+ <[^>]+> 8464 1000 	sb	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 1000 	sb	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 1fff 	sb	t5,4095\(a0\)
+[0-9a-f]+ <[^>]+> 0024 ffff 	addiu	at,a0,65535
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 1001 	sb	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 1001 	sb	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a464 88ff 	sb	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 1678 	sb	t5,1656\(at\)
+[0-9a-f]+ <[^>]+> a460 5904 	sc	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> a460 5904 	sc	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0020 07ff 	li	at,2047
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 8020 8800 	li	at,-2048
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> a461 5904 	sc	t5,4\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a461 5904 	sc	t5,4\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 8020 8001 	li	at,-1
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8021 0678 	ori	at,at,0x678
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a464 5900 	sc	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> a464 5900 	sc	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 0024 07ff 	addiu	at,a0,2047
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 8024 8800 	addiu	at,a0,-2048
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 0024 7fff 	addiu	at,a0,32767
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 0024 ffff 	addiu	at,a0,65535
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5904 	sc	t5,4\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5904 	sc	t5,4\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 8024 8001 	addiu	at,a0,-1
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8021 0678 	ori	at,at,0x678
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 0018 0000 	sdbbp
+[0-9a-f]+ <[^>]+> 0018 0000 	sdbbp
+[0-9a-f]+ <[^>]+> 0018 0001 	sdbbp	0x1
+[0-9a-f]+ <[^>]+> 0018 0002 	sdbbp	0x2
+[0-9a-f]+ <[^>]+> 0018 0003 	sdbbp	0x3
+[0-9a-f]+ <[^>]+> 0018 0004 	sdbbp	0x4
+[0-9a-f]+ <[^>]+> 0018 0005 	sdbbp	0x5
+[0-9a-f]+ <[^>]+> 0018 0006 	sdbbp	0x6
+[0-9a-f]+ <[^>]+> 0018 0007 	sdbbp	0x7
+[0-9a-f]+ <[^>]+> 0018 0008 	sdbbp	0x8
+[0-9a-f]+ <[^>]+> 0018 0009 	sdbbp	0x9
+[0-9a-f]+ <[^>]+> 0018 000a 	sdbbp	0xa
+[0-9a-f]+ <[^>]+> 0018 000b 	sdbbp	0xb
+[0-9a-f]+ <[^>]+> 0018 000c 	sdbbp	0xc
+[0-9a-f]+ <[^>]+> 0018 000d 	sdbbp	0xd
+[0-9a-f]+ <[^>]+> 0018 000e 	sdbbp	0xe
+[0-9a-f]+ <[^>]+> 0018 000f 	sdbbp	0xf
+[0-9a-f]+ <[^>]+> 0018 0000 	sdbbp
+[0-9a-f]+ <[^>]+> 0018 0000 	sdbbp
+[0-9a-f]+ <[^>]+> 0018 0001 	sdbbp	0x1
+[0-9a-f]+ <[^>]+> 0018 0002 	sdbbp	0x2
+[0-9a-f]+ <[^>]+> 0018 00ff 	sdbbp	0xff
+[0-9a-f]+ <[^>]+> 2043 0008 	seb	t4,t5
+[0-9a-f]+ <[^>]+> 2042 0008 	seb	t4,t4
+[0-9a-f]+ <[^>]+> 2042 0008 	seb	t4,t4
+[0-9a-f]+ <[^>]+> 2043 0048 	seh	t4,t5
+[0-9a-f]+ <[^>]+> 2042 0048 	seh	t4,t4
+[0-9a-f]+ <[^>]+> 2042 0048 	seh	t4,t4
+[0-9a-f]+ <[^>]+> 2083 1310 	xor	t4,t5,a0
+[0-9a-f]+ <[^>]+> 8042 5001 	sltiu	t4,t4,1
+[0-9a-f]+ <[^>]+> 8043 5001 	sltiu	t4,t5,1
+[0-9a-f]+ <[^>]+> 8044 5001 	sltiu	t4,a0,1
+[0-9a-f]+ <[^>]+> 8043 5001 	sltiu	t4,t5,1
+[0-9a-f]+ <[^>]+> 8043 6001 	seqi	t4,t5,1
+[0-9a-f]+ <[^>]+> 0043 0001 	addiu	t4,t5,1
+[0-9a-f]+ <[^>]+> 8042 5001 	sltiu	t4,t4,1
+[0-9a-f]+ <[^>]+> 0043 8001 	addiu	t4,t5,32769
+[0-9a-f]+ <[^>]+> 8042 5001 	sltiu	t4,t4,1
+[0-9a-f]+ <[^>]+> 2083 1350 	slt	t4,t5,a0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2082 1350 	slt	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2082 1350 	slt	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 8043 4000 	slti	t4,t5,0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 8043 4000 	slti	t4,t5,0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e03f 7ffd 	lui	at,%hi\(0xffff7000\)
+[0-9a-f]+ <[^>]+> 8021 0fff 	ori	at,at,0xfff
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2083 1390 	sltu	t4,t5,a0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2082 1390 	sltu	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2082 1390 	sltu	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 8043 5000 	sltiu	t4,t5,0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 8043 5000 	sltiu	t4,t5,0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e03f 7ffd 	lui	at,%hi\(0xffff7000\)
+[0-9a-f]+ <[^>]+> 8021 0fff 	ori	at,at,0xfff
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2064 1350 	slt	t4,a0,t5
+[0-9a-f]+ <[^>]+> 2044 1350 	slt	t4,a0,t4
+[0-9a-f]+ <[^>]+> 2044 1350 	slt	t4,a0,t4
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> e03f 7ffd 	lui	at,%hi\(0xffff7000\)
+[0-9a-f]+ <[^>]+> 8021 0fff 	ori	at,at,0xfff
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 2064 1390 	sltu	t4,a0,t5
+[0-9a-f]+ <[^>]+> 2044 1390 	sltu	t4,a0,t4
+[0-9a-f]+ <[^>]+> 2044 1390 	sltu	t4,a0,t4
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> e03f 7ffd 	lui	at,%hi\(0xffff7000\)
+[0-9a-f]+ <[^>]+> 8021 0fff 	ori	at,at,0xfff
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8653 5000 	sh	s2,0\(s3\)
+[0-9a-f]+ <[^>]+> 8653 5000 	sh	s2,0\(s3\)
+[0-9a-f]+ <[^>]+> 8653 5002 	sh	s2,2\(s3\)
+[0-9a-f]+ <[^>]+> 8653 5004 	sh	s2,4\(s3\)
+[0-9a-f]+ <[^>]+> 8653 5006 	sh	s2,6\(s3\)
+[0-9a-f]+ <[^>]+> 8443 5008 	sh	t4,8\(t5\)
+[0-9a-f]+ <[^>]+> 8443 500a 	sh	t4,10\(t5\)
+[0-9a-f]+ <[^>]+> 8443 500c 	sh	t4,12\(t5\)
+[0-9a-f]+ <[^>]+> 8443 500e 	sh	t4,14\(t5\)
+[0-9a-f]+ <[^>]+> 8443 5010 	sh	t4,16\(t5\)
+[0-9a-f]+ <[^>]+> 8443 5012 	sh	t4,18\(t5\)
+[0-9a-f]+ <[^>]+> 8443 5014 	sh	t4,20\(t5\)
+[0-9a-f]+ <[^>]+> 8443 5016 	sh	t4,22\(t5\)
+[0-9a-f]+ <[^>]+> 8443 5018 	sh	t4,24\(t5\)
+[0-9a-f]+ <[^>]+> 8443 501a 	sh	t4,26\(t5\)
+[0-9a-f]+ <[^>]+> 8443 501c 	sh	t4,28\(t5\)
+[0-9a-f]+ <[^>]+> 8443 501e 	sh	t4,30\(t5\)
+[0-9a-f]+ <[^>]+> 8444 501e 	sh	t4,30\(a0\)
+[0-9a-f]+ <[^>]+> 8445 501e 	sh	t4,30\(a1\)
+[0-9a-f]+ <[^>]+> 8446 501e 	sh	t4,30\(a2\)
+[0-9a-f]+ <[^>]+> 8447 501e 	sh	t4,30\(a3\)
+[0-9a-f]+ <[^>]+> 8442 501e 	sh	t4,30\(t4\)
+[0-9a-f]+ <[^>]+> 8450 501e 	sh	t4,30\(s0\)
+[0-9a-f]+ <[^>]+> 8451 501e 	sh	t4,30\(s1\)
+[0-9a-f]+ <[^>]+> 8471 501e 	sh	t5,30\(s1\)
+[0-9a-f]+ <[^>]+> 8491 501e 	sh	a0,30\(s1\)
+[0-9a-f]+ <[^>]+> 84b1 501e 	sh	a1,30\(s1\)
+[0-9a-f]+ <[^>]+> 84d1 501e 	sh	a2,30\(s1\)
+[0-9a-f]+ <[^>]+> 84f1 501e 	sh	a3,30\(s1\)
+[0-9a-f]+ <[^>]+> 8631 501e 	sh	s1,30\(s1\)
+[0-9a-f]+ <[^>]+> 8411 501e 	sh	zero,30\(s1\)
+[0-9a-f]+ <[^>]+> 8460 5004 	sh	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 5004 	sh	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 5fff 	sh	t5,4095\(zero\)
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8461 5001 	sh	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8461 5001 	sh	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a460 a8ff 	sh	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8461 5678 	sh	t5,1656\(at\)
+[0-9a-f]+ <[^>]+> 8464 5000 	sh	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 5000 	sh	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 5fff 	sh	t5,4095\(a0\)
+[0-9a-f]+ <[^>]+> 0024 ffff 	addiu	at,a0,65535
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 5001 	sh	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 5001 	sh	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a464 a8ff 	sh	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 5678 	sh	t5,1656\(at\)
+[0-9a-f]+ <[^>]+> 2064 1350 	slt	t4,a0,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2044 1350 	slt	t4,a0,t4
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2044 1350 	slt	t4,a0,t4
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e03f 7ffd 	lui	at,%hi\(0xffff7000\)
+[0-9a-f]+ <[^>]+> 8021 0fff 	ori	at,at,0xfff
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2064 1390 	sltu	t4,a0,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2044 1390 	sltu	t4,a0,t4
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2044 1390 	sltu	t4,a0,t4
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e03f 7ffd 	lui	at,%hi\(0xffff7000\)
+[0-9a-f]+ <[^>]+> 8021 0fff 	ori	at,at,0xfff
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 8252 c001 	sll	s2,s2,1
+[0-9a-f]+ <[^>]+> 8252 c002 	sll	s2,s2,2
+[0-9a-f]+ <[^>]+> 8252 c003 	sll	s2,s2,3
+[0-9a-f]+ <[^>]+> 8252 c004 	sll	s2,s2,4
+[0-9a-f]+ <[^>]+> 8252 c005 	sll	s2,s2,5
+[0-9a-f]+ <[^>]+> 8252 c006 	sll	s2,s2,6
+[0-9a-f]+ <[^>]+> 8252 c007 	sll	s2,s2,7
+[0-9a-f]+ <[^>]+> 8252 c008 	sll	s2,s2,8
+[0-9a-f]+ <[^>]+> 8253 c008 	sll	s2,s3,8
+[0-9a-f]+ <[^>]+> 8244 c008 	sll	s2,a0,8
+[0-9a-f]+ <[^>]+> 8245 c008 	sll	s2,a1,8
+[0-9a-f]+ <[^>]+> 8246 c008 	sll	s2,a2,8
+[0-9a-f]+ <[^>]+> 8247 c008 	sll	s2,a3,8
+[0-9a-f]+ <[^>]+> 8250 c008 	sll	s2,s0,8
+[0-9a-f]+ <[^>]+> 8251 c008 	sll	s2,s1,8
+[0-9a-f]+ <[^>]+> 8272 c008 	sll	s3,s2,8
+[0-9a-f]+ <[^>]+> 8092 c008 	sll	a0,s2,8
+[0-9a-f]+ <[^>]+> 80b2 c008 	sll	a1,s2,8
+[0-9a-f]+ <[^>]+> 80d2 c008 	sll	a2,s2,8
+[0-9a-f]+ <[^>]+> 80f2 c008 	sll	a3,s2,8
+[0-9a-f]+ <[^>]+> 8212 c008 	sll	s0,s2,8
+[0-9a-f]+ <[^>]+> 8232 c008 	sll	s1,s2,8
+[0-9a-f]+ <[^>]+> 8252 c001 	sll	s2,s2,1
+[0-9a-f]+ <[^>]+> 8273 c001 	sll	s3,s3,1
+[0-9a-f]+ <[^>]+> 2083 1010 	sllv	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 1010 	sllv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1010 	sllv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1010 	sllv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8044 c000 	sll	t4,a0,0
+[0-9a-f]+ <[^>]+> 8044 c001 	sll	t4,a0,1
+[0-9a-f]+ <[^>]+> 8044 c01f 	sll	t4,a0,31
+[0-9a-f]+ <[^>]+> 8042 c01f 	sll	t4,t4,31
+[0-9a-f]+ <[^>]+> 8042 c01f 	sll	t4,t4,31
+[0-9a-f]+ <[^>]+> 2083 1350 	slt	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 1350 	slt	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1350 	slt	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8043 4000 	slti	t4,t5,0
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8043 4000 	slti	t4,t5,0
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> e03f 7ffd 	lui	at,%hi\(0xffff7000\)
+[0-9a-f]+ <[^>]+> 8021 0fff 	ori	at,at,0xfff
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8064 4000 	slti	t5,a0,0
+[0-9a-f]+ <[^>]+> 8064 4fff 	slti	t5,a0,4095
+[0-9a-f]+ <[^>]+> 8064 5000 	sltiu	t5,a0,0
+[0-9a-f]+ <[^>]+> 8064 5fff 	sltiu	t5,a0,4095
+[0-9a-f]+ <[^>]+> 2083 1390 	sltu	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 1390 	sltu	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1390 	sltu	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8043 5000 	sltiu	t4,t5,0
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 8043 5000 	sltiu	t4,t5,0
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> e03f 7ffd 	lui	at,%hi\(0xffff7000\)
+[0-9a-f]+ <[^>]+> 8021 0fff 	ori	at,at,0xfff
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 2083 1310 	xor	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2040 1390 	sltu	t4,zero,t4
+[0-9a-f]+ <[^>]+> 2080 1390 	sltu	t4,zero,a0
+[0-9a-f]+ <[^>]+> 2060 1390 	sltu	t4,zero,t5
+[0-9a-f]+ <[^>]+> 2060 1390 	sltu	t4,zero,t5
+[0-9a-f]+ <[^>]+> 8043 1001 	xori	t4,t5,0x1
+[0-9a-f]+ <[^>]+> 2040 1390 	sltu	t4,zero,t4
+[0-9a-f]+ <[^>]+> 0043 0001 	addiu	t4,t5,1
+[0-9a-f]+ <[^>]+> 2040 1390 	sltu	t4,zero,t4
+[0-9a-f]+ <[^>]+> 0043 8001 	addiu	t4,t5,32769
+[0-9a-f]+ <[^>]+> 2040 1390 	sltu	t4,zero,t4
+[0-9a-f]+ <[^>]+> 2083 1090 	srav	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 1090 	srav	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1090 	srav	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1090 	srav	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8044 c080 	sra	t4,a0,0
+[0-9a-f]+ <[^>]+> 8044 c081 	sra	t4,a0,1
+[0-9a-f]+ <[^>]+> 8044 c09f 	sra	t4,a0,31
+[0-9a-f]+ <[^>]+> 8042 c09f 	sra	t4,t4,31
+[0-9a-f]+ <[^>]+> 8042 c09f 	sra	t4,t4,31
+[0-9a-f]+ <[^>]+> 2083 1050 	srlv	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 1050 	srlv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1050 	srlv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1050 	srlv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8044 c040 	srl	t4,a0,0
+[0-9a-f]+ <[^>]+> 8244 c041 	srl	s2,a0,1
+[0-9a-f]+ <[^>]+> 8044 c05f 	srl	t4,a0,31
+[0-9a-f]+ <[^>]+> 8042 c05f 	srl	t4,t4,31
+[0-9a-f]+ <[^>]+> 8042 c05f 	srl	t4,t4,31
+[0-9a-f]+ <[^>]+> 8252 c041 	srl	s2,s2,1
+[0-9a-f]+ <[^>]+> 8252 c042 	srl	s2,s2,2
+[0-9a-f]+ <[^>]+> 8252 c043 	srl	s2,s2,3
+[0-9a-f]+ <[^>]+> 8252 c044 	srl	s2,s2,4
+[0-9a-f]+ <[^>]+> 8252 c045 	srl	s2,s2,5
+[0-9a-f]+ <[^>]+> 8252 c046 	srl	s2,s2,6
+[0-9a-f]+ <[^>]+> 8252 c047 	srl	s2,s2,7
+[0-9a-f]+ <[^>]+> 8252 c048 	srl	s2,s2,8
+[0-9a-f]+ <[^>]+> 8253 c048 	srl	s2,s3,8
+[0-9a-f]+ <[^>]+> 8244 c048 	srl	s2,a0,8
+[0-9a-f]+ <[^>]+> 8245 c048 	srl	s2,a1,8
+[0-9a-f]+ <[^>]+> 8246 c048 	srl	s2,a2,8
+[0-9a-f]+ <[^>]+> 8247 c048 	srl	s2,a3,8
+[0-9a-f]+ <[^>]+> 8250 c048 	srl	s2,s0,8
+[0-9a-f]+ <[^>]+> 8251 c048 	srl	s2,s1,8
+[0-9a-f]+ <[^>]+> 8252 c048 	srl	s2,s2,8
+[0-9a-f]+ <[^>]+> 8272 c048 	srl	s3,s2,8
+[0-9a-f]+ <[^>]+> 8092 c048 	srl	a0,s2,8
+[0-9a-f]+ <[^>]+> 80b2 c048 	srl	a1,s2,8
+[0-9a-f]+ <[^>]+> 80d2 c048 	srl	a2,s2,8
+[0-9a-f]+ <[^>]+> 80f2 c048 	srl	a3,s2,8
+[0-9a-f]+ <[^>]+> 8212 c048 	srl	s0,s2,8
+[0-9a-f]+ <[^>]+> 8232 c048 	srl	s1,s2,8
+[0-9a-f]+ <[^>]+> 8273 c041 	srl	s3,s3,1
+[0-9a-f]+ <[^>]+> 8273 c041 	srl	s3,s3,1
+[0-9a-f]+ <[^>]+> 2083 1190 	sub	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe e990 	sub	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 1190 	sub	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1190 	sub	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2022 1190 	sub	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 0001 	li	at,1
+[0-9a-f]+ <[^>]+> 2022 1190 	sub	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2022 1190 	sub	t4,t4,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2022 1190 	sub	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2022 1190 	sub	t4,t4,at
+[0-9a-f]+ <[^>]+> 2253 91d0 	subu	s2,s3,s2
+[0-9a-f]+ <[^>]+> 2273 91d0 	subu	s2,s3,s3
+[0-9a-f]+ <[^>]+> 2093 91d0 	subu	s2,s3,a0
+[0-9a-f]+ <[^>]+> 20b3 91d0 	subu	s2,s3,a1
+[0-9a-f]+ <[^>]+> 20d3 91d0 	subu	s2,s3,a2
+[0-9a-f]+ <[^>]+> 20f3 91d0 	subu	s2,s3,a3
+[0-9a-f]+ <[^>]+> 2213 91d0 	subu	s2,s3,s0
+[0-9a-f]+ <[^>]+> 2233 91d0 	subu	s2,s3,s1
+[0-9a-f]+ <[^>]+> 2232 91d0 	subu	s2,s2,s1
+[0-9a-f]+ <[^>]+> 2224 91d0 	subu	s2,a0,s1
+[0-9a-f]+ <[^>]+> 2225 91d0 	subu	s2,a1,s1
+[0-9a-f]+ <[^>]+> 2226 91d0 	subu	s2,a2,s1
+[0-9a-f]+ <[^>]+> 2227 91d0 	subu	s2,a3,s1
+[0-9a-f]+ <[^>]+> 2230 91d0 	subu	s2,s0,s1
+[0-9a-f]+ <[^>]+> 2231 91d0 	subu	s2,s1,s1
+[0-9a-f]+ <[^>]+> 2232 91d0 	subu	s2,s2,s1
+[0-9a-f]+ <[^>]+> 2232 99d0 	subu	s3,s2,s1
+[0-9a-f]+ <[^>]+> 2232 21d0 	subu	a0,s2,s1
+[0-9a-f]+ <[^>]+> 2232 29d0 	subu	a1,s2,s1
+[0-9a-f]+ <[^>]+> 2232 31d0 	subu	a2,s2,s1
+[0-9a-f]+ <[^>]+> 2232 39d0 	subu	a3,s2,s1
+[0-9a-f]+ <[^>]+> 2232 81d0 	subu	s0,s2,s1
+[0-9a-f]+ <[^>]+> 2232 89d0 	subu	s1,s2,s1
+[0-9a-f]+ <[^>]+> 2247 39d0 	subu	a3,a3,s2
+[0-9a-f]+ <[^>]+> 2247 39d0 	subu	a3,a3,s2
+[0-9a-f]+ <[^>]+> 2083 11d0 	subu	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe e9d0 	subu	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 11d0 	subu	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 11d0 	subu	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0042 0000 	addiu	t4,t4,0
+[0-9a-f]+ <[^>]+> 8042 8001 	addiu	t4,t4,-1
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2022 11d0 	subu	t4,t4,at
+[0-9a-f]+ <[^>]+> 0042 8000 	addiu	t4,t4,32768
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2022 11d0 	subu	t4,t4,at
+[0-9a-f]+ <[^>]+> 8644 9000 	sw	s2,0\(a0\)
+[0-9a-f]+ <[^>]+> 8644 9000 	sw	s2,0\(a0\)
+[0-9a-f]+ <[^>]+> 8644 9004 	sw	s2,4\(a0\)
+[0-9a-f]+ <[^>]+> 8644 9008 	sw	s2,8\(a0\)
+[0-9a-f]+ <[^>]+> 8644 900c 	sw	s2,12\(a0\)
+[0-9a-f]+ <[^>]+> 8644 9010 	sw	s2,16\(a0\)
+[0-9a-f]+ <[^>]+> 8644 9014 	sw	s2,20\(a0\)
+[0-9a-f]+ <[^>]+> 8644 9018 	sw	s2,24\(a0\)
+[0-9a-f]+ <[^>]+> 8644 901c 	sw	s2,28\(a0\)
+[0-9a-f]+ <[^>]+> 8644 9020 	sw	s2,32\(a0\)
+[0-9a-f]+ <[^>]+> 8644 9024 	sw	s2,36\(a0\)
+[0-9a-f]+ <[^>]+> 8644 9028 	sw	s2,40\(a0\)
+[0-9a-f]+ <[^>]+> 8644 902c 	sw	s2,44\(a0\)
+[0-9a-f]+ <[^>]+> 8644 9030 	sw	s2,48\(a0\)
+[0-9a-f]+ <[^>]+> 8644 9034 	sw	s2,52\(a0\)
+[0-9a-f]+ <[^>]+> 8644 9038 	sw	s2,56\(a0\)
+[0-9a-f]+ <[^>]+> 8644 903c 	sw	s2,60\(a0\)
+[0-9a-f]+ <[^>]+> 8645 903c 	sw	s2,60\(a1\)
+[0-9a-f]+ <[^>]+> 8646 903c 	sw	s2,60\(a2\)
+[0-9a-f]+ <[^>]+> 8647 903c 	sw	s2,60\(a3\)
+[0-9a-f]+ <[^>]+> 8650 903c 	sw	s2,60\(s0\)
+[0-9a-f]+ <[^>]+> 8651 903c 	sw	s2,60\(s1\)
+[0-9a-f]+ <[^>]+> 8652 903c 	sw	s2,60\(s2\)
+[0-9a-f]+ <[^>]+> 8653 903c 	sw	s2,60\(s3\)
+[0-9a-f]+ <[^>]+> 8673 903c 	sw	s3,60\(s3\)
+[0-9a-f]+ <[^>]+> 8493 903c 	sw	a0,60\(s3\)
+[0-9a-f]+ <[^>]+> 84b3 903c 	sw	a1,60\(s3\)
+[0-9a-f]+ <[^>]+> 84d3 903c 	sw	a2,60\(s3\)
+[0-9a-f]+ <[^>]+> 84f3 903c 	sw	a3,60\(s3\)
+[0-9a-f]+ <[^>]+> 8633 903c 	sw	s1,60\(s3\)
+[0-9a-f]+ <[^>]+> 8413 903c 	sw	zero,60\(s3\)
+[0-9a-f]+ <[^>]+> 841d 9000 	sw	zero,0\(sp\)
+[0-9a-f]+ <[^>]+> 841d 9000 	sw	zero,0\(sp\)
+[0-9a-f]+ <[^>]+> 841d 9004 	sw	zero,4\(sp\)
+[0-9a-f]+ <[^>]+> 841d 9008 	sw	zero,8\(sp\)
+[0-9a-f]+ <[^>]+> 841d 900c 	sw	zero,12\(sp\)
+[0-9a-f]+ <[^>]+> 841d 9010 	sw	zero,16\(sp\)
+[0-9a-f]+ <[^>]+> 841d 9014 	sw	zero,20\(sp\)
+[0-9a-f]+ <[^>]+> 841d 9078 	sw	zero,120\(sp\)
+[0-9a-f]+ <[^>]+> 841d 907c 	sw	zero,124\(sp\)
+[0-9a-f]+ <[^>]+> 845d 907c 	sw	t4,124\(sp\)
+[0-9a-f]+ <[^>]+> 863d 907c 	sw	s1,124\(sp\)
+[0-9a-f]+ <[^>]+> 847d 907c 	sw	t5,124\(sp\)
+[0-9a-f]+ <[^>]+> 849d 907c 	sw	a0,124\(sp\)
+[0-9a-f]+ <[^>]+> 84bd 907c 	sw	a1,124\(sp\)
+[0-9a-f]+ <[^>]+> 84dd 907c 	sw	a2,124\(sp\)
+[0-9a-f]+ <[^>]+> 84fd 907c 	sw	a3,124\(sp\)
+[0-9a-f]+ <[^>]+> 87fd 907c 	sw	ra,124\(sp\)
+[0-9a-f]+ <[^>]+> 8460 9004 	sw	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 9004 	sw	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 9fff 	sw	t5,4095\(zero\)
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8461 9001 	sw	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8461 9001 	sw	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a460 c8ff 	sw	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8461 9678 	sw	t5,1656\(at\)
+[0-9a-f]+ <[^>]+> 8464 9000 	sw	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 9000 	sw	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 9fff 	sw	t5,4095\(a0\)
+[0-9a-f]+ <[^>]+> 0024 ffff 	addiu	at,a0,65535
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 9001 	sw	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 9001 	sw	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a464 c8ff 	sw	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 9678 	sw	t5,1656\(at\)
+[0-9a-f]+ <[^>]+> 8000 c006 	sync
+[0-9a-f]+ <[^>]+> 8000 c006 	sync
+[0-9a-f]+ <[^>]+> 8001 c006 	sync	0x1
+[0-9a-f]+ <[^>]+> 8002 c006 	sync	0x2
+[0-9a-f]+ <[^>]+> 8003 c006 	sync	0x3
+[0-9a-f]+ <[^>]+> 8005 c006 	sync	0x5
+[0-9a-f]+ <[^>]+> 801e c006 	sync	0x1e
+[0-9a-f]+ <[^>]+> 801f c006 	sync	0x1f
+[0-9a-f]+ <[^>]+> 87e0 3000 	synci	0\(zero\)
+[0-9a-f]+ <[^>]+> 87e0 3000 	synci	0\(zero\)
+[0-9a-f]+ <[^>]+> 87e0 3000 	synci	0\(zero\)
+[0-9a-f]+ <[^>]+> 87e0 37ff 	synci	2047\(zero\)
+[0-9a-f]+ <[^>]+> 87e0 3800 	synci	2048\(zero\)
+[0-9a-f]+ <[^>]+> 87e2 3000 	synci	0\(t4\)
+[0-9a-f]+ <[^>]+> 87e3 3000 	synci	0\(t5\)
+[0-9a-f]+ <[^>]+> 87e3 30ff 	synci	255\(t5\)
+[0-9a-f]+ <[^>]+> a7e3 9800 	synci	-256\(t5\)
+[0-9a-f]+ <[^>]+> 87e3 3800 	synci	2048\(t5\)
+[0-9a-f]+ <[^>]+> 0008 0000 	syscall
+[0-9a-f]+ <[^>]+> 0008 0000 	syscall
+[0-9a-f]+ <[^>]+> 0008 0001 	syscall	0x1
+[0-9a-f]+ <[^>]+> 0008 0002 	syscall	0x2
+[0-9a-f]+ <[^>]+> 0008 00ff 	syscall	0xff
+[0-9a-f]+ <[^>]+> 2000 c37f 	wait
+[0-9a-f]+ <[^>]+> 2000 c37f 	wait
+[0-9a-f]+ <[^>]+> 2001 c37f 	wait	0x1
+[0-9a-f]+ <[^>]+> 20ff c37f 	wait	0xff
+[0-9a-f]+ <[^>]+> 2043 f17f 	wrpgpr	t4,t5
+[0-9a-f]+ <[^>]+> 2044 f17f 	wrpgpr	t4,a0
+[0-9a-f]+ <[^>]+> 2042 f17f 	wrpgpr	t4,t4
+[0-9a-f]+ <[^>]+> 2042 f17f 	wrpgpr	t4,t4
+[0-9a-f]+ <[^>]+> 8043 d608 	byterevh	t4,t5
+[0-9a-f]+ <[^>]+> 8044 d608 	byterevh	t4,a0
+[0-9a-f]+ <[^>]+> 8042 d608 	byterevh	t4,t4
+[0-9a-f]+ <[^>]+> 8042 d608 	byterevh	t4,t4
+[0-9a-f]+ <[^>]+> 2252 9310 	xor	s2,s2,s2
+[0-9a-f]+ <[^>]+> 2272 9310 	xor	s2,s2,s3
+[0-9a-f]+ <[^>]+> 2092 9310 	xor	s2,s2,a0
+[0-9a-f]+ <[^>]+> 20b2 9310 	xor	s2,s2,a1
+[0-9a-f]+ <[^>]+> 20d2 9310 	xor	s2,s2,a2
+[0-9a-f]+ <[^>]+> 20f2 9310 	xor	s2,s2,a3
+[0-9a-f]+ <[^>]+> 2212 9310 	xor	s2,s2,s0
+[0-9a-f]+ <[^>]+> 2232 9310 	xor	s2,s2,s1
+[0-9a-f]+ <[^>]+> 2233 9b10 	xor	s3,s3,s1
+[0-9a-f]+ <[^>]+> 2224 2310 	xor	a0,a0,s1
+[0-9a-f]+ <[^>]+> 2225 2b10 	xor	a1,a1,s1
+[0-9a-f]+ <[^>]+> 2226 3310 	xor	a2,a2,s1
+[0-9a-f]+ <[^>]+> 2227 3b10 	xor	a3,a3,s1
+[0-9a-f]+ <[^>]+> 2230 8310 	xor	s0,s0,s1
+[0-9a-f]+ <[^>]+> 2231 8b10 	xor	s1,s1,s1
+[0-9a-f]+ <[^>]+> 2272 9310 	xor	s2,s2,s3
+[0-9a-f]+ <[^>]+> 2272 9310 	xor	s2,s2,s3
+[0-9a-f]+ <[^>]+> 2253 9310 	xor	s2,s3,s2
+[0-9a-f]+ <[^>]+> 2083 1310 	xor	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe eb10 	xor	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 1310 	xor	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1310 	xor	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0020 8000 	li	at,32768
+[0-9a-f]+ <[^>]+> 2023 1310 	xor	t4,t5,at
+[0-9a-f]+ <[^>]+> 8043 1fff 	xori	t4,t5,0xfff
+[0-9a-f]+ <[^>]+> 0020 1000 	li	at,4096
+[0-9a-f]+ <[^>]+> 2023 1310 	xor	t4,t5,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 1310 	xor	t4,t5,at
+[0-9a-f]+ <[^>]+> e03f 7ffd 	lui	at,%hi\(0xffff7000\)
+[0-9a-f]+ <[^>]+> 8021 0fff 	ori	at,at,0xfff
+[0-9a-f]+ <[^>]+> 2023 1310 	xor	t4,t5,at
+[0-9a-f]+ <[^>]+> 8064 1000 	xori	t5,a0,0x0
+[0-9a-f]+ <[^>]+> 8063 1fff 	xori	t5,t5,0xfff
+[0-9a-f]+ <[^>]+> 8920 0000 	beqzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8949 0000 	beqc	a5,a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 0000 	beqzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c920 0800 	beqic	a5,1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 880a 8000 	bgezc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 880a 8000 	bgezc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8940 8000 	blezc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 896a 8000 	bgec	a6,a7,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 880a 8000 	bgezc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a940 8000 	bgtzc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c948 1000 	bgeic	a6,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	00000000 <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8802 c000 	bgeuc	t4,zero,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8840 c000 	bgeuc	zero,t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8862 c000 	bgeuc	t4,t5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	00000000 <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a840 0000 	bnezc	t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c84c 1000 	bgeiuc	t4,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8802 8000 	bgezc	t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a840 8000 	bgtzc	t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a802 8000 	bltzc	t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 212a 0b50 	slt	at,a6,a5
+[0-9a-f]+ <[^>]+> a820 0000 	bnezc	at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8000 c000 	nop
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8809 8000 	bgezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a920 8000 	bgtzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c928 1000 	bgeic	a5,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> e020 0001 	lui	at,%hi\(0x80000000\)
+[0-9a-f]+ <[^>]+> 8021 0001 	ori	at,at,0x1
+[0-9a-f]+ <[^>]+> 2029 0b50 	slt	at,a5,at
+[0-9a-f]+ <[^>]+> 8820 0000 	beqzc	at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a920 0000 	bnezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8000 c000 	nop
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 212a 0b90 	sltu	at,a6,a5
+[0-9a-f]+ <[^>]+> a820 0000 	bnezc	at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8000 c000 	nop
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8000 c000 	nop
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8000 c000 	nop
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a920 0000 	bnezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c92c 1000 	bgeiuc	a5,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a920 8000 	bgtzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 8000 	blezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 880a 8000 	bgezc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 212a 0b50 	slt	at,a6,a5
+[0-9a-f]+ <[^>]+> 8820 0000 	beqzc	at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	00000000 <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a809 8000 	bltzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 8000 	blezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c938 1000 	bltic	a5,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 0000 	beqzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	00000000 <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 212a 0b90 	sltu	at,a6,a5
+[0-9a-f]+ <[^>]+> 8820 0000 	beqzc	at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	00000000 <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	00000000 <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 0000 	beqzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c93c 1000 	bltiuc	a5,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 8000 	blezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a809 8000 	bltzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a940 8000 	bgtzc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a949 8000 	bltc	a5,a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a809 8000 	bltzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 8000 	blezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c938 1000 	bltic	a5,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a809 c000 	bltuc	a5,zero,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a940 c000 	bltuc	zero,a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a949 c000 	bltuc	a5,a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8000 c000 	nop
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 0000 	beqzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c93c 1000 	bltiuc	a5,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a809 8000 	bltzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a920 0000 	bnezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a949 0000 	bnec	a5,a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a920 0000 	bnezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c930 0800 	bneic	a5,1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8000 3003 	restore.jrc	0
+[0-9a-f]+ <[^>]+> 8000 300b 	restore.jrc	8
+[0-9a-f]+ <[^>]+> 8000 3013 	restore.jrc	16
+[0-9a-f]+ <[^>]+> 8000 301b 	restore.jrc	24
+[0-9a-f]+ <[^>]+> 8000 3023 	restore.jrc	32
+[0-9a-f]+ <[^>]+> 8000 302b 	restore.jrc	40
+[0-9a-f]+ <[^>]+> 03bd 0004 	addiu	sp,sp,4
+[0-9a-f]+ <[^>]+> 481f 0000 	jrc	ra
+[0-9a-f]+ <[^>]+> 03bd 000c 	addiu	sp,sp,12
+[0-9a-f]+ <[^>]+> 481f 0000 	jrc	ra
+[0-9a-f]+ <[^>]+> 03bd 0014 	addiu	sp,sp,20
+[0-9a-f]+ <[^>]+> 481f 0000 	jrc	ra
+[0-9a-f]+ <[^>]+> 03bd 001c 	addiu	sp,sp,28
+[0-9a-f]+ <[^>]+> 481f 0000 	jrc	ra
+[0-9a-f]+ <[^>]+> 03bd 0024 	addiu	sp,sp,36
+[0-9a-f]+ <[^>]+> 481f 0000 	jrc	ra
+[0-9a-f]+ <[^>]+> 8000 307b 	restore.jrc	120
+[0-9a-f]+ <[^>]+> 03bd 007c 	addiu	sp,sp,124
+[0-9a-f]+ <[^>]+> 481f 0000 	jrc	ra
+[0-9a-f]+ <[^>]+> 0018 03ff 	sdbbp	0x3ff
+[0-9a-f]+ <[^>]+> 23ff c37f 	wait	0x3ff
+[0-9a-f]+ <[^>]+> 0008 03ff 	syscall	0x3ff
+[0-9a-f]+ <[^>]+> 2a00 0000 	balc	[0-9a-f]+ <test_delay_slot>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test_delay_slot
+[0-9a-f]+ <[^>]+> 4be2 0000 	jalrc	t4
+[0-9a-f]+ <[^>]+> 4802 0000 	jrc	t4
+[0-9a-f]+ <[^>]+> 4be2 1000 	jalrc.hb	t4
+[0-9a-f]+ <[^>]+> 4802 1000 	jrc.hb	t4
+[0-9a-f]+ <[^>]+> 4240 01fe 	lw	s2,508\(gp\)
+[0-9a-f]+ <[^>]+> 4260 01fe 	lw	s3,508\(gp\)
+[0-9a-f]+ <[^>]+> 4080 01fe 	lw	a0,508\(gp\)
+[0-9a-f]+ <[^>]+> 40a0 01fe 	lw	a1,508\(gp\)
+[0-9a-f]+ <[^>]+> 40c0 01fe 	lw	a2,508\(gp\)
+[0-9a-f]+ <[^>]+> 40e0 01fe 	lw	a3,508\(gp\)
+[0-9a-f]+ <[^>]+> 4200 01fe 	lw	s0,508\(gp\)
+[0-9a-f]+ <[^>]+> 4220 01fe 	lw	s1,508\(gp\)
+[0-9a-f]+ <[^>]+> 4220 01fa 	lw	s1,504\(gp\)
+[0-9a-f]+ <[^>]+> 4220 01f6 	lw	s1,500\(gp\)
+[0-9a-f]+ <[^>]+> 4220 0002 	lw	s1,0\(gp\)
+[0-9a-f]+ <[^>]+> 4220 0006 	lw	s1,4\(gp\)
+[0-9a-f]+ <[^>]+> 4220 00fa 	lw	s1,248\(gp\)
+[0-9a-f]+ <[^>]+> 4220 00fe 	lw	s1,252\(gp\)
+[0-9a-f]+ <[^>]+> 4220 0102 	lw	s1,256\(gp\)
+[0-9a-f]+ <[^>]+> 823c 8104 	addiu	s1,gp,-260
+[0-9a-f]+ <[^>]+> 8631 8000 	lw	s1,0\(s1\)
+[0-9a-f]+ <[^>]+> 863c 8001 	lw	s1,1\(gp\)
+[0-9a-f]+ <[^>]+> 863c 8002 	lw	s1,2\(gp\)
+[0-9a-f]+ <[^>]+> 863c 8003 	lw	s1,3\(gp\)
+[0-9a-f]+ <[^>]+> a63c c0ff 	lw	s1,-1\(gp\)
+[0-9a-f]+ <[^>]+> a63c c0fe 	lw	s1,-2\(gp\)
+[0-9a-f]+ <[^>]+> a63c c0fd 	lw	s1,-3\(gp\)
+[0-9a-f]+ <[^>]+> 863b 8000 	lw	s1,0\(k1\)
+[0-9a-f]+ <[^>]+> 8042 2fff 	andi	t4,t4,0xfff
+[0-9a-f]+ <[^>]+> 8043 f300 	ext	t4,t5,0,13
+[0-9a-f]+ <[^>]+> 8044 f340 	ext	t4,a0,0,14
+[0-9a-f]+ <[^>]+> 8045 f380 	ext	t4,a1,0,15
+[0-9a-f]+ <[^>]+> 8046 f3c0 	ext	t4,a2,0,16
+[0-9a-f]+ <[^>]+> 8047 f500 	ext	t4,a3,0,21
+[0-9a-f]+ <[^>]+> 8048 f540 	ext	t4,a4,0,22
+[0-9a-f]+ <[^>]+> 8049 f580 	ext	t4,a5,0,23
+[0-9a-f]+ <[^>]+> 8050 f5c0 	ext	t4,s0,0,24
+[0-9a-f]+ <[^>]+> e040 0000 	lui	t4,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	test
+[0-9a-f]+ <[^>]+> 8042 0000 	ori	t4,t4,0x0
+			[0-9a-f]+: R_NANOMIPS_LO12	test
+[0-9a-f]+ <[^>]+> 2000 0390 	dvp
+[0-9a-f]+ <[^>]+> 20a0 0390 	dvp	a1
+[0-9a-f]+ <[^>]+> 2000 0790 	evp
+[0-9a-f]+ <[^>]+> 20c0 0790 	evp	a2
+#pass
diff --git a/gas/testsuite/gas/nanomips/[email protected] b/gas/testsuite/gas/nanomips/[email protected]
new file mode 100644
index 00000000000..cc122336ab9
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/[email protected]
@@ -0,0 +1,2318 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: nanoMIPS instructions
+#warning_output: nanomips.l
+#source: nanomips.s
+
+# Check nanoMIPS32 instructions
+
+.*: +file format .*nanomips.*
+
+Disassembly of section .text:
+[0-9a-f]+ <[^>]+> 8400 3000 	pref	0x0,0\(zero\)
+[0-9a-f]+ <[^>]+> 8400 37ff 	pref	0x0,2047\(zero\)
+[0-9a-f]+ <[^>]+> 8020 8800 	li	at,-2048
+[0-9a-f]+ <[^>]+> a401 1800 	pref	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 8400 3800 	pref	0x0,2048\(zero\)
+[0-9a-f]+ <[^>]+> 8020 8801 	li	at,-2049
+[0-9a-f]+ <[^>]+> a401 1800 	pref	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 8400 3000 	pref	0x0,0\(zero\)
+[0-9a-f]+ <[^>]+> 8400 3000 	pref	0x0,0\(zero\)
+[0-9a-f]+ <[^>]+> 8420 3000 	pref	0x1,0\(zero\)
+[0-9a-f]+ <[^>]+> 8440 3000 	pref	0x2,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 3000 	pref	0x3,0\(zero\)
+[0-9a-f]+ <[^>]+> 8480 3000 	pref	0x4,0\(zero\)
+[0-9a-f]+ <[^>]+> 84a0 3000 	pref	0x5,0\(zero\)
+[0-9a-f]+ <[^>]+> 84c0 3000 	pref	0x6,0\(zero\)
+[0-9a-f]+ <[^>]+> 84e0 3000 	pref	0x7,0\(zero\)
+[0-9a-f]+ <[^>]+> 84e0 31ff 	pref	0x7,511\(zero\)
+[0-9a-f]+ <[^>]+> 8020 8200 	li	at,-512
+[0-9a-f]+ <[^>]+> a4e1 1800 	pref	0x7,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> a461 1800 	pref	0x3,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a461 1800 	pref	0x3,0\(at\)
+[0-9a-f]+ <[^>]+> 0022 7fff 	addiu	at,t4,32767
+[0-9a-f]+ <[^>]+> a461 1800 	pref	0x3,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2041 0950 	addu	at,at,t4
+[0-9a-f]+ <[^>]+> a461 1800 	pref	0x3,0\(at\)
+[0-9a-f]+ <[^>]+> 9008      	nop
+[0-9a-f]+ <[^>]+> 9008      	nop
+[0-9a-f]+ <[^>]+> 8000 c000 	nop
+[0-9a-f]+ <[^>]+> 8000 c003 	ehb
+[0-9a-f]+ <[^>]+> 8000 c005 	pause
+[0-9a-f]+ <[^>]+> d17f      	li	s2,-1
+[0-9a-f]+ <[^>]+> d1ff      	li	s3,-1
+[0-9a-f]+ <[^>]+> d27f      	li	a0,-1
+[0-9a-f]+ <[^>]+> d2ff      	li	a1,-1
+[0-9a-f]+ <[^>]+> d37f      	li	a2,-1
+[0-9a-f]+ <[^>]+> d3ff      	li	a3,-1
+[0-9a-f]+ <[^>]+> d07f      	li	s0,-1
+[0-9a-f]+ <[^>]+> d0ff      	li	s1,-1
+[0-9a-f]+ <[^>]+> d080      	li	s1,0
+[0-9a-f]+ <[^>]+> d0fd      	li	s1,125
+[0-9a-f]+ <[^>]+> d0fe      	li	s1,126
+[0-9a-f]+ <[^>]+> 0220 007f 	li	s1,127
+[0-9a-f]+ <[^>]+> 1180      	move	t0,zero
+[0-9a-f]+ <[^>]+> 1320      	move	t9,zero
+[0-9a-f]+ <[^>]+> 0040 0000 	li	t4,0
+[0-9a-f]+ <[^>]+> 0040 0001 	li	t4,1
+[0-9a-f]+ <[^>]+> 0040 7fff 	li	t4,32767
+[0-9a-f]+ <[^>]+> e05f 8ffd 	lui	t4,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 0040 ffff 	li	t4,65535
+[0-9a-f]+ <[^>]+> e041 0000 	lui	t4,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> e05f 8ffd 	lui	t4,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 6040 8001 ffff 	li	t4,0xffff8001
+[0-9a-f]+ <[^>]+> 8040 8001 	li	t4,-1
+[0-9a-f]+ <[^>]+> 6040 5678 1234 	li	t4,0x12345678
+[0-9a-f]+ <[^>]+> 8060 8001 	li	t5,-1
+[0-9a-f]+ <[^>]+> d27f      	li	a0,-1
+[0-9a-f]+ <[^>]+> 2016 0290 	move	zero,s6
+[0-9a-f]+ <[^>]+> 1056      	move	t4,s6
+[0-9a-f]+ <[^>]+> 1076      	move	t5,s6
+[0-9a-f]+ <[^>]+> 1096      	move	a0,s6
+[0-9a-f]+ <[^>]+> 10b6      	move	a1,s6
+[0-9a-f]+ <[^>]+> 10d6      	move	a2,s6
+[0-9a-f]+ <[^>]+> 10f6      	move	a3,s6
+[0-9a-f]+ <[^>]+> 1116      	move	a4,s6
+[0-9a-f]+ <[^>]+> 1136      	move	a5,s6
+[0-9a-f]+ <[^>]+> 1156      	move	a6,s6
+[0-9a-f]+ <[^>]+> 13d6      	move	fp,s6
+[0-9a-f]+ <[^>]+> 13f6      	move	ra,s6
+[0-9a-f]+ <[^>]+> 2000 0290 	move	zero,zero
+[0-9a-f]+ <[^>]+> 2002 0290 	move	zero,t4
+[0-9a-f]+ <[^>]+> 2003 0290 	move	zero,t5
+[0-9a-f]+ <[^>]+> 2004 0290 	move	zero,a0
+[0-9a-f]+ <[^>]+> 2005 0290 	move	zero,a1
+[0-9a-f]+ <[^>]+> 2006 0290 	move	zero,a2
+[0-9a-f]+ <[^>]+> 2007 0290 	move	zero,a3
+[0-9a-f]+ <[^>]+> 2008 0290 	move	zero,a4
+[0-9a-f]+ <[^>]+> 2009 0290 	move	zero,a5
+[0-9a-f]+ <[^>]+> 200a 0290 	move	zero,a6
+[0-9a-f]+ <[^>]+> 201e 0290 	move	zero,fp
+[0-9a-f]+ <[^>]+> 201f 0290 	move	zero,ra
+[0-9a-f]+ <[^>]+> 12c2      	move	s6,t4
+[0-9a-f]+ <[^>]+> 1056      	move	t4,s6
+[0-9a-f]+ <[^>]+> 12c2      	move	s6,t4
+[0-9a-f]+ <[^>]+> 2016 1290 	move	t4,s6
+[0-9a-f]+ <[^>]+> 2002 b290 	move	s6,t4
+[0-9a-f]+ <[^>]+> 1800      	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC10_S1	test
+[0-9a-f]+ <[^>]+> 1800      	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC10_S1	test
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> 1800      	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC10_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 1800      	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC10_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 1800      	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC10_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 1800      	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC10_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 1043      	move	t4,t5
+[0-9a-f]+ <[^>]+> 8803 8000 	bgezc	t5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L\^_0
+[0-9a-f]+ <[^>]+> 2060 11d0 	negu	t4,t5
+[0-9a-f]+ <[^>]+> 1044      	move	t4,a0
+[0-9a-f]+ <[^>]+> 8804 8000 	bgezc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L\^_1
+[0-9a-f]+ <[^>]+> 2080 11d0 	negu	t4,a0
+[0-9a-f]+ <[^>]+> 8802 8000 	bgezc	t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L\^_2
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 8802 8000 	bgezc	t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L\^_3
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 2083 1110 	add	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe e910 	add	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 1110 	add	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1110 	add	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0042 0000 	addiu	t4,t4,0
+[0-9a-f]+ <[^>]+> 0020 0001 	li	at,1
+[0-9a-f]+ <[^>]+> 2022 1110 	add	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2022 1110 	add	t4,t4,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2022 1110 	add	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2022 1110 	add	t4,t4,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2024 1910 	add	t5,a0,at
+[0-9a-f]+ <[^>]+> 0064 0000 	addiu	t5,a0,0
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2024 1910 	add	t5,a0,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2024 1910 	add	t5,a0,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 1910 	add	t5,t5,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 1910 	add	t5,t5,at
+[0-9a-f]+ <[^>]+> 9018      	addiu	zero,zero,-8
+[0-9a-f]+ <[^>]+> 9058      	addiu	t4,t4,-8
+[0-9a-f]+ <[^>]+> 9078      	addiu	t5,t5,-8
+[0-9a-f]+ <[^>]+> 9098      	addiu	a0,a0,-8
+[0-9a-f]+ <[^>]+> 90b8      	addiu	a1,a1,-8
+[0-9a-f]+ <[^>]+> 90d8      	addiu	a2,a2,-8
+[0-9a-f]+ <[^>]+> 90f8      	addiu	a3,a3,-8
+[0-9a-f]+ <[^>]+> 9118      	addiu	a4,a4,-8
+[0-9a-f]+ <[^>]+> 9138      	addiu	a5,a5,-8
+[0-9a-f]+ <[^>]+> 9158      	addiu	a6,a6,-8
+[0-9a-f]+ <[^>]+> 93d8      	addiu	fp,fp,-8
+[0-9a-f]+ <[^>]+> 93f8      	addiu	ra,ra,-8
+[0-9a-f]+ <[^>]+> 93f9      	addiu	ra,ra,-7
+[0-9a-f]+ <[^>]+> 93e8      	addiu	ra,ra,0
+[0-9a-f]+ <[^>]+> 93e9      	addiu	ra,ra,1
+[0-9a-f]+ <[^>]+> 93ee      	addiu	ra,ra,6
+[0-9a-f]+ <[^>]+> 93ef      	addiu	ra,ra,7
+[0-9a-f]+ <[^>]+> 03ff 0008 	addiu	ra,ra,8
+[0-9a-f]+ <[^>]+> 83bd 8408 	addiu	sp,sp,-1032
+[0-9a-f]+ <[^>]+> 83bd 8404 	addiu	sp,sp,-1028
+[0-9a-f]+ <[^>]+> 83bd 8400 	addiu	sp,sp,-1024
+[0-9a-f]+ <[^>]+> 03bd 03fc 	addiu	sp,sp,1020
+[0-9a-f]+ <[^>]+> 03bd 0400 	addiu	sp,sp,1024
+[0-9a-f]+ <[^>]+> 03bd 0404 	addiu	sp,sp,1028
+[0-9a-f]+ <[^>]+> 03bd 0404 	addiu	sp,sp,1028
+[0-9a-f]+ <[^>]+> 03bd 0408 	addiu	sp,sp,1032
+[0-9a-f]+ <[^>]+> 905f      	addiu	t4,t4,-1
+[0-9a-f]+ <[^>]+> 8043 8001 	addiu	t4,t5,-1
+[0-9a-f]+ <[^>]+> 8044 8001 	addiu	t4,a0,-1
+[0-9a-f]+ <[^>]+> 8045 8001 	addiu	t4,a1,-1
+[0-9a-f]+ <[^>]+> 8046 8001 	addiu	t4,a2,-1
+[0-9a-f]+ <[^>]+> 8047 8001 	addiu	t4,a3,-1
+[0-9a-f]+ <[^>]+> 8050 8001 	addiu	t4,s0,-1
+[0-9a-f]+ <[^>]+> 8051 8001 	addiu	t4,s1,-1
+[0-9a-f]+ <[^>]+> 0051 0001 	addiu	t4,s1,1
+[0-9a-f]+ <[^>]+> 9111      	addiu	s2,s1,4
+[0-9a-f]+ <[^>]+> 9112      	addiu	s2,s1,8
+[0-9a-f]+ <[^>]+> 9113      	addiu	s2,s1,12
+[0-9a-f]+ <[^>]+> 9114      	addiu	s2,s1,16
+[0-9a-f]+ <[^>]+> 9115      	addiu	s2,s1,20
+[0-9a-f]+ <[^>]+> 9116      	addiu	s2,s1,24
+[0-9a-f]+ <[^>]+> 9196      	addiu	s3,s1,24
+[0-9a-f]+ <[^>]+> 9216      	addiu	a0,s1,24
+[0-9a-f]+ <[^>]+> 9296      	addiu	a1,s1,24
+[0-9a-f]+ <[^>]+> 9316      	addiu	a2,s1,24
+[0-9a-f]+ <[^>]+> 9396      	addiu	a3,s1,24
+[0-9a-f]+ <[^>]+> 9016      	addiu	s0,s1,24
+[0-9a-f]+ <[^>]+> 9096      	addiu	s1,s1,24
+[0-9a-f]+ <[^>]+> 7140      	addiu	s2,sp,0
+[0-9a-f]+ <[^>]+> 7141      	addiu	s2,sp,4
+[0-9a-f]+ <[^>]+> 717e      	addiu	s2,sp,248
+[0-9a-f]+ <[^>]+> 717f      	addiu	s2,sp,252
+[0-9a-f]+ <[^>]+> 005d 0100 	addiu	t4,sp,256
+[0-9a-f]+ <[^>]+> 717f      	addiu	s2,sp,252
+[0-9a-f]+ <[^>]+> 71ff      	addiu	s3,sp,252
+[0-9a-f]+ <[^>]+> 727f      	addiu	a0,sp,252
+[0-9a-f]+ <[^>]+> 72ff      	addiu	a1,sp,252
+[0-9a-f]+ <[^>]+> 737f      	addiu	a2,sp,252
+[0-9a-f]+ <[^>]+> 73ff      	addiu	a3,sp,252
+[0-9a-f]+ <[^>]+> 707f      	addiu	s0,sp,252
+[0-9a-f]+ <[^>]+> 70ff      	addiu	s1,sp,252
+[0-9a-f]+ <[^>]+> 8064 8fff 	addiu	t5,a0,-4095
+[0-9a-f]+ <[^>]+> 91c0      	addiu	s3,a0,0
+[0-9a-f]+ <[^>]+> 0064 1fff 	addiu	t5,a0,8191
+[0-9a-f]+ <[^>]+> 0064 3fff 	addiu	t5,a0,16383
+[0-9a-f]+ <[^>]+> 0063 3fff 	addiu	t5,t5,16383
+[0-9a-f]+ <[^>]+> 0063 3fff 	addiu	t5,t5,16383
+[0-9a-f]+ <[^>]+> 2016 1150 	move	t4,s6
+[0-9a-f]+ <[^>]+> 2002 b150 	move	s6,t4
+[0-9a-f]+ <[^>]+> 22c0 1150 	addu	t4,zero,s6
+[0-9a-f]+ <[^>]+> 2040 b150 	addu	s6,zero,t4
+[0-9a-f]+ <[^>]+> b134      	addu	s2,s3,s2
+[0-9a-f]+ <[^>]+> b1b4      	addu	s2,s3,s3
+[0-9a-f]+ <[^>]+> b234      	addu	s2,s3,a0
+[0-9a-f]+ <[^>]+> b2b4      	addu	s2,s3,a1
+[0-9a-f]+ <[^>]+> b334      	addu	s2,s3,a2
+[0-9a-f]+ <[^>]+> b3b4      	addu	s2,s3,a3
+[0-9a-f]+ <[^>]+> b034      	addu	s2,s3,s0
+[0-9a-f]+ <[^>]+> b0b4      	addu	s2,s3,s1
+[0-9a-f]+ <[^>]+> b0a4      	addu	s2,s2,s1
+[0-9a-f]+ <[^>]+> b0b4      	addu	s2,s3,s1
+[0-9a-f]+ <[^>]+> b0c4      	addu	s2,a0,s1
+[0-9a-f]+ <[^>]+> b0d4      	addu	s2,a1,s1
+[0-9a-f]+ <[^>]+> b0e4      	addu	s2,a2,s1
+[0-9a-f]+ <[^>]+> b0f4      	addu	s2,a3,s1
+[0-9a-f]+ <[^>]+> b084      	addu	s2,s0,s1
+[0-9a-f]+ <[^>]+> b094      	addu	s2,s1,s1
+[0-9a-f]+ <[^>]+> b0a4      	addu	s2,s2,s1
+[0-9a-f]+ <[^>]+> b0a6      	addu	s3,s2,s1
+[0-9a-f]+ <[^>]+> b0a8      	addu	a0,s2,s1
+[0-9a-f]+ <[^>]+> b0aa      	addu	a1,s2,s1
+[0-9a-f]+ <[^>]+> b0ac      	addu	a2,s2,s1
+[0-9a-f]+ <[^>]+> b0ae      	addu	a3,s2,s1
+[0-9a-f]+ <[^>]+> b0a0      	addu	s0,s2,s1
+[0-9a-f]+ <[^>]+> b0a2      	addu	s1,s2,s1
+[0-9a-f]+ <[^>]+> b17e      	addu	a3,a3,s2
+[0-9a-f]+ <[^>]+> b17e      	addu	a3,a3,s2
+[0-9a-f]+ <[^>]+> b3ae      	addu	a3,s2,a3
+[0-9a-f]+ <[^>]+> 23fe e950 	addu	sp,fp,ra
+[0-9a-f]+ <[^>]+> 0042 0000 	addiu	t4,t4,0
+[0-9a-f]+ <[^>]+> 0042 0001 	addiu	t4,t4,1
+[0-9a-f]+ <[^>]+> 0042 7fff 	addiu	t4,t4,32767
+[0-9a-f]+ <[^>]+> 6041 8000 ffff 	addiu	t4,t4,-32768
+[0-9a-f]+ <[^>]+> 0042 ffff 	addiu	t4,t4,65535
+[0-9a-f]+ <[^>]+> 5128      	and	s2,s2,s2
+[0-9a-f]+ <[^>]+> 5138      	and	s2,s2,s3
+[0-9a-f]+ <[^>]+> 5148      	and	s2,s2,a0
+[0-9a-f]+ <[^>]+> 5158      	and	s2,s2,a1
+[0-9a-f]+ <[^>]+> 5168      	and	s2,s2,a2
+[0-9a-f]+ <[^>]+> 5178      	and	s2,s2,a3
+[0-9a-f]+ <[^>]+> 5108      	and	s2,s2,s0
+[0-9a-f]+ <[^>]+> 5118      	and	s2,s2,s1
+[0-9a-f]+ <[^>]+> 51a8      	and	s3,s3,s2
+[0-9a-f]+ <[^>]+> 5228      	and	a0,a0,s2
+[0-9a-f]+ <[^>]+> 52a8      	and	a1,a1,s2
+[0-9a-f]+ <[^>]+> 5328      	and	a2,a2,s2
+[0-9a-f]+ <[^>]+> 53a8      	and	a3,a3,s2
+[0-9a-f]+ <[^>]+> 5028      	and	s0,s0,s2
+[0-9a-f]+ <[^>]+> 50a8      	and	s1,s1,s2
+[0-9a-f]+ <[^>]+> 5138      	and	s2,s2,s3
+[0-9a-f]+ <[^>]+> 5138      	and	s2,s2,s3
+[0-9a-f]+ <[^>]+> 5138      	and	s2,s2,s3
+[0-9a-f]+ <[^>]+> 5138      	and	s2,s2,s3
+[0-9a-f]+ <[^>]+> 2062 1250 	and	t4,t4,t5
+[0-9a-f]+ <[^>]+> f121      	andi	s2,s2,0x1
+[0-9a-f]+ <[^>]+> f122      	andi	s2,s2,0x2
+[0-9a-f]+ <[^>]+> f123      	andi	s2,s2,0x3
+[0-9a-f]+ <[^>]+> f124      	andi	s2,s2,0x4
+[0-9a-f]+ <[^>]+> f127      	andi	s2,s2,0x7
+[0-9a-f]+ <[^>]+> f128      	andi	s2,s2,0x8
+[0-9a-f]+ <[^>]+> f12f      	andi	s2,s2,0xf
+[0-9a-f]+ <[^>]+> 8042 2010 	andi	t4,t4,0x10
+[0-9a-f]+ <[^>]+> 8042 201f 	andi	t4,t4,0x1f
+[0-9a-f]+ <[^>]+> 8042 2020 	andi	t4,t4,0x20
+[0-9a-f]+ <[^>]+> 8042 203f 	andi	t4,t4,0x3f
+[0-9a-f]+ <[^>]+> 8042 2040 	andi	t4,t4,0x40
+[0-9a-f]+ <[^>]+> 8042 2080 	andi	t4,t4,0x80
+[0-9a-f]+ <[^>]+> f12c      	andi	s2,s2,0xff
+[0-9a-f]+ <[^>]+> 8042 2fff 	andi	t4,t4,0xfff
+[0-9a-f]+ <[^>]+> f12d      	andi	s2,s2,0xffff
+[0-9a-f]+ <[^>]+> f13d      	andi	s2,s3,0xffff
+[0-9a-f]+ <[^>]+> f14d      	andi	s2,a0,0xffff
+[0-9a-f]+ <[^>]+> f15d      	andi	s2,a1,0xffff
+[0-9a-f]+ <[^>]+> f16d      	andi	s2,a2,0xffff
+[0-9a-f]+ <[^>]+> f17d      	andi	s2,a3,0xffff
+[0-9a-f]+ <[^>]+> f10d      	andi	s2,s0,0xffff
+[0-9a-f]+ <[^>]+> f11d      	andi	s2,s1,0xffff
+[0-9a-f]+ <[^>]+> f19d      	andi	s3,s1,0xffff
+[0-9a-f]+ <[^>]+> f21d      	andi	a0,s1,0xffff
+[0-9a-f]+ <[^>]+> f29d      	andi	a1,s1,0xffff
+[0-9a-f]+ <[^>]+> f31d      	andi	a2,s1,0xffff
+[0-9a-f]+ <[^>]+> f39d      	andi	a3,s1,0xffff
+[0-9a-f]+ <[^>]+> f01d      	andi	s0,s1,0xffff
+[0-9a-f]+ <[^>]+> f09d      	andi	s1,s1,0xffff
+[0-9a-f]+ <[^>]+> f3fd      	andi	a3,a3,0xffff
+[0-9a-f]+ <[^>]+> f3fd      	andi	a3,a3,0xffff
+[0-9a-f]+ <[^>]+> f3fd      	andi	a3,a3,0xffff
+[0-9a-f]+ <[^>]+> 2083 1250 	and	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 1250 	and	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1250 	and	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8043 2000 	andi	t4,t5,0x0
+[0-9a-f]+ <[^>]+> 8043 2fff 	andi	t4,t5,0xfff
+[0-9a-f]+ <[^>]+> 0020 1000 	li	at,4096
+[0-9a-f]+ <[^>]+> 2023 1250 	and	t4,t5,at
+[0-9a-f]+ <[^>]+> 6020 0001 ffff 	li	at,0xffff0001
+[0-9a-f]+ <[^>]+> 2023 1250 	and	t4,t5,at
+[0-9a-f]+ <[^>]+> 9900      	beqzc	s2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9980      	beqzc	s3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9a00      	beqzc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9a80      	beqzc	a1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9b00      	beqzc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9b80      	beqzc	a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9800      	beqzc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9880      	beqzc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9900      	beqzc	s2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9980      	beqzc	s3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9a00      	beqzc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9a80      	beqzc	a1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9b00      	beqzc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9b80      	beqzc	a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9800      	beqzc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9880      	beqzc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9900      	beqzc	s2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9980      	beqzc	s3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9a00      	beqzc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9a80      	beqzc	a1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9b00      	beqzc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9b80      	beqzc	a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9800      	beqzc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9880      	beqzc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 9800      	beqzc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 8a00 0000 	beqzc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 9880      	beqzc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 8a20 0000 	beqzc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 9880      	beqzc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test2
+[0-9a-f]+ <[^>]+> 8a00 0000 	beqzc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> ca00 5000 	beqic	s0,10,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test2
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 8830 0000 	beqc	s0,at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 8830 0000 	beqc	s0,at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> b900      	bnezc	s2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> b980      	bnezc	s3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> ba00      	bnezc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> ba80      	bnezc	a1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> bb00      	bnezc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> bb80      	bnezc	a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> b800      	bnezc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> b880      	bnezc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> b900      	bnezc	s2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> b980      	bnezc	s3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> ba00      	bnezc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> ba80      	bnezc	a1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> bb00      	bnezc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> bb80      	bnezc	a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> b800      	bnezc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> b880      	bnezc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> b900      	bnezc	s2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> b980      	bnezc	s3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> ba00      	bnezc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> ba80      	bnezc	a1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> bb00      	bnezc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> bb80      	bnezc	a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> b800      	bnezc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> b880      	bnezc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> b800      	bnezc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC7_S1	test3
+[0-9a-f]+ <[^>]+> aa00 0000 	bnezc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> aa20 0000 	bnezc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> aa20 0000 	bnezc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> aa20 0000 	bnezc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 1010      	break
+[0-9a-f]+ <[^>]+> 1010      	break
+[0-9a-f]+ <[^>]+> 1011      	break	0x1
+[0-9a-f]+ <[^>]+> 1012      	break	0x2
+[0-9a-f]+ <[^>]+> 1013      	break	0x3
+[0-9a-f]+ <[^>]+> 1014      	break	0x4
+[0-9a-f]+ <[^>]+> 1015      	break	0x5
+[0-9a-f]+ <[^>]+> 1016      	break	0x6
+[0-9a-f]+ <[^>]+> 1017      	break	0x7
+[0-9a-f]+ <[^>]+> 0010 0008 	break	0x8
+[0-9a-f]+ <[^>]+> 0010 0009 	break	0x9
+[0-9a-f]+ <[^>]+> 0010 000a 	break	0xa
+[0-9a-f]+ <[^>]+> 0010 000b 	break	0xb
+[0-9a-f]+ <[^>]+> 0010 000c 	break	0xc
+[0-9a-f]+ <[^>]+> 0010 000d 	break	0xd
+[0-9a-f]+ <[^>]+> 0010 000e 	break	0xe
+[0-9a-f]+ <[^>]+> 0010 000f 	break	0xf
+[0-9a-f]+ <[^>]+> 0010 003f 	break	0x3f
+[0-9a-f]+ <[^>]+> 0010 0040 	break	0x40
+[0-9a-f]+ <[^>]+> 0010 03ff 	break	0x3ff
+[0-9a-f]+ <[^>]+> 0010 0000 	break
+[0-9a-f]+ <[^>]+> 0010 0000 	break
+[0-9a-f]+ <[^>]+> 0010 0001 	break	0x1
+[0-9a-f]+ <[^>]+> 0010 0002 	break	0x2
+[0-9a-f]+ <[^>]+> 0010 000f 	break	0xf
+[0-9a-f]+ <[^>]+> 0010 003f 	break	0x3f
+[0-9a-f]+ <[^>]+> 0010 0040 	break	0x40
+[0-9a-f]+ <[^>]+> 0010 03ff 	break	0x3ff
+[0-9a-f]+ <[^>]+> a400 3900 	cache	0x0,0\(zero\)
+[0-9a-f]+ <[^>]+> 8020 8800 	li	at,-2048
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 07ff 	li	at,2047
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 8020 8801 	li	at,-2049
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 0800 	li	at,2048
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> a402 3900 	cache	0x0,0\(t4\)
+[0-9a-f]+ <[^>]+> 8022 8800 	addiu	at,t4,-2048
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 0022 07ff 	addiu	at,t4,2047
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 8022 8801 	addiu	at,t4,-2049
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 0022 0800 	addiu	at,t4,2048
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> a400 3900 	cache	0x0,0\(zero\)
+[0-9a-f]+ <[^>]+> a400 3900 	cache	0x0,0\(zero\)
+[0-9a-f]+ <[^>]+> a420 3900 	cache	0x1,0\(zero\)
+[0-9a-f]+ <[^>]+> a440 3900 	cache	0x2,0\(zero\)
+[0-9a-f]+ <[^>]+> a460 3900 	cache	0x3,0\(zero\)
+[0-9a-f]+ <[^>]+> a480 3900 	cache	0x4,0\(zero\)
+[0-9a-f]+ <[^>]+> a4a0 3900 	cache	0x5,0\(zero\)
+[0-9a-f]+ <[^>]+> a4c0 3900 	cache	0x6,0\(zero\)
+[0-9a-f]+ <[^>]+> a7e0 3900 	cache	0x1f,0\(zero\)
+[0-9a-f]+ <[^>]+> 0020 07ff 	li	at,2047
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 8020 8800 	li	at,-2048
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 07ff 	li	at,2047
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 8020 8800 	li	at,-2048
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2061 0950 	addu	at,at,t5
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 0023 0800 	addiu	at,t5,2048
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 8023 8801 	addiu	at,t5,-2049
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2061 0950 	addu	at,at,t5
+[0-9a-f]+ <[^>]+> a7e1 3901 	cache	0x1f,1\(at\)
+[0-9a-f]+ <[^>]+> a7e3 b9ff 	cache	0x1f,-1\(t5\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2061 0950 	addu	at,at,t5
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2061 0950 	addu	at,at,t5
+[0-9a-f]+ <[^>]+> a7e1 3901 	cache	0x1f,1\(at\)
+[0-9a-f]+ <[^>]+> 0023 ffff 	addiu	at,t5,65535
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 0800 	li	at,2048
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 8020 8801 	li	at,-2049
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> a7e1 3901 	cache	0x1f,1\(at\)
+[0-9a-f]+ <[^>]+> a7e0 b9ff 	cache	0x1f,-1\(zero\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> a7e1 3901 	cache	0x1f,1\(at\)
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 2043 4b3f 	clo	t4,t5
+[0-9a-f]+ <[^>]+> 2062 4b3f 	clo	t5,t4
+[0-9a-f]+ <[^>]+> 2043 5b3f 	clz	t4,t5
+[0-9a-f]+ <[^>]+> 2062 5b3f 	clz	t5,t4
+[0-9a-f]+ <[^>]+> 2000 e37f 	deret
+[0-9a-f]+ <[^>]+> 2000 477f 	di
+[0-9a-f]+ <[^>]+> 2000 477f 	di
+[0-9a-f]+ <[^>]+> 2040 477f 	di	t4
+[0-9a-f]+ <[^>]+> 2060 477f 	di	t5
+[0-9a-f]+ <[^>]+> 23c0 477f 	di	fp
+[0-9a-f]+ <[^>]+> 23e0 477f 	di	ra
+[0-9a-f]+ <[^>]+> 2062 0118 	div	zero,t4,t5
+[0-9a-f]+ <[^>]+> 23fe 0118 	div	zero,fp,ra
+[0-9a-f]+ <[^>]+> 2060 0118 	div	zero,zero,t5
+[0-9a-f]+ <[^>]+> 23e0 0118 	div	zero,zero,ra
+[0-9a-f]+ <[^>]+> 2003 1118 	div	t4,t5,zero
+[0-9a-f]+ <[^>]+> 2083 1118 	div	t4,t5,a0
+[0-9a-f]+ <[^>]+> 1017      	break	0x7
+[0-9a-f]+ <[^>]+> 1064      	move	t5,a0
+[0-9a-f]+ <[^>]+> 2080 1990 	neg	t5,a0
+[0-9a-f]+ <[^>]+> 0020 0002 	li	at,2
+[0-9a-f]+ <[^>]+> 2024 1918 	div	t5,a0,at
+[0-9a-f]+ <[^>]+> 2062 0198 	divu	zero,t4,t5
+[0-9a-f]+ <[^>]+> 23fe 0198 	divu	zero,fp,ra
+[0-9a-f]+ <[^>]+> 2060 0198 	divu	zero,zero,t5
+[0-9a-f]+ <[^>]+> 23e0 0198 	divu	zero,zero,ra
+[0-9a-f]+ <[^>]+> 2003 1198 	divu	t4,t5,zero
+[0-9a-f]+ <[^>]+> 2083 1198 	divu	t4,t5,a0
+[0-9a-f]+ <[^>]+> 1017      	break	0x7
+[0-9a-f]+ <[^>]+> 1064      	move	t5,a0
+[0-9a-f]+ <[^>]+> 8020 8001 	li	at,-1
+[0-9a-f]+ <[^>]+> 2024 1998 	divu	t5,a0,at
+[0-9a-f]+ <[^>]+> 0020 0002 	li	at,2
+[0-9a-f]+ <[^>]+> 2024 1998 	divu	t5,a0,at
+[0-9a-f]+ <[^>]+> 2000 577f 	ei
+[0-9a-f]+ <[^>]+> 2000 577f 	ei
+[0-9a-f]+ <[^>]+> 2040 577f 	ei	t4
+[0-9a-f]+ <[^>]+> 2060 577f 	ei	t5
+[0-9a-f]+ <[^>]+> 23c0 577f 	ei	fp
+[0-9a-f]+ <[^>]+> 23e0 577f 	ei	ra
+[0-9a-f]+ <[^>]+> 2000 f37f 	eret
+[0-9a-f]+ <[^>]+> 8043 f385 	ext	t4,t5,5,15
+[0-9a-f]+ <[^>]+> 8043 f7c0 	ext	t4,t5,0,32
+[0-9a-f]+ <[^>]+> 8043 f01f 	ext	t4,t5,31,1
+[0-9a-f]+ <[^>]+> 83fe f01f 	ext	ra,fp,31,1
+[0-9a-f]+ <[^>]+> 8043 e4c5 	ins	t4,t5,5,15
+[0-9a-f]+ <[^>]+> 8043 e7c0 	ins	t4,t5,0,32
+[0-9a-f]+ <[^>]+> 8043 e7df 	ins	t4,t5,31,1
+[0-9a-f]+ <[^>]+> 83fe e7df 	ins	ra,fp,31,1
+[0-9a-f]+ <[^>]+> d800      	jrc	zero
+[0-9a-f]+ <[^>]+> d840      	jrc	t4
+[0-9a-f]+ <[^>]+> d860      	jrc	t5
+[0-9a-f]+ <[^>]+> d880      	jrc	a0
+[0-9a-f]+ <[^>]+> d8a0      	jrc	a1
+[0-9a-f]+ <[^>]+> d8c0      	jrc	a2
+[0-9a-f]+ <[^>]+> d8e0      	jrc	a3
+[0-9a-f]+ <[^>]+> d900      	jrc	a4
+[0-9a-f]+ <[^>]+> dbc0      	jrc	fp
+[0-9a-f]+ <[^>]+> dbe0      	jrc	ra
+[0-9a-f]+ <[^>]+> 4800 0000 	jrc	zero
+[0-9a-f]+ <[^>]+> 4802 0000 	jrc	t4
+[0-9a-f]+ <[^>]+> 4803 0000 	jrc	t5
+[0-9a-f]+ <[^>]+> 4804 0000 	jrc	a0
+[0-9a-f]+ <[^>]+> 4805 0000 	jrc	a1
+[0-9a-f]+ <[^>]+> 4806 0000 	jrc	a2
+[0-9a-f]+ <[^>]+> 4807 0000 	jrc	a3
+[0-9a-f]+ <[^>]+> 4808 0000 	jrc	a4
+[0-9a-f]+ <[^>]+> 481e 0000 	jrc	fp
+[0-9a-f]+ <[^>]+> 481f 0000 	jrc	ra
+[0-9a-f]+ <[^>]+> d800      	jrc	zero
+[0-9a-f]+ <[^>]+> d840      	jrc	t4
+[0-9a-f]+ <[^>]+> d860      	jrc	t5
+[0-9a-f]+ <[^>]+> d880      	jrc	a0
+[0-9a-f]+ <[^>]+> d8a0      	jrc	a1
+[0-9a-f]+ <[^>]+> d8c0      	jrc	a2
+[0-9a-f]+ <[^>]+> d8e0      	jrc	a3
+[0-9a-f]+ <[^>]+> d900      	jrc	a4
+[0-9a-f]+ <[^>]+> dbc0      	jrc	fp
+[0-9a-f]+ <[^>]+> dbe0      	jrc	ra
+[0-9a-f]+ <[^>]+> 4800 1000 	jrc.hb	zero
+[0-9a-f]+ <[^>]+> 4802 1000 	jrc.hb	t4
+[0-9a-f]+ <[^>]+> 4803 1000 	jrc.hb	t5
+[0-9a-f]+ <[^>]+> 4804 1000 	jrc.hb	a0
+[0-9a-f]+ <[^>]+> 4805 1000 	jrc.hb	a1
+[0-9a-f]+ <[^>]+> 4806 1000 	jrc.hb	a2
+[0-9a-f]+ <[^>]+> 4807 1000 	jrc.hb	a3
+[0-9a-f]+ <[^>]+> 4808 1000 	jrc.hb	a4
+[0-9a-f]+ <[^>]+> 481e 1000 	jrc.hb	fp
+[0-9a-f]+ <[^>]+> 481f 1000 	jrc.hb	ra
+[0-9a-f]+ <[^>]+> d800      	jrc	zero
+[0-9a-f]+ <[^>]+> d840      	jrc	t4
+[0-9a-f]+ <[^>]+> d860      	jrc	t5
+[0-9a-f]+ <[^>]+> d880      	jrc	a0
+[0-9a-f]+ <[^>]+> d8a0      	jrc	a1
+[0-9a-f]+ <[^>]+> d8c0      	jrc	a2
+[0-9a-f]+ <[^>]+> d8e0      	jrc	a3
+[0-9a-f]+ <[^>]+> d900      	jrc	a4
+[0-9a-f]+ <[^>]+> dbc0      	jrc	fp
+[0-9a-f]+ <[^>]+> dbe0      	jrc	ra
+[0-9a-f]+ <[^>]+> d810      	jalrc	zero
+[0-9a-f]+ <[^>]+> d850      	jalrc	t4
+[0-9a-f]+ <[^>]+> d870      	jalrc	t5
+[0-9a-f]+ <[^>]+> d890      	jalrc	a0
+[0-9a-f]+ <[^>]+> d8b0      	jalrc	a1
+[0-9a-f]+ <[^>]+> d8d0      	jalrc	a2
+[0-9a-f]+ <[^>]+> d8f0      	jalrc	a3
+[0-9a-f]+ <[^>]+> d910      	jalrc	a4
+[0-9a-f]+ <[^>]+> dbd0      	jalrc	fp
+[0-9a-f]+ <[^>]+> 4be0 0000 	jalrc	zero
+[0-9a-f]+ <[^>]+> 4be2 0000 	jalrc	t4
+[0-9a-f]+ <[^>]+> 4be3 0000 	jalrc	t5
+[0-9a-f]+ <[^>]+> 4be4 0000 	jalrc	a0
+[0-9a-f]+ <[^>]+> 4be5 0000 	jalrc	a1
+[0-9a-f]+ <[^>]+> 4be6 0000 	jalrc	a2
+[0-9a-f]+ <[^>]+> 4be7 0000 	jalrc	a3
+[0-9a-f]+ <[^>]+> 4be8 0000 	jalrc	a4
+[0-9a-f]+ <[^>]+> 4bfe 0000 	jalrc	fp
+[0-9a-f]+ <[^>]+> d810      	jalrc	zero
+[0-9a-f]+ <[^>]+> d850      	jalrc	t4
+[0-9a-f]+ <[^>]+> d870      	jalrc	t5
+[0-9a-f]+ <[^>]+> d890      	jalrc	a0
+[0-9a-f]+ <[^>]+> d8b0      	jalrc	a1
+[0-9a-f]+ <[^>]+> d8d0      	jalrc	a2
+[0-9a-f]+ <[^>]+> d8f0      	jalrc	a3
+[0-9a-f]+ <[^>]+> d910      	jalrc	a4
+[0-9a-f]+ <[^>]+> dbd0      	jalrc	fp
+[0-9a-f]+ <[^>]+> 4bdf 0000 	jalrc	fp,ra
+[0-9a-f]+ <[^>]+> 4840 0000 	jalrc	t4,zero
+[0-9a-f]+ <[^>]+> 4862 0000 	jalrc	t5,t4
+[0-9a-f]+ <[^>]+> 4843 0000 	jalrc	t4,t5
+[0-9a-f]+ <[^>]+> 4844 0000 	jalrc	t4,a0
+[0-9a-f]+ <[^>]+> 4845 0000 	jalrc	t4,a1
+[0-9a-f]+ <[^>]+> 4846 0000 	jalrc	t4,a2
+[0-9a-f]+ <[^>]+> 4847 0000 	jalrc	t4,a3
+[0-9a-f]+ <[^>]+> 4848 0000 	jalrc	t4,a4
+[0-9a-f]+ <[^>]+> 485e 0000 	jalrc	t4,fp
+[0-9a-f]+ <[^>]+> 485f 0000 	jalrc	t4,ra
+[0-9a-f]+ <[^>]+> 4be0 1000 	jalrc.hb	zero
+[0-9a-f]+ <[^>]+> 4be2 1000 	jalrc.hb	t4
+[0-9a-f]+ <[^>]+> 4be3 1000 	jalrc.hb	t5
+[0-9a-f]+ <[^>]+> 4be4 1000 	jalrc.hb	a0
+[0-9a-f]+ <[^>]+> 4be5 1000 	jalrc.hb	a1
+[0-9a-f]+ <[^>]+> 4be6 1000 	jalrc.hb	a2
+[0-9a-f]+ <[^>]+> 4be7 1000 	jalrc.hb	a3
+[0-9a-f]+ <[^>]+> 4be8 1000 	jalrc.hb	a4
+[0-9a-f]+ <[^>]+> 4bfe 1000 	jalrc.hb	fp
+[0-9a-f]+ <[^>]+> 4be0 1000 	jalrc.hb	zero
+[0-9a-f]+ <[^>]+> 4be2 1000 	jalrc.hb	t4
+[0-9a-f]+ <[^>]+> 4be3 1000 	jalrc.hb	t5
+[0-9a-f]+ <[^>]+> 4be4 1000 	jalrc.hb	a0
+[0-9a-f]+ <[^>]+> 4be5 1000 	jalrc.hb	a1
+[0-9a-f]+ <[^>]+> 4be6 1000 	jalrc.hb	a2
+[0-9a-f]+ <[^>]+> 4be7 1000 	jalrc.hb	a3
+[0-9a-f]+ <[^>]+> 4be8 1000 	jalrc.hb	a4
+[0-9a-f]+ <[^>]+> 4bfe 1000 	jalrc.hb	fp
+[0-9a-f]+ <[^>]+> 4bdf 1000 	jalrc.hb	fp,ra
+[0-9a-f]+ <[^>]+> 4840 1000 	jalrc.hb	t4,zero
+[0-9a-f]+ <[^>]+> 4862 1000 	jalrc.hb	t5,t4
+[0-9a-f]+ <[^>]+> 4843 1000 	jalrc.hb	t4,t5
+[0-9a-f]+ <[^>]+> 4844 1000 	jalrc.hb	t4,a0
+[0-9a-f]+ <[^>]+> 4845 1000 	jalrc.hb	t4,a1
+[0-9a-f]+ <[^>]+> 4846 1000 	jalrc.hb	t4,a2
+[0-9a-f]+ <[^>]+> 4847 1000 	jalrc.hb	t4,a3
+[0-9a-f]+ <[^>]+> 4848 1000 	jalrc.hb	t4,a4
+[0-9a-f]+ <[^>]+> 485e 1000 	jalrc.hb	t4,fp
+[0-9a-f]+ <[^>]+> 485f 1000 	jalrc.hb	t4,ra
+[0-9a-f]+ <[^>]+> 4843 0000 	jalrc	t4,t5
+[0-9a-f]+ <[^>]+> 4bdf 0000 	jalrc	fp,ra
+[0-9a-f]+ <[^>]+> d870      	jalrc	t5
+[0-9a-f]+ <[^>]+> dbf0      	jalrc	ra
+[0-9a-f]+ <[^>]+> 2a00 0000 	balc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> 2a00 0000 	balc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test2
+[0-9a-f]+ <[^>]+> 6040 0000 0000 	li	t4,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	test
+[0-9a-f]+ <[^>]+> 8460 0000 	lb	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 0004 	lb	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 0000 	lb	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 0004 	lb	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0060 7fff 	li	t5,32767
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0060 ffff 	li	t5,65535
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 0001 	lb	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 0001 	lb	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a460 80ff 	lb	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8463 0678 	lb	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 5dc0      	lb	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 5dc0      	lb	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 0004 	lb	t5,4\(a0\)
+[0-9a-f]+ <[^>]+> 0064 7fff 	addiu	t5,a0,32767
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0064 ffff 	addiu	t5,a0,65535
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0001 	lb	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0001 	lb	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a464 80ff 	lb	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0678 	lb	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> a443 90ff 	lbu	t4,-1\(t5\)
+[0-9a-f]+ <[^>]+> 5d38      	lbu	s2,0\(s3\)
+[0-9a-f]+ <[^>]+> 5d38      	lbu	s2,0\(s3\)
+[0-9a-f]+ <[^>]+> 5d39      	lbu	s2,1\(s3\)
+[0-9a-f]+ <[^>]+> 5d3a      	lbu	s2,2\(s3\)
+[0-9a-f]+ <[^>]+> 5d3b      	lbu	s2,3\(s3\)
+[0-9a-f]+ <[^>]+> 8443 2004 	lbu	t4,4\(t5\)
+[0-9a-f]+ <[^>]+> 8443 2005 	lbu	t4,5\(t5\)
+[0-9a-f]+ <[^>]+> 8443 2006 	lbu	t4,6\(t5\)
+[0-9a-f]+ <[^>]+> 8443 2007 	lbu	t4,7\(t5\)
+[0-9a-f]+ <[^>]+> 8443 2008 	lbu	t4,8\(t5\)
+[0-9a-f]+ <[^>]+> 8443 2009 	lbu	t4,9\(t5\)
+[0-9a-f]+ <[^>]+> 8443 200a 	lbu	t4,10\(t5\)
+[0-9a-f]+ <[^>]+> 8443 200b 	lbu	t4,11\(t5\)
+[0-9a-f]+ <[^>]+> 8443 200c 	lbu	t4,12\(t5\)
+[0-9a-f]+ <[^>]+> 8443 200d 	lbu	t4,13\(t5\)
+[0-9a-f]+ <[^>]+> 8443 200e 	lbu	t4,14\(t5\)
+[0-9a-f]+ <[^>]+> 8442 200e 	lbu	t4,14\(t4\)
+[0-9a-f]+ <[^>]+> 8444 200e 	lbu	t4,14\(a0\)
+[0-9a-f]+ <[^>]+> 8445 200e 	lbu	t4,14\(a1\)
+[0-9a-f]+ <[^>]+> 8446 200e 	lbu	t4,14\(a2\)
+[0-9a-f]+ <[^>]+> 8447 200e 	lbu	t4,14\(a3\)
+[0-9a-f]+ <[^>]+> 8450 200e 	lbu	t4,14\(s0\)
+[0-9a-f]+ <[^>]+> 8451 200e 	lbu	t4,14\(s1\)
+[0-9a-f]+ <[^>]+> 8471 200e 	lbu	t5,14\(s1\)
+[0-9a-f]+ <[^>]+> 8491 200e 	lbu	a0,14\(s1\)
+[0-9a-f]+ <[^>]+> 84b1 200e 	lbu	a1,14\(s1\)
+[0-9a-f]+ <[^>]+> 84d1 200e 	lbu	a2,14\(s1\)
+[0-9a-f]+ <[^>]+> 84f1 200e 	lbu	a3,14\(s1\)
+[0-9a-f]+ <[^>]+> 8611 200e 	lbu	s0,14\(s1\)
+[0-9a-f]+ <[^>]+> 8631 200e 	lbu	s1,14\(s1\)
+[0-9a-f]+ <[^>]+> 8460 2000 	lbu	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 2004 	lbu	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 2000 	lbu	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 2004 	lbu	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0060 7fff 	li	t5,32767
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0060 ffff 	li	t5,65535
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 2001 	lbu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 2001 	lbu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a460 90ff 	lbu	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8463 2678 	lbu	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 5dc8      	lbu	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 5dc8      	lbu	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 2004 	lbu	t5,4\(a0\)
+[0-9a-f]+ <[^>]+> 0064 7fff 	addiu	t5,a0,32767
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0064 ffff 	addiu	t5,a0,65535
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2001 	lbu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2001 	lbu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a464 90ff 	lbu	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2678 	lbu	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 8460 4000 	lh	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 4004 	lh	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 4000 	lh	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 4004 	lh	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0060 7fff 	li	t5,32767
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0060 ffff 	li	t5,65535
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 4001 	lh	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 4001 	lh	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a460 a0ff 	lh	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8463 4678 	lh	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 7dc0      	lh	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 7dc0      	lh	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 7dc4      	lh	s3,4\(a0\)
+[0-9a-f]+ <[^>]+> 0064 7fff 	addiu	t5,a0,32767
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0064 ffff 	addiu	t5,a0,65535
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4001 	lh	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4001 	lh	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a464 a0ff 	lh	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4678 	lh	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 7d38      	lhu	s2,0\(s3\)
+[0-9a-f]+ <[^>]+> 7d38      	lhu	s2,0\(s3\)
+[0-9a-f]+ <[^>]+> 7d3a      	lhu	s2,2\(s3\)
+[0-9a-f]+ <[^>]+> 7d3c      	lhu	s2,4\(s3\)
+[0-9a-f]+ <[^>]+> 7d3e      	lhu	s2,6\(s3\)
+[0-9a-f]+ <[^>]+> 8443 6008 	lhu	t4,8\(t5\)
+[0-9a-f]+ <[^>]+> 8443 600a 	lhu	t4,10\(t5\)
+[0-9a-f]+ <[^>]+> 8443 600c 	lhu	t4,12\(t5\)
+[0-9a-f]+ <[^>]+> 8443 600e 	lhu	t4,14\(t5\)
+[0-9a-f]+ <[^>]+> 8443 6010 	lhu	t4,16\(t5\)
+[0-9a-f]+ <[^>]+> 8443 6012 	lhu	t4,18\(t5\)
+[0-9a-f]+ <[^>]+> 8443 6014 	lhu	t4,20\(t5\)
+[0-9a-f]+ <[^>]+> 8443 6016 	lhu	t4,22\(t5\)
+[0-9a-f]+ <[^>]+> 8443 6018 	lhu	t4,24\(t5\)
+[0-9a-f]+ <[^>]+> 8443 601a 	lhu	t4,26\(t5\)
+[0-9a-f]+ <[^>]+> 8443 601c 	lhu	t4,28\(t5\)
+[0-9a-f]+ <[^>]+> 8443 601e 	lhu	t4,30\(t5\)
+[0-9a-f]+ <[^>]+> 8444 601e 	lhu	t4,30\(a0\)
+[0-9a-f]+ <[^>]+> 8445 601e 	lhu	t4,30\(a1\)
+[0-9a-f]+ <[^>]+> 8446 601e 	lhu	t4,30\(a2\)
+[0-9a-f]+ <[^>]+> 8447 601e 	lhu	t4,30\(a3\)
+[0-9a-f]+ <[^>]+> 8442 601e 	lhu	t4,30\(t4\)
+[0-9a-f]+ <[^>]+> 8450 601e 	lhu	t4,30\(s0\)
+[0-9a-f]+ <[^>]+> 8451 601e 	lhu	t4,30\(s1\)
+[0-9a-f]+ <[^>]+> 8471 601e 	lhu	t5,30\(s1\)
+[0-9a-f]+ <[^>]+> 8491 601e 	lhu	a0,30\(s1\)
+[0-9a-f]+ <[^>]+> 84b1 601e 	lhu	a1,30\(s1\)
+[0-9a-f]+ <[^>]+> 84d1 601e 	lhu	a2,30\(s1\)
+[0-9a-f]+ <[^>]+> 84f1 601e 	lhu	a3,30\(s1\)
+[0-9a-f]+ <[^>]+> 8611 601e 	lhu	s0,30\(s1\)
+[0-9a-f]+ <[^>]+> 8631 601e 	lhu	s1,30\(s1\)
+[0-9a-f]+ <[^>]+> 8460 6000 	lhu	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 6004 	lhu	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 6000 	lhu	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 6004 	lhu	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0060 7fff 	li	t5,32767
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0060 ffff 	li	t5,65535
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 6001 	lhu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 6001 	lhu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a460 b0ff 	lhu	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8463 6678 	lhu	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 7dc8      	lhu	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 7dc8      	lhu	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 7dcc      	lhu	s3,4\(a0\)
+[0-9a-f]+ <[^>]+> 0064 7fff 	addiu	t5,a0,32767
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0064 ffff 	addiu	t5,a0,65535
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6001 	lhu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6001 	lhu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a464 b0ff 	lhu	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6678 	lhu	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> a460 5100 	ll	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> a460 5100 	ll	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> a460 5104 	ll	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> a460 5104 	ll	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0060 7fff 	li	t5,32767
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0060 ffff 	li	t5,65535
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> a463 5104 	ll	t5,4\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a463 5104 	ll	t5,4\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 8060 8001 	li	t5,-1
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 6060 5678 1234 	li	t5,0x12345678
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a464 5100 	ll	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> a464 5100 	ll	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> a464 5104 	ll	t5,4\(a0\)
+[0-9a-f]+ <[^>]+> 0064 7fff 	addiu	t5,a0,32767
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0064 ffff 	addiu	t5,a0,65535
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5104 	ll	t5,4\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5104 	ll	t5,4\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 8064 8001 	addiu	t5,a0,-1
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 6060 5678 1234 	li	t5,0x12345678
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e060 0000 	lui	t5,0x0
+[0-9a-f]+ <[^>]+> e07f 0ffc 	lui	t5,%hi\(0x7fff0000\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 1540      	lw	s2,0\(a0\)
+[0-9a-f]+ <[^>]+> 1540      	lw	s2,0\(a0\)
+[0-9a-f]+ <[^>]+> 1541      	lw	s2,4\(a0\)
+[0-9a-f]+ <[^>]+> 1542      	lw	s2,8\(a0\)
+[0-9a-f]+ <[^>]+> 1543      	lw	s2,12\(a0\)
+[0-9a-f]+ <[^>]+> 1544      	lw	s2,16\(a0\)
+[0-9a-f]+ <[^>]+> 1545      	lw	s2,20\(a0\)
+[0-9a-f]+ <[^>]+> 1546      	lw	s2,24\(a0\)
+[0-9a-f]+ <[^>]+> 1547      	lw	s2,28\(a0\)
+[0-9a-f]+ <[^>]+> 1548      	lw	s2,32\(a0\)
+[0-9a-f]+ <[^>]+> 1549      	lw	s2,36\(a0\)
+[0-9a-f]+ <[^>]+> 154a      	lw	s2,40\(a0\)
+[0-9a-f]+ <[^>]+> 154b      	lw	s2,44\(a0\)
+[0-9a-f]+ <[^>]+> 154c      	lw	s2,48\(a0\)
+[0-9a-f]+ <[^>]+> 154d      	lw	s2,52\(a0\)
+[0-9a-f]+ <[^>]+> 154e      	lw	s2,56\(a0\)
+[0-9a-f]+ <[^>]+> 154f      	lw	s2,60\(a0\)
+[0-9a-f]+ <[^>]+> 155f      	lw	s2,60\(a1\)
+[0-9a-f]+ <[^>]+> 156f      	lw	s2,60\(a2\)
+[0-9a-f]+ <[^>]+> 157f      	lw	s2,60\(a3\)
+[0-9a-f]+ <[^>]+> 152f      	lw	s2,60\(s2\)
+[0-9a-f]+ <[^>]+> 153f      	lw	s2,60\(s3\)
+[0-9a-f]+ <[^>]+> 150f      	lw	s2,60\(s0\)
+[0-9a-f]+ <[^>]+> 151f      	lw	s2,60\(s1\)
+[0-9a-f]+ <[^>]+> 159f      	lw	s3,60\(s1\)
+[0-9a-f]+ <[^>]+> 161f      	lw	a0,60\(s1\)
+[0-9a-f]+ <[^>]+> 169f      	lw	a1,60\(s1\)
+[0-9a-f]+ <[^>]+> 171f      	lw	a2,60\(s1\)
+[0-9a-f]+ <[^>]+> 179f      	lw	a3,60\(s1\)
+[0-9a-f]+ <[^>]+> 141f      	lw	s0,60\(s1\)
+[0-9a-f]+ <[^>]+> 149f      	lw	s1,60\(s1\)
+[0-9a-f]+ <[^>]+> 3480      	lw	a0,0\(sp\)
+[0-9a-f]+ <[^>]+> 3480      	lw	a0,0\(sp\)
+[0-9a-f]+ <[^>]+> 3481      	lw	a0,4\(sp\)
+[0-9a-f]+ <[^>]+> 3482      	lw	a0,8\(sp\)
+[0-9a-f]+ <[^>]+> 3483      	lw	a0,12\(sp\)
+[0-9a-f]+ <[^>]+> 3484      	lw	a0,16\(sp\)
+[0-9a-f]+ <[^>]+> 3485      	lw	a0,20\(sp\)
+[0-9a-f]+ <[^>]+> 349f      	lw	a0,124\(sp\)
+[0-9a-f]+ <[^>]+> 345f      	lw	t4,124\(sp\)
+[0-9a-f]+ <[^>]+> 345f      	lw	t4,124\(sp\)
+[0-9a-f]+ <[^>]+> 347f      	lw	t5,124\(sp\)
+[0-9a-f]+ <[^>]+> 349f      	lw	a0,124\(sp\)
+[0-9a-f]+ <[^>]+> 34bf      	lw	a1,124\(sp\)
+[0-9a-f]+ <[^>]+> 34df      	lw	a2,124\(sp\)
+[0-9a-f]+ <[^>]+> 34ff      	lw	a3,124\(sp\)
+[0-9a-f]+ <[^>]+> 351f      	lw	a4,124\(sp\)
+[0-9a-f]+ <[^>]+> 353f      	lw	a5,124\(sp\)
+[0-9a-f]+ <[^>]+> 355f      	lw	a6,124\(sp\)
+[0-9a-f]+ <[^>]+> 37df      	lw	fp,124\(sp\)
+[0-9a-f]+ <[^>]+> 37ff      	lw	ra,124\(sp\)
+[0-9a-f]+ <[^>]+> 849d 81f8 	lw	a0,504\(sp\)
+[0-9a-f]+ <[^>]+> 849d 81fc 	lw	a0,508\(sp\)
+[0-9a-f]+ <[^>]+> 861d 81fc 	lw	s0,508\(sp\)
+[0-9a-f]+ <[^>]+> 863d 81fc 	lw	s1,508\(sp\)
+[0-9a-f]+ <[^>]+> 865d 81fc 	lw	s2,508\(sp\)
+[0-9a-f]+ <[^>]+> 867d 81fc 	lw	s3,508\(sp\)
+[0-9a-f]+ <[^>]+> 869d 81fc 	lw	s4,508\(sp\)
+[0-9a-f]+ <[^>]+> 86bd 81fc 	lw	s5,508\(sp\)
+[0-9a-f]+ <[^>]+> 87fd 81fc 	lw	ra,508\(sp\)
+[0-9a-f]+ <[^>]+> 8460 8000 	lw	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 8004 	lw	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 8000 	lw	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 8000 	lw	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 8000 	lw	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 8004 	lw	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0060 7fff 	li	t5,32767
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0060 ffff 	li	t5,65535
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 8001 	lw	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 8001 	lw	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a460 c0ff 	lw	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8463 8678 	lw	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 15c0      	lw	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 15c0      	lw	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 15c1      	lw	s3,4\(a0\)
+[0-9a-f]+ <[^>]+> 0064 7fff 	addiu	t5,a0,32767
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0064 ffff 	addiu	t5,a0,65535
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8001 	lw	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8001 	lw	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a464 c0ff 	lw	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8678 	lw	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 52c7      	lwxs	s3,a0\(a1\)
+[0-9a-f]+ <[^>]+> 2040 0030 	mfc0	t4,index
+[0-9a-f]+ <[^>]+> 2041 0030 	mfc0	t4,random
+[0-9a-f]+ <[^>]+> 2042 0830 	mfc0	t4,tcstatus
+[0-9a-f]+ <[^>]+> 2042 1030 	mfc0	t4,tcbind
+[0-9a-f]+ <[^>]+> 2043 0070 	mtc0	t4,entrylo1
+[0-9a-f]+ <[^>]+> 2044 0070 	mtc0	t4,context
+[0-9a-f]+ <[^>]+> 2045 3070 	mtc0	t4,pwfield
+[0-9a-f]+ <[^>]+> 2045 3870 	mtc0	t4,pwsize
+[0-9a-f]+ <[^>]+> 2062 1610 	movn	t4,t4,t5
+[0-9a-f]+ <[^>]+> 2062 1610 	movn	t4,t4,t5
+[0-9a-f]+ <[^>]+> 2083 1610 	movn	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2062 1210 	movz	t4,t4,t5
+[0-9a-f]+ <[^>]+> 2062 1210 	movz	t4,t4,t5
+[0-9a-f]+ <[^>]+> 2083 1210 	movz	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2083 1018 	mul	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe e818 	mul	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 1018 	mul	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1018 	mul	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2022 1018 	mul	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 0001 	li	at,1
+[0-9a-f]+ <[^>]+> 2022 1018 	mul	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2022 1018 	mul	t4,t4,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2022 1018 	mul	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2022 1018 	mul	t4,t4,at
+[0-9a-f]+ <[^>]+> 2060 1190 	neg	t4,t5
+[0-9a-f]+ <[^>]+> 2040 1190 	neg	t4,t4
+[0-9a-f]+ <[^>]+> 2040 1190 	neg	t4,t4
+[0-9a-f]+ <[^>]+> 2060 11d0 	negu	t4,t5
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 2060 11d0 	negu	t4,t5
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 5120      	not	s2,s2
+[0-9a-f]+ <[^>]+> 5120      	not	s2,s2
+[0-9a-f]+ <[^>]+> 5130      	not	s2,s3
+[0-9a-f]+ <[^>]+> 5140      	not	s2,a0
+[0-9a-f]+ <[^>]+> 5150      	not	s2,a1
+[0-9a-f]+ <[^>]+> 5160      	not	s2,a2
+[0-9a-f]+ <[^>]+> 5170      	not	s2,a3
+[0-9a-f]+ <[^>]+> 5100      	not	s2,s0
+[0-9a-f]+ <[^>]+> 5110      	not	s2,s1
+[0-9a-f]+ <[^>]+> 5190      	not	s3,s1
+[0-9a-f]+ <[^>]+> 5210      	not	a0,s1
+[0-9a-f]+ <[^>]+> 5290      	not	a1,s1
+[0-9a-f]+ <[^>]+> 5310      	not	a2,s1
+[0-9a-f]+ <[^>]+> 5390      	not	a3,s1
+[0-9a-f]+ <[^>]+> 5010      	not	s0,s1
+[0-9a-f]+ <[^>]+> 5090      	not	s1,s1
+[0-9a-f]+ <[^>]+> 2007 12d0 	not	t4,a3
+[0-9a-f]+ <[^>]+> 20e0 12d0 	nor	t4,zero,a3
+[0-9a-f]+ <[^>]+> 2083 12d0 	nor	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe ead0 	nor	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 12d0 	nor	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 12d0 	nor	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0020 8000 	li	at,32768
+[0-9a-f]+ <[^>]+> 2023 12d0 	nor	t4,t5,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 12d0 	nor	t4,t5,at
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2023 12d0 	nor	t4,t5,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 12d0 	nor	t4,t5,at
+[0-9a-f]+ <[^>]+> 6020 7fff ffff 	li	at,0xffff7fff
+[0-9a-f]+ <[^>]+> 2023 12d0 	nor	t4,t5,at
+[0-9a-f]+ <[^>]+> 2016 1290 	move	t4,s6
+[0-9a-f]+ <[^>]+> 2002 b290 	move	s6,t4
+[0-9a-f]+ <[^>]+> 22c0 1290 	or	t4,zero,s6
+[0-9a-f]+ <[^>]+> 2040 b290 	or	s6,zero,t4
+[0-9a-f]+ <[^>]+> 512c      	or	s2,s2,s2
+[0-9a-f]+ <[^>]+> 513c      	or	s2,s2,s3
+[0-9a-f]+ <[^>]+> 514c      	or	s2,s2,a0
+[0-9a-f]+ <[^>]+> 515c      	or	s2,s2,a1
+[0-9a-f]+ <[^>]+> 516c      	or	s2,s2,a2
+[0-9a-f]+ <[^>]+> 517c      	or	s2,s2,a3
+[0-9a-f]+ <[^>]+> 510c      	or	s2,s2,s0
+[0-9a-f]+ <[^>]+> 511c      	or	s2,s2,s1
+[0-9a-f]+ <[^>]+> 51ac      	or	s3,s3,s2
+[0-9a-f]+ <[^>]+> 522c      	or	a0,a0,s2
+[0-9a-f]+ <[^>]+> 52ac      	or	a1,a1,s2
+[0-9a-f]+ <[^>]+> 532c      	or	a2,a2,s2
+[0-9a-f]+ <[^>]+> 53ac      	or	a3,a3,s2
+[0-9a-f]+ <[^>]+> 502c      	or	s0,s0,s2
+[0-9a-f]+ <[^>]+> 50ac      	or	s1,s1,s2
+[0-9a-f]+ <[^>]+> 512c      	or	s2,s2,s2
+[0-9a-f]+ <[^>]+> 513c      	or	s2,s2,s3
+[0-9a-f]+ <[^>]+> 513c      	or	s2,s2,s3
+[0-9a-f]+ <[^>]+> 2083 1290 	or	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe ea90 	or	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 1290 	or	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1290 	or	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0020 8000 	li	at,32768
+[0-9a-f]+ <[^>]+> 2023 1290 	or	t4,t5,at
+[0-9a-f]+ <[^>]+> 8043 0fff 	ori	t4,t5,0xfff
+[0-9a-f]+ <[^>]+> 0020 1000 	li	at,4096
+[0-9a-f]+ <[^>]+> 2023 1290 	or	t4,t5,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 1290 	or	t4,t5,at
+[0-9a-f]+ <[^>]+> 6020 7fff ffff 	li	at,0xffff7fff
+[0-9a-f]+ <[^>]+> 2023 1290 	or	t4,t5,at
+[0-9a-f]+ <[^>]+> 8064 0000 	ori	t5,a0,0x0
+[0-9a-f]+ <[^>]+> 8064 0fff 	ori	t5,a0,0xfff
+[0-9a-f]+ <[^>]+> 2040 01c0 	rdhwr	t4,hwr_cpunum
+[0-9a-f]+ <[^>]+> 2041 01c0 	rdhwr	t4,hwr_synci_step
+[0-9a-f]+ <[^>]+> 2042 01c0 	rdhwr	t4,hwr_cc
+[0-9a-f]+ <[^>]+> 2043 01c0 	rdhwr	t4,hwr_ccres
+[0-9a-f]+ <[^>]+> 2044 01c0 	rdhwr	t4,hwr_perfcnt
+[0-9a-f]+ <[^>]+> 2045 01c0 	rdhwr	t4,hwr_xnp
+[0-9a-f]+ <[^>]+> 2046 01c0 	rdhwr	t4,\$6
+[0-9a-f]+ <[^>]+> 2047 01c0 	rdhwr	t4,\$7
+[0-9a-f]+ <[^>]+> 2048 01c0 	rdhwr	t4,\$8
+[0-9a-f]+ <[^>]+> 2049 01c0 	rdhwr	t4,\$9
+[0-9a-f]+ <[^>]+> 204a 01c0 	rdhwr	t4,\$10
+[0-9a-f]+ <[^>]+> 2043 e17f 	rdpgpr	t4,t5
+[0-9a-f]+ <[^>]+> 2042 e17f 	rdpgpr	t4,t4
+[0-9a-f]+ <[^>]+> 2062 0158 	mod	zero,t4,t5
+[0-9a-f]+ <[^>]+> 23fe 0158 	mod	zero,fp,ra
+[0-9a-f]+ <[^>]+> 2060 0158 	mod	zero,zero,t5
+[0-9a-f]+ <[^>]+> 23e0 0158 	mod	zero,zero,ra
+[0-9a-f]+ <[^>]+> 2003 1158 	mod	t4,t5,zero
+[0-9a-f]+ <[^>]+> 2083 1158 	mod	t4,t5,a0
+[0-9a-f]+ <[^>]+> 1017      	break	0x7
+[0-9a-f]+ <[^>]+> 1060      	move	t5,zero
+[0-9a-f]+ <[^>]+> 1060      	move	t5,zero
+[0-9a-f]+ <[^>]+> 0020 0002 	li	at,2
+[0-9a-f]+ <[^>]+> 2024 1958 	mod	t5,a0,at
+[0-9a-f]+ <[^>]+> 2080 11d0 	negu	t4,a0
+[0-9a-f]+ <[^>]+> 2043 10d0 	rotrv	t4,t5,t4
+[0-9a-f]+ <[^>]+> 2080 09d0 	negu	at,a0
+[0-9a-f]+ <[^>]+> 2022 10d0 	rotrv	t4,t4,at
+[0-9a-f]+ <[^>]+> 2060 11d0 	negu	t4,t5
+[0-9a-f]+ <[^>]+> 2043 10d0 	rotrv	t4,t5,t4
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 2043 10d0 	rotrv	t4,t5,t4
+[0-9a-f]+ <[^>]+> 8043 c0c0 	rotr	t4,t5,0
+[0-9a-f]+ <[^>]+> 8043 c0df 	rotr	t4,t5,31
+[0-9a-f]+ <[^>]+> 8043 c0c1 	rotr	t4,t5,1
+[0-9a-f]+ <[^>]+> 8042 c0c1 	rotr	t4,t4,1
+[0-9a-f]+ <[^>]+> 8042 c0c1 	rotr	t4,t4,1
+[0-9a-f]+ <[^>]+> 8043 c0c0 	rotr	t4,t5,0
+[0-9a-f]+ <[^>]+> 8043 c0c1 	rotr	t4,t5,1
+[0-9a-f]+ <[^>]+> 8043 c0df 	rotr	t4,t5,31
+[0-9a-f]+ <[^>]+> 8042 c0df 	rotr	t4,t4,31
+[0-9a-f]+ <[^>]+> 8042 c0df 	rotr	t4,t4,31
+[0-9a-f]+ <[^>]+> 2083 10d0 	rotrv	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 10d0 	rotrv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2083 10d0 	rotrv	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 10d0 	rotrv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2083 10d0 	rotrv	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 10d0 	rotrv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2083 10d0 	rotrv	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 10d0 	rotrv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 5c34      	sb	zero,0\(s3\)
+[0-9a-f]+ <[^>]+> 5c34      	sb	zero,0\(s3\)
+[0-9a-f]+ <[^>]+> 5c35      	sb	zero,1\(s3\)
+[0-9a-f]+ <[^>]+> 5c36      	sb	zero,2\(s3\)
+[0-9a-f]+ <[^>]+> 5c37      	sb	zero,3\(s3\)
+[0-9a-f]+ <[^>]+> 8403 1004 	sb	zero,4\(t5\)
+[0-9a-f]+ <[^>]+> 8403 1005 	sb	zero,5\(t5\)
+[0-9a-f]+ <[^>]+> 8403 1006 	sb	zero,6\(t5\)
+[0-9a-f]+ <[^>]+> 8403 1007 	sb	zero,7\(t5\)
+[0-9a-f]+ <[^>]+> 8403 1008 	sb	zero,8\(t5\)
+[0-9a-f]+ <[^>]+> 8403 1009 	sb	zero,9\(t5\)
+[0-9a-f]+ <[^>]+> 8403 100a 	sb	zero,10\(t5\)
+[0-9a-f]+ <[^>]+> 8403 100b 	sb	zero,11\(t5\)
+[0-9a-f]+ <[^>]+> 8403 100c 	sb	zero,12\(t5\)
+[0-9a-f]+ <[^>]+> 8403 100d 	sb	zero,13\(t5\)
+[0-9a-f]+ <[^>]+> 8403 100e 	sb	zero,14\(t5\)
+[0-9a-f]+ <[^>]+> 8403 100f 	sb	zero,15\(t5\)
+[0-9a-f]+ <[^>]+> 8443 100f 	sb	t4,15\(t5\)
+[0-9a-f]+ <[^>]+> 8463 100f 	sb	t5,15\(t5\)
+[0-9a-f]+ <[^>]+> 8483 100f 	sb	a0,15\(t5\)
+[0-9a-f]+ <[^>]+> 84a3 100f 	sb	a1,15\(t5\)
+[0-9a-f]+ <[^>]+> 84c3 100f 	sb	a2,15\(t5\)
+[0-9a-f]+ <[^>]+> 84e3 100f 	sb	a3,15\(t5\)
+[0-9a-f]+ <[^>]+> 8623 100f 	sb	s1,15\(t5\)
+[0-9a-f]+ <[^>]+> 8624 100f 	sb	s1,15\(a0\)
+[0-9a-f]+ <[^>]+> 8625 100f 	sb	s1,15\(a1\)
+[0-9a-f]+ <[^>]+> 8626 100f 	sb	s1,15\(a2\)
+[0-9a-f]+ <[^>]+> 8627 100f 	sb	s1,15\(a3\)
+[0-9a-f]+ <[^>]+> 8622 100f 	sb	s1,15\(t4\)
+[0-9a-f]+ <[^>]+> 8630 100f 	sb	s1,15\(s0\)
+[0-9a-f]+ <[^>]+> 8631 100f 	sb	s1,15\(s1\)
+[0-9a-f]+ <[^>]+> 8460 1004 	sb	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 1004 	sb	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 1fff 	sb	t5,4095\(zero\)
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8461 1001 	sb	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8461 1001 	sb	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a460 88ff 	sb	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8461 1678 	sb	t5,1656\(at\)
+[0-9a-f]+ <[^>]+> 8464 1000 	sb	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 1000 	sb	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 1fff 	sb	t5,4095\(a0\)
+[0-9a-f]+ <[^>]+> 0024 ffff 	addiu	at,a0,65535
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 1001 	sb	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 1001 	sb	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a464 88ff 	sb	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 1678 	sb	t5,1656\(at\)
+[0-9a-f]+ <[^>]+> a460 5904 	sc	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> a460 5904 	sc	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0020 07ff 	li	at,2047
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 8020 8800 	li	at,-2048
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> a461 5904 	sc	t5,4\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a461 5904 	sc	t5,4\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 8020 8001 	li	at,-1
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 6020 5678 1234 	li	at,0x12345678
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a464 5900 	sc	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> a464 5900 	sc	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 0024 07ff 	addiu	at,a0,2047
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 8024 8800 	addiu	at,a0,-2048
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 0024 7fff 	addiu	at,a0,32767
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 0024 ffff 	addiu	at,a0,65535
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5904 	sc	t5,4\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5904 	sc	t5,4\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 8024 8001 	addiu	at,a0,-1
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 6020 5678 1234 	li	at,0x12345678
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 1018      	sdbbp
+[0-9a-f]+ <[^>]+> 1018      	sdbbp
+[0-9a-f]+ <[^>]+> 1019      	sdbbp	0x1
+[0-9a-f]+ <[^>]+> 101a      	sdbbp	0x2
+[0-9a-f]+ <[^>]+> 101b      	sdbbp	0x3
+[0-9a-f]+ <[^>]+> 101c      	sdbbp	0x4
+[0-9a-f]+ <[^>]+> 101d      	sdbbp	0x5
+[0-9a-f]+ <[^>]+> 101e      	sdbbp	0x6
+[0-9a-f]+ <[^>]+> 101f      	sdbbp	0x7
+[0-9a-f]+ <[^>]+> 0018 0008 	sdbbp	0x8
+[0-9a-f]+ <[^>]+> 0018 0009 	sdbbp	0x9
+[0-9a-f]+ <[^>]+> 0018 000a 	sdbbp	0xa
+[0-9a-f]+ <[^>]+> 0018 000b 	sdbbp	0xb
+[0-9a-f]+ <[^>]+> 0018 000c 	sdbbp	0xc
+[0-9a-f]+ <[^>]+> 0018 000d 	sdbbp	0xd
+[0-9a-f]+ <[^>]+> 0018 000e 	sdbbp	0xe
+[0-9a-f]+ <[^>]+> 0018 000f 	sdbbp	0xf
+[0-9a-f]+ <[^>]+> 0018 0000 	sdbbp
+[0-9a-f]+ <[^>]+> 0018 0000 	sdbbp
+[0-9a-f]+ <[^>]+> 0018 0001 	sdbbp	0x1
+[0-9a-f]+ <[^>]+> 0018 0002 	sdbbp	0x2
+[0-9a-f]+ <[^>]+> 0018 00ff 	sdbbp	0xff
+[0-9a-f]+ <[^>]+> 2043 0008 	seb	t4,t5
+[0-9a-f]+ <[^>]+> 2042 0008 	seb	t4,t4
+[0-9a-f]+ <[^>]+> 2042 0008 	seb	t4,t4
+[0-9a-f]+ <[^>]+> 2043 0048 	seh	t4,t5
+[0-9a-f]+ <[^>]+> 2042 0048 	seh	t4,t4
+[0-9a-f]+ <[^>]+> 2042 0048 	seh	t4,t4
+[0-9a-f]+ <[^>]+> 2083 1310 	xor	t4,t5,a0
+[0-9a-f]+ <[^>]+> 8042 5001 	sltiu	t4,t4,1
+[0-9a-f]+ <[^>]+> 8043 5001 	sltiu	t4,t5,1
+[0-9a-f]+ <[^>]+> 8044 5001 	sltiu	t4,a0,1
+[0-9a-f]+ <[^>]+> 8043 5001 	sltiu	t4,t5,1
+[0-9a-f]+ <[^>]+> 8043 6001 	seqi	t4,t5,1
+[0-9a-f]+ <[^>]+> 0043 0001 	addiu	t4,t5,1
+[0-9a-f]+ <[^>]+> 8042 5001 	sltiu	t4,t4,1
+[0-9a-f]+ <[^>]+> 0043 8001 	addiu	t4,t5,32769
+[0-9a-f]+ <[^>]+> 8042 5001 	sltiu	t4,t4,1
+[0-9a-f]+ <[^>]+> 2083 1350 	slt	t4,t5,a0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2082 1350 	slt	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2082 1350 	slt	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 8043 4000 	slti	t4,t5,0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 8043 4000 	slti	t4,t5,0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 6020 7fff ffff 	li	at,0xffff7fff
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2083 1390 	sltu	t4,t5,a0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2082 1390 	sltu	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2082 1390 	sltu	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 8043 5000 	sltiu	t4,t5,0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 8043 5000 	sltiu	t4,t5,0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 6020 7fff ffff 	li	at,0xffff7fff
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2064 1350 	slt	t4,a0,t5
+[0-9a-f]+ <[^>]+> 2044 1350 	slt	t4,a0,t4
+[0-9a-f]+ <[^>]+> 2044 1350 	slt	t4,a0,t4
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 6020 7fff ffff 	li	at,0xffff7fff
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 2064 1390 	sltu	t4,a0,t5
+[0-9a-f]+ <[^>]+> 2044 1390 	sltu	t4,a0,t4
+[0-9a-f]+ <[^>]+> 2044 1390 	sltu	t4,a0,t4
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 6020 7fff ffff 	li	at,0xffff7fff
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 7d31      	sh	s2,0\(s3\)
+[0-9a-f]+ <[^>]+> 7d31      	sh	s2,0\(s3\)
+[0-9a-f]+ <[^>]+> 7d33      	sh	s2,2\(s3\)
+[0-9a-f]+ <[^>]+> 7d35      	sh	s2,4\(s3\)
+[0-9a-f]+ <[^>]+> 7d37      	sh	s2,6\(s3\)
+[0-9a-f]+ <[^>]+> 8443 5008 	sh	t4,8\(t5\)
+[0-9a-f]+ <[^>]+> 8443 500a 	sh	t4,10\(t5\)
+[0-9a-f]+ <[^>]+> 8443 500c 	sh	t4,12\(t5\)
+[0-9a-f]+ <[^>]+> 8443 500e 	sh	t4,14\(t5\)
+[0-9a-f]+ <[^>]+> 8443 5010 	sh	t4,16\(t5\)
+[0-9a-f]+ <[^>]+> 8443 5012 	sh	t4,18\(t5\)
+[0-9a-f]+ <[^>]+> 8443 5014 	sh	t4,20\(t5\)
+[0-9a-f]+ <[^>]+> 8443 5016 	sh	t4,22\(t5\)
+[0-9a-f]+ <[^>]+> 8443 5018 	sh	t4,24\(t5\)
+[0-9a-f]+ <[^>]+> 8443 501a 	sh	t4,26\(t5\)
+[0-9a-f]+ <[^>]+> 8443 501c 	sh	t4,28\(t5\)
+[0-9a-f]+ <[^>]+> 8443 501e 	sh	t4,30\(t5\)
+[0-9a-f]+ <[^>]+> 8444 501e 	sh	t4,30\(a0\)
+[0-9a-f]+ <[^>]+> 8445 501e 	sh	t4,30\(a1\)
+[0-9a-f]+ <[^>]+> 8446 501e 	sh	t4,30\(a2\)
+[0-9a-f]+ <[^>]+> 8447 501e 	sh	t4,30\(a3\)
+[0-9a-f]+ <[^>]+> 8442 501e 	sh	t4,30\(t4\)
+[0-9a-f]+ <[^>]+> 8450 501e 	sh	t4,30\(s0\)
+[0-9a-f]+ <[^>]+> 8451 501e 	sh	t4,30\(s1\)
+[0-9a-f]+ <[^>]+> 8471 501e 	sh	t5,30\(s1\)
+[0-9a-f]+ <[^>]+> 8491 501e 	sh	a0,30\(s1\)
+[0-9a-f]+ <[^>]+> 84b1 501e 	sh	a1,30\(s1\)
+[0-9a-f]+ <[^>]+> 84d1 501e 	sh	a2,30\(s1\)
+[0-9a-f]+ <[^>]+> 84f1 501e 	sh	a3,30\(s1\)
+[0-9a-f]+ <[^>]+> 8631 501e 	sh	s1,30\(s1\)
+[0-9a-f]+ <[^>]+> 8411 501e 	sh	zero,30\(s1\)
+[0-9a-f]+ <[^>]+> 8460 5004 	sh	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 5004 	sh	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 5fff 	sh	t5,4095\(zero\)
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8461 5001 	sh	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8461 5001 	sh	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a460 a8ff 	sh	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8461 5678 	sh	t5,1656\(at\)
+[0-9a-f]+ <[^>]+> 8464 5000 	sh	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 5000 	sh	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 5fff 	sh	t5,4095\(a0\)
+[0-9a-f]+ <[^>]+> 0024 ffff 	addiu	at,a0,65535
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 5001 	sh	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 5001 	sh	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a464 a8ff 	sh	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 5678 	sh	t5,1656\(at\)
+[0-9a-f]+ <[^>]+> 2064 1350 	slt	t4,a0,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2044 1350 	slt	t4,a0,t4
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2044 1350 	slt	t4,a0,t4
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 6020 7fff ffff 	li	at,0xffff7fff
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2064 1390 	sltu	t4,a0,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2044 1390 	sltu	t4,a0,t4
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2044 1390 	sltu	t4,a0,t4
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 6020 7fff ffff 	li	at,0xffff7fff
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 3121      	sll	s2,s2,1
+[0-9a-f]+ <[^>]+> 3122      	sll	s2,s2,2
+[0-9a-f]+ <[^>]+> 3123      	sll	s2,s2,3
+[0-9a-f]+ <[^>]+> 3124      	sll	s2,s2,4
+[0-9a-f]+ <[^>]+> 3125      	sll	s2,s2,5
+[0-9a-f]+ <[^>]+> 3126      	sll	s2,s2,6
+[0-9a-f]+ <[^>]+> 3127      	sll	s2,s2,7
+[0-9a-f]+ <[^>]+> 3120      	sll	s2,s2,8
+[0-9a-f]+ <[^>]+> 3130      	sll	s2,s3,8
+[0-9a-f]+ <[^>]+> 3140      	sll	s2,a0,8
+[0-9a-f]+ <[^>]+> 3150      	sll	s2,a1,8
+[0-9a-f]+ <[^>]+> 3160      	sll	s2,a2,8
+[0-9a-f]+ <[^>]+> 3170      	sll	s2,a3,8
+[0-9a-f]+ <[^>]+> 3100      	sll	s2,s0,8
+[0-9a-f]+ <[^>]+> 3110      	sll	s2,s1,8
+[0-9a-f]+ <[^>]+> 31a0      	sll	s3,s2,8
+[0-9a-f]+ <[^>]+> 3220      	sll	a0,s2,8
+[0-9a-f]+ <[^>]+> 32a0      	sll	a1,s2,8
+[0-9a-f]+ <[^>]+> 3320      	sll	a2,s2,8
+[0-9a-f]+ <[^>]+> 33a0      	sll	a3,s2,8
+[0-9a-f]+ <[^>]+> 3020      	sll	s0,s2,8
+[0-9a-f]+ <[^>]+> 30a0      	sll	s1,s2,8
+[0-9a-f]+ <[^>]+> 3121      	sll	s2,s2,1
+[0-9a-f]+ <[^>]+> 31b1      	sll	s3,s3,1
+[0-9a-f]+ <[^>]+> 2083 1010 	sllv	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 1010 	sllv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1010 	sllv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1010 	sllv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8044 c000 	sll	t4,a0,0
+[0-9a-f]+ <[^>]+> 8044 c001 	sll	t4,a0,1
+[0-9a-f]+ <[^>]+> 8044 c01f 	sll	t4,a0,31
+[0-9a-f]+ <[^>]+> 8042 c01f 	sll	t4,t4,31
+[0-9a-f]+ <[^>]+> 8042 c01f 	sll	t4,t4,31
+[0-9a-f]+ <[^>]+> 2083 1350 	slt	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 1350 	slt	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1350 	slt	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8043 4000 	slti	t4,t5,0
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8043 4000 	slti	t4,t5,0
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 6020 7fff ffff 	li	at,0xffff7fff
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8064 4000 	slti	t5,a0,0
+[0-9a-f]+ <[^>]+> 8064 4fff 	slti	t5,a0,4095
+[0-9a-f]+ <[^>]+> 8064 5000 	sltiu	t5,a0,0
+[0-9a-f]+ <[^>]+> 8064 5fff 	sltiu	t5,a0,4095
+[0-9a-f]+ <[^>]+> 2083 1390 	sltu	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 1390 	sltu	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1390 	sltu	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8043 5000 	sltiu	t4,t5,0
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 8043 5000 	sltiu	t4,t5,0
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 6020 7fff ffff 	li	at,0xffff7fff
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 2083 1310 	xor	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2040 1390 	sltu	t4,zero,t4
+[0-9a-f]+ <[^>]+> 2080 1390 	sltu	t4,zero,a0
+[0-9a-f]+ <[^>]+> 2060 1390 	sltu	t4,zero,t5
+[0-9a-f]+ <[^>]+> 2060 1390 	sltu	t4,zero,t5
+[0-9a-f]+ <[^>]+> 8043 1001 	xori	t4,t5,0x1
+[0-9a-f]+ <[^>]+> 2040 1390 	sltu	t4,zero,t4
+[0-9a-f]+ <[^>]+> 0043 0001 	addiu	t4,t5,1
+[0-9a-f]+ <[^>]+> 2040 1390 	sltu	t4,zero,t4
+[0-9a-f]+ <[^>]+> 0043 8001 	addiu	t4,t5,32769
+[0-9a-f]+ <[^>]+> 2040 1390 	sltu	t4,zero,t4
+[0-9a-f]+ <[^>]+> 2083 1090 	srav	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 1090 	srav	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1090 	srav	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1090 	srav	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8044 c080 	sra	t4,a0,0
+[0-9a-f]+ <[^>]+> 8044 c081 	sra	t4,a0,1
+[0-9a-f]+ <[^>]+> 8044 c09f 	sra	t4,a0,31
+[0-9a-f]+ <[^>]+> 8042 c09f 	sra	t4,t4,31
+[0-9a-f]+ <[^>]+> 8042 c09f 	sra	t4,t4,31
+[0-9a-f]+ <[^>]+> 2083 1050 	srlv	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 1050 	srlv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1050 	srlv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1050 	srlv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8044 c040 	srl	t4,a0,0
+[0-9a-f]+ <[^>]+> 3149      	srl	s2,a0,1
+[0-9a-f]+ <[^>]+> 8044 c05f 	srl	t4,a0,31
+[0-9a-f]+ <[^>]+> 8042 c05f 	srl	t4,t4,31
+[0-9a-f]+ <[^>]+> 8042 c05f 	srl	t4,t4,31
+[0-9a-f]+ <[^>]+> 3129      	srl	s2,s2,1
+[0-9a-f]+ <[^>]+> 312a      	srl	s2,s2,2
+[0-9a-f]+ <[^>]+> 312b      	srl	s2,s2,3
+[0-9a-f]+ <[^>]+> 312c      	srl	s2,s2,4
+[0-9a-f]+ <[^>]+> 312d      	srl	s2,s2,5
+[0-9a-f]+ <[^>]+> 312e      	srl	s2,s2,6
+[0-9a-f]+ <[^>]+> 312f      	srl	s2,s2,7
+[0-9a-f]+ <[^>]+> 3128      	srl	s2,s2,8
+[0-9a-f]+ <[^>]+> 3138      	srl	s2,s3,8
+[0-9a-f]+ <[^>]+> 3148      	srl	s2,a0,8
+[0-9a-f]+ <[^>]+> 3158      	srl	s2,a1,8
+[0-9a-f]+ <[^>]+> 3168      	srl	s2,a2,8
+[0-9a-f]+ <[^>]+> 3178      	srl	s2,a3,8
+[0-9a-f]+ <[^>]+> 3108      	srl	s2,s0,8
+[0-9a-f]+ <[^>]+> 3118      	srl	s2,s1,8
+[0-9a-f]+ <[^>]+> 3128      	srl	s2,s2,8
+[0-9a-f]+ <[^>]+> 31a8      	srl	s3,s2,8
+[0-9a-f]+ <[^>]+> 3228      	srl	a0,s2,8
+[0-9a-f]+ <[^>]+> 32a8      	srl	a1,s2,8
+[0-9a-f]+ <[^>]+> 3328      	srl	a2,s2,8
+[0-9a-f]+ <[^>]+> 33a8      	srl	a3,s2,8
+[0-9a-f]+ <[^>]+> 3028      	srl	s0,s2,8
+[0-9a-f]+ <[^>]+> 30a8      	srl	s1,s2,8
+[0-9a-f]+ <[^>]+> 31b9      	srl	s3,s3,1
+[0-9a-f]+ <[^>]+> 31b9      	srl	s3,s3,1
+[0-9a-f]+ <[^>]+> 2083 1190 	sub	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe e990 	sub	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 1190 	sub	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1190 	sub	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2022 1190 	sub	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 0001 	li	at,1
+[0-9a-f]+ <[^>]+> 2022 1190 	sub	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2022 1190 	sub	t4,t4,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2022 1190 	sub	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2022 1190 	sub	t4,t4,at
+[0-9a-f]+ <[^>]+> b135      	subu	s2,s3,s2
+[0-9a-f]+ <[^>]+> b1b5      	subu	s2,s3,s3
+[0-9a-f]+ <[^>]+> b235      	subu	s2,s3,a0
+[0-9a-f]+ <[^>]+> b2b5      	subu	s2,s3,a1
+[0-9a-f]+ <[^>]+> b335      	subu	s2,s3,a2
+[0-9a-f]+ <[^>]+> b3b5      	subu	s2,s3,a3
+[0-9a-f]+ <[^>]+> b035      	subu	s2,s3,s0
+[0-9a-f]+ <[^>]+> b0b5      	subu	s2,s3,s1
+[0-9a-f]+ <[^>]+> b0a5      	subu	s2,s2,s1
+[0-9a-f]+ <[^>]+> b0c5      	subu	s2,a0,s1
+[0-9a-f]+ <[^>]+> b0d5      	subu	s2,a1,s1
+[0-9a-f]+ <[^>]+> b0e5      	subu	s2,a2,s1
+[0-9a-f]+ <[^>]+> b0f5      	subu	s2,a3,s1
+[0-9a-f]+ <[^>]+> b085      	subu	s2,s0,s1
+[0-9a-f]+ <[^>]+> b095      	subu	s2,s1,s1
+[0-9a-f]+ <[^>]+> b0a5      	subu	s2,s2,s1
+[0-9a-f]+ <[^>]+> b0a7      	subu	s3,s2,s1
+[0-9a-f]+ <[^>]+> b0a9      	subu	a0,s2,s1
+[0-9a-f]+ <[^>]+> b0ab      	subu	a1,s2,s1
+[0-9a-f]+ <[^>]+> b0ad      	subu	a2,s2,s1
+[0-9a-f]+ <[^>]+> b0af      	subu	a3,s2,s1
+[0-9a-f]+ <[^>]+> b0a1      	subu	s0,s2,s1
+[0-9a-f]+ <[^>]+> b0a3      	subu	s1,s2,s1
+[0-9a-f]+ <[^>]+> b17f      	subu	a3,a3,s2
+[0-9a-f]+ <[^>]+> b17f      	subu	a3,a3,s2
+[0-9a-f]+ <[^>]+> 2083 11d0 	subu	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe e9d0 	subu	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 11d0 	subu	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 11d0 	subu	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0042 0000 	addiu	t4,t4,0
+[0-9a-f]+ <[^>]+> 8042 8001 	addiu	t4,t4,-1
+[0-9a-f]+ <[^>]+> 6041 8001 ffff 	addiu	t4,t4,-32767
+[0-9a-f]+ <[^>]+> 0042 8000 	addiu	t4,t4,32768
+[0-9a-f]+ <[^>]+> 6041 0001 ffff 	addiu	t4,t4,-65535
+[0-9a-f]+ <[^>]+> 9540      	sw	s2,0\(a0\)
+[0-9a-f]+ <[^>]+> 9540      	sw	s2,0\(a0\)
+[0-9a-f]+ <[^>]+> 9541      	sw	s2,4\(a0\)
+[0-9a-f]+ <[^>]+> 9542      	sw	s2,8\(a0\)
+[0-9a-f]+ <[^>]+> 9543      	sw	s2,12\(a0\)
+[0-9a-f]+ <[^>]+> 9544      	sw	s2,16\(a0\)
+[0-9a-f]+ <[^>]+> 9545      	sw	s2,20\(a0\)
+[0-9a-f]+ <[^>]+> 9546      	sw	s2,24\(a0\)
+[0-9a-f]+ <[^>]+> 9547      	sw	s2,28\(a0\)
+[0-9a-f]+ <[^>]+> 9548      	sw	s2,32\(a0\)
+[0-9a-f]+ <[^>]+> 9549      	sw	s2,36\(a0\)
+[0-9a-f]+ <[^>]+> 954a      	sw	s2,40\(a0\)
+[0-9a-f]+ <[^>]+> 954b      	sw	s2,44\(a0\)
+[0-9a-f]+ <[^>]+> 954c      	sw	s2,48\(a0\)
+[0-9a-f]+ <[^>]+> 954d      	sw	s2,52\(a0\)
+[0-9a-f]+ <[^>]+> 954e      	sw	s2,56\(a0\)
+[0-9a-f]+ <[^>]+> 954f      	sw	s2,60\(a0\)
+[0-9a-f]+ <[^>]+> 955f      	sw	s2,60\(a1\)
+[0-9a-f]+ <[^>]+> 956f      	sw	s2,60\(a2\)
+[0-9a-f]+ <[^>]+> 957f      	sw	s2,60\(a3\)
+[0-9a-f]+ <[^>]+> 950f      	sw	s2,60\(s0\)
+[0-9a-f]+ <[^>]+> 951f      	sw	s2,60\(s1\)
+[0-9a-f]+ <[^>]+> 952f      	sw	s2,60\(s2\)
+[0-9a-f]+ <[^>]+> 953f      	sw	s2,60\(s3\)
+[0-9a-f]+ <[^>]+> 95bf      	sw	s3,60\(s3\)
+[0-9a-f]+ <[^>]+> 963f      	sw	a0,60\(s3\)
+[0-9a-f]+ <[^>]+> 96bf      	sw	a1,60\(s3\)
+[0-9a-f]+ <[^>]+> 973f      	sw	a2,60\(s3\)
+[0-9a-f]+ <[^>]+> 97bf      	sw	a3,60\(s3\)
+[0-9a-f]+ <[^>]+> 94bf      	sw	s1,60\(s3\)
+[0-9a-f]+ <[^>]+> 943f      	sw	zero,60\(s3\)
+[0-9a-f]+ <[^>]+> b400      	sw	zero,0\(sp\)
+[0-9a-f]+ <[^>]+> b400      	sw	zero,0\(sp\)
+[0-9a-f]+ <[^>]+> b401      	sw	zero,4\(sp\)
+[0-9a-f]+ <[^>]+> b402      	sw	zero,8\(sp\)
+[0-9a-f]+ <[^>]+> b403      	sw	zero,12\(sp\)
+[0-9a-f]+ <[^>]+> b404      	sw	zero,16\(sp\)
+[0-9a-f]+ <[^>]+> b405      	sw	zero,20\(sp\)
+[0-9a-f]+ <[^>]+> b41e      	sw	zero,120\(sp\)
+[0-9a-f]+ <[^>]+> b41f      	sw	zero,124\(sp\)
+[0-9a-f]+ <[^>]+> b45f      	sw	t4,124\(sp\)
+[0-9a-f]+ <[^>]+> b63f      	sw	s1,124\(sp\)
+[0-9a-f]+ <[^>]+> b47f      	sw	t5,124\(sp\)
+[0-9a-f]+ <[^>]+> b49f      	sw	a0,124\(sp\)
+[0-9a-f]+ <[^>]+> b4bf      	sw	a1,124\(sp\)
+[0-9a-f]+ <[^>]+> b4df      	sw	a2,124\(sp\)
+[0-9a-f]+ <[^>]+> b4ff      	sw	a3,124\(sp\)
+[0-9a-f]+ <[^>]+> b7ff      	sw	ra,124\(sp\)
+[0-9a-f]+ <[^>]+> 8460 9004 	sw	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 9004 	sw	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 9fff 	sw	t5,4095\(zero\)
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8461 9001 	sw	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8461 9001 	sw	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a460 c8ff 	sw	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8461 9678 	sw	t5,1656\(at\)
+[0-9a-f]+ <[^>]+> 8464 9000 	sw	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 9000 	sw	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 9fff 	sw	t5,4095\(a0\)
+[0-9a-f]+ <[^>]+> 0024 ffff 	addiu	at,a0,65535
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 9001 	sw	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 9001 	sw	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a464 c8ff 	sw	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 9678 	sw	t5,1656\(at\)
+[0-9a-f]+ <[^>]+> 8000 c006 	sync
+[0-9a-f]+ <[^>]+> 8000 c006 	sync
+[0-9a-f]+ <[^>]+> 8001 c006 	sync	0x1
+[0-9a-f]+ <[^>]+> 8002 c006 	sync	0x2
+[0-9a-f]+ <[^>]+> 8003 c006 	sync	0x3
+[0-9a-f]+ <[^>]+> 8005 c006 	sync	0x5
+[0-9a-f]+ <[^>]+> 801e c006 	sync	0x1e
+[0-9a-f]+ <[^>]+> 801f c006 	sync	0x1f
+[0-9a-f]+ <[^>]+> 87e0 3000 	synci	0\(zero\)
+[0-9a-f]+ <[^>]+> 87e0 3000 	synci	0\(zero\)
+[0-9a-f]+ <[^>]+> 87e0 3000 	synci	0\(zero\)
+[0-9a-f]+ <[^>]+> 87e0 37ff 	synci	2047\(zero\)
+[0-9a-f]+ <[^>]+> 87e0 3800 	synci	2048\(zero\)
+[0-9a-f]+ <[^>]+> 87e2 3000 	synci	0\(t4\)
+[0-9a-f]+ <[^>]+> 87e3 3000 	synci	0\(t5\)
+[0-9a-f]+ <[^>]+> 87e3 30ff 	synci	255\(t5\)
+[0-9a-f]+ <[^>]+> a7e3 9800 	synci	-256\(t5\)
+[0-9a-f]+ <[^>]+> 87e3 3800 	synci	2048\(t5\)
+[0-9a-f]+ <[^>]+> 1008      	syscall
+[0-9a-f]+ <[^>]+> 1008      	syscall
+[0-9a-f]+ <[^>]+> 1009      	syscall	0x1
+[0-9a-f]+ <[^>]+> 100a      	syscall	0x2
+[0-9a-f]+ <[^>]+> 0008 00ff 	syscall	0xff
+[0-9a-f]+ <[^>]+> 2000 c37f 	wait
+[0-9a-f]+ <[^>]+> 2000 c37f 	wait
+[0-9a-f]+ <[^>]+> 2001 c37f 	wait	0x1
+[0-9a-f]+ <[^>]+> 20ff c37f 	wait	0xff
+[0-9a-f]+ <[^>]+> 2043 f17f 	wrpgpr	t4,t5
+[0-9a-f]+ <[^>]+> 2044 f17f 	wrpgpr	t4,a0
+[0-9a-f]+ <[^>]+> 2042 f17f 	wrpgpr	t4,t4
+[0-9a-f]+ <[^>]+> 2042 f17f 	wrpgpr	t4,t4
+[0-9a-f]+ <[^>]+> 8043 d608 	byterevh	t4,t5
+[0-9a-f]+ <[^>]+> 8044 d608 	byterevh	t4,a0
+[0-9a-f]+ <[^>]+> 8042 d608 	byterevh	t4,t4
+[0-9a-f]+ <[^>]+> 8042 d608 	byterevh	t4,t4
+[0-9a-f]+ <[^>]+> 5124      	xor	s2,s2,s2
+[0-9a-f]+ <[^>]+> 5134      	xor	s2,s2,s3
+[0-9a-f]+ <[^>]+> 5144      	xor	s2,s2,a0
+[0-9a-f]+ <[^>]+> 5154      	xor	s2,s2,a1
+[0-9a-f]+ <[^>]+> 5164      	xor	s2,s2,a2
+[0-9a-f]+ <[^>]+> 5174      	xor	s2,s2,a3
+[0-9a-f]+ <[^>]+> 5104      	xor	s2,s2,s0
+[0-9a-f]+ <[^>]+> 5114      	xor	s2,s2,s1
+[0-9a-f]+ <[^>]+> 5194      	xor	s3,s3,s1
+[0-9a-f]+ <[^>]+> 5214      	xor	a0,a0,s1
+[0-9a-f]+ <[^>]+> 5294      	xor	a1,a1,s1
+[0-9a-f]+ <[^>]+> 5314      	xor	a2,a2,s1
+[0-9a-f]+ <[^>]+> 5394      	xor	a3,a3,s1
+[0-9a-f]+ <[^>]+> 5014      	xor	s0,s0,s1
+[0-9a-f]+ <[^>]+> 5094      	xor	s1,s1,s1
+[0-9a-f]+ <[^>]+> 5134      	xor	s2,s2,s3
+[0-9a-f]+ <[^>]+> 5134      	xor	s2,s2,s3
+[0-9a-f]+ <[^>]+> 5134      	xor	s2,s2,s3
+[0-9a-f]+ <[^>]+> 2083 1310 	xor	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe eb10 	xor	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 1310 	xor	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1310 	xor	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0020 8000 	li	at,32768
+[0-9a-f]+ <[^>]+> 2023 1310 	xor	t4,t5,at
+[0-9a-f]+ <[^>]+> 8043 1fff 	xori	t4,t5,0xfff
+[0-9a-f]+ <[^>]+> 0020 1000 	li	at,4096
+[0-9a-f]+ <[^>]+> 2023 1310 	xor	t4,t5,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 1310 	xor	t4,t5,at
+[0-9a-f]+ <[^>]+> 6020 7fff ffff 	li	at,0xffff7fff
+[0-9a-f]+ <[^>]+> 2023 1310 	xor	t4,t5,at
+[0-9a-f]+ <[^>]+> 8064 1000 	xori	t5,a0,0x0
+[0-9a-f]+ <[^>]+> 8063 1fff 	xori	t5,t5,0xfff
+[0-9a-f]+ <[^>]+> 8920 0000 	beqzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8949 0000 	beqc	a5,a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 0000 	beqzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c920 0800 	beqic	a5,1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 880a 8000 	bgezc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 880a 8000 	bgezc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8940 8000 	blezc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 896a 8000 	bgec	a6,a7,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 880a 8000 	bgezc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a940 8000 	bgtzc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c948 1000 	bgeic	a6,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8802 c000 	bgeuc	t4,zero,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8840 c000 	bgeuc	zero,t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8862 c000 	bgeuc	t4,t5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a840 0000 	bnezc	t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c84c 1000 	bgeiuc	t4,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8802 8000 	bgezc	t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a840 8000 	bgtzc	t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a802 8000 	bltzc	t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 212a 0b50 	slt	at,a6,a5
+[0-9a-f]+ <[^>]+> a820 0000 	bnezc	at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 9008      	nop
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8809 8000 	bgezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a920 8000 	bgtzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c928 1000 	bgeic	a5,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 6020 0001 8000 	li	at,0x80000001
+[0-9a-f]+ <[^>]+> 2029 0b50 	slt	at,a5,at
+[0-9a-f]+ <[^>]+> 8820 0000 	beqzc	at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a920 0000 	bnezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 9008      	nop
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 212a 0b90 	sltu	at,a6,a5
+[0-9a-f]+ <[^>]+> a820 0000 	bnezc	at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 9008      	nop
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 9008      	nop
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 9008      	nop
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a920 0000 	bnezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c92c 1000 	bgeiuc	a5,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a920 8000 	bgtzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 8000 	blezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 880a 8000 	bgezc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 212a 0b50 	slt	at,a6,a5
+[0-9a-f]+ <[^>]+> 8820 0000 	beqzc	at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a809 8000 	bltzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 8000 	blezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c938 1000 	bltic	a5,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 0000 	beqzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 212a 0b90 	sltu	at,a6,a5
+[0-9a-f]+ <[^>]+> 8820 0000 	beqzc	at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 0000 	beqzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c93c 1000 	bltiuc	a5,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 8000 	blezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a809 8000 	bltzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a940 8000 	bgtzc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a949 8000 	bltc	a5,a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a809 8000 	bltzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 8000 	blezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c938 1000 	bltic	a5,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a809 c000 	bltuc	a5,zero,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a940 c000 	bltuc	zero,a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a949 c000 	bltuc	a5,a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 9008      	nop
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 0000 	beqzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c93c 1000 	bltiuc	a5,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a809 8000 	bltzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a920 0000 	bnezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a949 0000 	bnec	a5,a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a920 0000 	bnezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c930 0800 	bneic	a5,1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> b2c6      	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 1d00      	restore.jrc	0
+[0-9a-f]+ <[^>]+> 8000 300b 	restore.jrc	8
+[0-9a-f]+ <[^>]+> 1d10      	restore.jrc	16
+[0-9a-f]+ <[^>]+> 8000 301b 	restore.jrc	24
+[0-9a-f]+ <[^>]+> 1d20      	restore.jrc	32
+[0-9a-f]+ <[^>]+> 8000 302b 	restore.jrc	40
+[0-9a-f]+ <[^>]+> 03bd 0004 	addiu	sp,sp,4
+[0-9a-f]+ <[^>]+> dbe0      	jrc	ra
+[0-9a-f]+ <[^>]+> 03bd 000c 	addiu	sp,sp,12
+[0-9a-f]+ <[^>]+> dbe0      	jrc	ra
+[0-9a-f]+ <[^>]+> 03bd 0014 	addiu	sp,sp,20
+[0-9a-f]+ <[^>]+> dbe0      	jrc	ra
+[0-9a-f]+ <[^>]+> 03bd 001c 	addiu	sp,sp,28
+[0-9a-f]+ <[^>]+> dbe0      	jrc	ra
+[0-9a-f]+ <[^>]+> 03bd 0024 	addiu	sp,sp,36
+[0-9a-f]+ <[^>]+> dbe0      	jrc	ra
+[0-9a-f]+ <[^>]+> 8000 307b 	restore.jrc	120
+[0-9a-f]+ <[^>]+> 03bd 007c 	addiu	sp,sp,124
+[0-9a-f]+ <[^>]+> dbe0      	jrc	ra
+[0-9a-f]+ <[^>]+> 0018 03ff 	sdbbp	0x3ff
+[0-9a-f]+ <[^>]+> 23ff c37f 	wait	0x3ff
+[0-9a-f]+ <[^>]+> 0008 03ff 	syscall	0x3ff
+[0-9a-f]+ <[^>]+> 3800      	balc	[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC10_S1	test_delay_slot
+[0-9a-f]+ <[^>]+> d850      	jalrc	t4
+[0-9a-f]+ <[^>]+> 4be2 0000 	jalrc	t4
+[0-9a-f]+ <[^>]+> d840      	jrc	t4
+[0-9a-f]+ <[^>]+> 4802 0000 	jrc	t4
+[0-9a-f]+ <[^>]+> 4be2 1000 	jalrc.hb	t4
+[0-9a-f]+ <[^>]+> 4802 1000 	jrc.hb	t4
+[0-9a-f]+ <[^>]+> 557f      	lw	s2,508\(gp\)
+[0-9a-f]+ <[^>]+> 55ff      	lw	s3,508\(gp\)
+[0-9a-f]+ <[^>]+> 567f      	lw	a0,508\(gp\)
+[0-9a-f]+ <[^>]+> 56ff      	lw	a1,508\(gp\)
+[0-9a-f]+ <[^>]+> 577f      	lw	a2,508\(gp\)
+[0-9a-f]+ <[^>]+> 57ff      	lw	a3,508\(gp\)
+[0-9a-f]+ <[^>]+> 547f      	lw	s0,508\(gp\)
+[0-9a-f]+ <[^>]+> 54ff      	lw	s1,508\(gp\)
+[0-9a-f]+ <[^>]+> 54fe      	lw	s1,504\(gp\)
+[0-9a-f]+ <[^>]+> 54fd      	lw	s1,500\(gp\)
+[0-9a-f]+ <[^>]+> 5480      	lw	s1,0\(gp\)
+[0-9a-f]+ <[^>]+> 5481      	lw	s1,4\(gp\)
+[0-9a-f]+ <[^>]+> 54be      	lw	s1,248\(gp\)
+[0-9a-f]+ <[^>]+> 54bf      	lw	s1,252\(gp\)
+[0-9a-f]+ <[^>]+> 54c0      	lw	s1,256\(gp\)
+[0-9a-f]+ <[^>]+> 823c 8104 	addiu	s1,gp,-260
+[0-9a-f]+ <[^>]+> 8631 8000 	lw	s1,0\(s1\)
+[0-9a-f]+ <[^>]+> 863c 8001 	lw	s1,1\(gp\)
+[0-9a-f]+ <[^>]+> 863c 8002 	lw	s1,2\(gp\)
+[0-9a-f]+ <[^>]+> 863c 8003 	lw	s1,3\(gp\)
+[0-9a-f]+ <[^>]+> a63c c0ff 	lw	s1,-1\(gp\)
+[0-9a-f]+ <[^>]+> a63c c0fe 	lw	s1,-2\(gp\)
+[0-9a-f]+ <[^>]+> a63c c0fd 	lw	s1,-3\(gp\)
+[0-9a-f]+ <[^>]+> 863b 8000 	lw	s1,0\(k1\)
+[0-9a-f]+ <[^>]+> bd63      	movep	a1,a2,zero,zero
+[0-9a-f]+ <[^>]+> bc6b      	movep	a2,a3,zero,zero
+[0-9a-f]+ <[^>]+> bc63      	movep	a0,a1,zero,zero
+[0-9a-f]+ <[^>]+> bd63      	movep	a1,a2,zero,zero
+[0-9a-f]+ <[^>]+> bc6b      	movep	a2,a3,zero,zero
+[0-9a-f]+ <[^>]+> bc79      	movep	a2,a3,s1,zero
+[0-9a-f]+ <[^>]+> bc69      	movep	a2,a3,a5,zero
+[0-9a-f]+ <[^>]+> bc6a      	movep	a2,a3,a6,zero
+[0-9a-f]+ <[^>]+> bc78      	movep	a2,a3,s0,zero
+[0-9a-f]+ <[^>]+> bc7a      	movep	a2,a3,s2,zero
+[0-9a-f]+ <[^>]+> bc7b      	movep	a2,a3,s3,zero
+[0-9a-f]+ <[^>]+> bc7c      	movep	a2,a3,s4,zero
+[0-9a-f]+ <[^>]+> be3c      	movep	a2,a3,s4,s1
+[0-9a-f]+ <[^>]+> bc3c      	movep	a2,a3,s4,a5
+[0-9a-f]+ <[^>]+> bc5c      	movep	a2,a3,s4,a6
+[0-9a-f]+ <[^>]+> be1c      	movep	a2,a3,s4,s0
+[0-9a-f]+ <[^>]+> be5c      	movep	a2,a3,s4,s2
+[0-9a-f]+ <[^>]+> be7c      	movep	a2,a3,s4,s3
+[0-9a-f]+ <[^>]+> be9c      	movep	a2,a3,s4,s4
+[0-9a-f]+ <[^>]+> 8042 2fff 	andi	t4,t4,0xfff
+[0-9a-f]+ <[^>]+> 8043 f300 	ext	t4,t5,0,13
+[0-9a-f]+ <[^>]+> 8044 f340 	ext	t4,a0,0,14
+[0-9a-f]+ <[^>]+> 8045 f380 	ext	t4,a1,0,15
+[0-9a-f]+ <[^>]+> 8046 f3c0 	ext	t4,a2,0,16
+[0-9a-f]+ <[^>]+> 8047 f500 	ext	t4,a3,0,21
+[0-9a-f]+ <[^>]+> 8048 f540 	ext	t4,a4,0,22
+[0-9a-f]+ <[^>]+> 8049 f580 	ext	t4,a5,0,23
+[0-9a-f]+ <[^>]+> 8050 f5c0 	ext	t4,s0,0,24
+[0-9a-f]+ <[^>]+> 6040 0000 0000 	li	t4,0x0
+			[0-9a-f]+: R_NANOMIPS_I32	test
+[0-9a-f]+ <[^>]+> 2000 0390 	dvp
+[0-9a-f]+ <[^>]+> 20a0 0390 	dvp	a1
+[0-9a-f]+ <[^>]+> 2000 0790 	evp
+[0-9a-f]+ <[^>]+> 20c0 0790 	evp	a2
+#pass
diff --git a/gas/testsuite/gas/nanomips/[email protected] b/gas/testsuite/gas/nanomips/[email protected]
new file mode 100644
index 00000000000..ceacbb8ad8d
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/[email protected]
@@ -0,0 +1,2309 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: nanoMIPS64 32-bit instruction mode
+#as: -minsn32 --defsym insn32=
+#warning_output: nanomips.l
+#source: nanomips.s
+
+# Check nanoMIPS32 fixed-size instructions
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]+> 8400 3000 	pref	0x0,0\(zero\)
+[0-9a-f]+ <[^>]+> 8400 37ff 	pref	0x0,2047\(zero\)
+[0-9a-f]+ <[^>]+> 8020 8800 	li	at,-2048
+[0-9a-f]+ <[^>]+> a401 1800 	pref	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 8400 3800 	pref	0x0,2048\(zero\)
+[0-9a-f]+ <[^>]+> 8020 8801 	li	at,-2049
+[0-9a-f]+ <[^>]+> a401 1800 	pref	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 8400 3000 	pref	0x0,0\(zero\)
+[0-9a-f]+ <[^>]+> 8400 3000 	pref	0x0,0\(zero\)
+[0-9a-f]+ <[^>]+> 8420 3000 	pref	0x1,0\(zero\)
+[0-9a-f]+ <[^>]+> 8440 3000 	pref	0x2,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 3000 	pref	0x3,0\(zero\)
+[0-9a-f]+ <[^>]+> 8480 3000 	pref	0x4,0\(zero\)
+[0-9a-f]+ <[^>]+> 84a0 3000 	pref	0x5,0\(zero\)
+[0-9a-f]+ <[^>]+> 84c0 3000 	pref	0x6,0\(zero\)
+[0-9a-f]+ <[^>]+> 84e0 3000 	pref	0x7,0\(zero\)
+[0-9a-f]+ <[^>]+> 84e0 31ff 	pref	0x7,511\(zero\)
+[0-9a-f]+ <[^>]+> 8020 8200 	li	at,-512
+[0-9a-f]+ <[^>]+> a4e1 1800 	pref	0x7,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> a461 1800 	pref	0x3,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a461 1800 	pref	0x3,0\(at\)
+[0-9a-f]+ <[^>]+> 0022 7fff 	addiu	at,t4,32767
+[0-9a-f]+ <[^>]+> a461 1800 	pref	0x3,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2041 0950 	addu	at,at,t4
+[0-9a-f]+ <[^>]+> a461 1800 	pref	0x3,0\(at\)
+[0-9a-f]+ <[^>]+> 8000 c000 	nop
+[0-9a-f]+ <[^>]+> 8000 c000 	nop
+[0-9a-f]+ <[^>]+> 8000 c003 	ehb
+[0-9a-f]+ <[^>]+> 8000 c005 	pause
+[0-9a-f]+ <[^>]+> 8240 8001 	li	s2,-1
+[0-9a-f]+ <[^>]+> 8260 8001 	li	s3,-1
+[0-9a-f]+ <[^>]+> 8080 8001 	li	a0,-1
+[0-9a-f]+ <[^>]+> 80a0 8001 	li	a1,-1
+[0-9a-f]+ <[^>]+> 80c0 8001 	li	a2,-1
+[0-9a-f]+ <[^>]+> 80e0 8001 	li	a3,-1
+[0-9a-f]+ <[^>]+> 8200 8001 	li	s0,-1
+[0-9a-f]+ <[^>]+> 8220 8001 	li	s1,-1
+[0-9a-f]+ <[^>]+> 0220 0000 	li	s1,0
+[0-9a-f]+ <[^>]+> 0220 007d 	li	s1,125
+[0-9a-f]+ <[^>]+> 0220 007e 	li	s1,126
+[0-9a-f]+ <[^>]+> 0220 007f 	li	s1,127
+[0-9a-f]+ <[^>]+> 0180 0000 	li	t0,0
+[0-9a-f]+ <[^>]+> 0320 0000 	li	t9,0
+[0-9a-f]+ <[^>]+> 0040 0000 	li	t4,0
+[0-9a-f]+ <[^>]+> 0040 0001 	li	t4,1
+[0-9a-f]+ <[^>]+> 0040 7fff 	li	t4,32767
+[0-9a-f]+ <[^>]+> e05f 8ffd 	lui	t4,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 0040 ffff 	li	t4,65535
+[0-9a-f]+ <[^>]+> e041 0000 	lui	t4,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> e05f 8ffd 	lui	t4,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> e05f 8ffd 	lui	t4,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8042 0001 	ori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 8040 8001 	li	t4,-1
+[0-9a-f]+ <[^>]+> e054 5244 	lui	t4,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8042 0678 	ori	t4,t4,0x678
+[0-9a-f]+ <[^>]+> 8060 8001 	li	t5,-1
+[0-9a-f]+ <[^>]+> 8080 8001 	li	a0,-1
+[0-9a-f]+ <[^>]+> 2016 0290 	move	zero,s6
+[0-9a-f]+ <[^>]+> 2016 1290 	move	t4,s6
+[0-9a-f]+ <[^>]+> 2016 1a90 	move	t5,s6
+[0-9a-f]+ <[^>]+> 2016 2290 	move	a0,s6
+[0-9a-f]+ <[^>]+> 2016 2a90 	move	a1,s6
+[0-9a-f]+ <[^>]+> 2016 3290 	move	a2,s6
+[0-9a-f]+ <[^>]+> 2016 3a90 	move	a3,s6
+[0-9a-f]+ <[^>]+> 2016 4290 	move	a4,s6
+[0-9a-f]+ <[^>]+> 2016 4a90 	move	a5,s6
+[0-9a-f]+ <[^>]+> 2016 5290 	move	a6,s6
+[0-9a-f]+ <[^>]+> 2016 f290 	move	fp,s6
+[0-9a-f]+ <[^>]+> 2016 fa90 	move	ra,s6
+[0-9a-f]+ <[^>]+> 2000 0290 	move	zero,zero
+[0-9a-f]+ <[^>]+> 2002 0290 	move	zero,t4
+[0-9a-f]+ <[^>]+> 2003 0290 	move	zero,t5
+[0-9a-f]+ <[^>]+> 2004 0290 	move	zero,a0
+[0-9a-f]+ <[^>]+> 2005 0290 	move	zero,a1
+[0-9a-f]+ <[^>]+> 2006 0290 	move	zero,a2
+[0-9a-f]+ <[^>]+> 2007 0290 	move	zero,a3
+[0-9a-f]+ <[^>]+> 2008 0290 	move	zero,a4
+[0-9a-f]+ <[^>]+> 2009 0290 	move	zero,a5
+[0-9a-f]+ <[^>]+> 200a 0290 	move	zero,a6
+[0-9a-f]+ <[^>]+> 201e 0290 	move	zero,fp
+[0-9a-f]+ <[^>]+> 201f 0290 	move	zero,ra
+[0-9a-f]+ <[^>]+> 2002 b290 	move	s6,t4
+[0-9a-f]+ <[^>]+> 2016 1290 	move	t4,s6
+[0-9a-f]+ <[^>]+> 2002 b290 	move	s6,t4
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	00000000 <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	00000000 <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	0000016c <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	0000016c <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	0000016c <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	0000016c <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	.L1\^B1
+[0-9a-f]+ <[^>]+> 2003 1290 	move	t4,t5
+[0-9a-f]+ <[^>]+> 8803 8000 	bgezc	t5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L\^_0
+[0-9a-f]+ <[^>]+> 2060 11d0 	negu	t4,t5
+[0-9a-f]+ <[^>]+> 2004 1290 	move	t4,a0
+[0-9a-f]+ <[^>]+> 8804 8000 	bgezc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L\^_1
+[0-9a-f]+ <[^>]+> 2080 11d0 	negu	t4,a0
+[0-9a-f]+ <[^>]+> 8802 8000 	bgezc	t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L\^_2
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 8802 8000 	bgezc	t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	.L\^_3
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 2083 1110 	add	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe e910 	add	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 1110 	add	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1110 	add	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0042 0000 	addiu	t4,t4,0
+[0-9a-f]+ <[^>]+> 0020 0001 	li	at,1
+[0-9a-f]+ <[^>]+> 2022 1110 	add	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2022 1110 	add	t4,t4,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2022 1110 	add	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2022 1110 	add	t4,t4,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2024 1910 	add	t5,a0,at
+[0-9a-f]+ <[^>]+> 0064 0000 	addiu	t5,a0,0
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2024 1910 	add	t5,a0,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2024 1910 	add	t5,a0,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 1910 	add	t5,t5,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 1910 	add	t5,t5,at
+[0-9a-f]+ <[^>]+> 8000 8008 	li	zero,-8
+[0-9a-f]+ <[^>]+> 8042 8008 	addiu	t4,t4,-8
+[0-9a-f]+ <[^>]+> 8063 8008 	addiu	t5,t5,-8
+[0-9a-f]+ <[^>]+> 8084 8008 	addiu	a0,a0,-8
+[0-9a-f]+ <[^>]+> 80a5 8008 	addiu	a1,a1,-8
+[0-9a-f]+ <[^>]+> 80c6 8008 	addiu	a2,a2,-8
+[0-9a-f]+ <[^>]+> 80e7 8008 	addiu	a3,a3,-8
+[0-9a-f]+ <[^>]+> 8108 8008 	addiu	a4,a4,-8
+[0-9a-f]+ <[^>]+> 8129 8008 	addiu	a5,a5,-8
+[0-9a-f]+ <[^>]+> 814a 8008 	addiu	a6,a6,-8
+[0-9a-f]+ <[^>]+> 83de 8008 	addiu	fp,fp,-8
+[0-9a-f]+ <[^>]+> 83ff 8008 	addiu	ra,ra,-8
+[0-9a-f]+ <[^>]+> 83ff 8007 	addiu	ra,ra,-7
+[0-9a-f]+ <[^>]+> 03ff 0000 	addiu	ra,ra,0
+[0-9a-f]+ <[^>]+> 03ff 0001 	addiu	ra,ra,1
+[0-9a-f]+ <[^>]+> 03ff 0006 	addiu	ra,ra,6
+[0-9a-f]+ <[^>]+> 03ff 0007 	addiu	ra,ra,7
+[0-9a-f]+ <[^>]+> 03ff 0008 	addiu	ra,ra,8
+[0-9a-f]+ <[^>]+> 83bd 8408 	addiu	sp,sp,-1032
+[0-9a-f]+ <[^>]+> 83bd 8404 	addiu	sp,sp,-1028
+[0-9a-f]+ <[^>]+> 83bd 8400 	addiu	sp,sp,-1024
+[0-9a-f]+ <[^>]+> 03bd 03fc 	addiu	sp,sp,1020
+[0-9a-f]+ <[^>]+> 03bd 0400 	addiu	sp,sp,1024
+[0-9a-f]+ <[^>]+> 03bd 0404 	addiu	sp,sp,1028
+[0-9a-f]+ <[^>]+> 03bd 0404 	addiu	sp,sp,1028
+[0-9a-f]+ <[^>]+> 03bd 0408 	addiu	sp,sp,1032
+[0-9a-f]+ <[^>]+> 8042 8001 	addiu	t4,t4,-1
+[0-9a-f]+ <[^>]+> 8043 8001 	addiu	t4,t5,-1
+[0-9a-f]+ <[^>]+> 8044 8001 	addiu	t4,a0,-1
+[0-9a-f]+ <[^>]+> 8045 8001 	addiu	t4,a1,-1
+[0-9a-f]+ <[^>]+> 8046 8001 	addiu	t4,a2,-1
+[0-9a-f]+ <[^>]+> 8047 8001 	addiu	t4,a3,-1
+[0-9a-f]+ <[^>]+> 8050 8001 	addiu	t4,s0,-1
+[0-9a-f]+ <[^>]+> 8051 8001 	addiu	t4,s1,-1
+[0-9a-f]+ <[^>]+> 0051 0001 	addiu	t4,s1,1
+[0-9a-f]+ <[^>]+> 0251 0004 	addiu	s2,s1,4
+[0-9a-f]+ <[^>]+> 0251 0008 	addiu	s2,s1,8
+[0-9a-f]+ <[^>]+> 0251 000c 	addiu	s2,s1,12
+[0-9a-f]+ <[^>]+> 0251 0010 	addiu	s2,s1,16
+[0-9a-f]+ <[^>]+> 0251 0014 	addiu	s2,s1,20
+[0-9a-f]+ <[^>]+> 0251 0018 	addiu	s2,s1,24
+[0-9a-f]+ <[^>]+> 0271 0018 	addiu	s3,s1,24
+[0-9a-f]+ <[^>]+> 0091 0018 	addiu	a0,s1,24
+[0-9a-f]+ <[^>]+> 00b1 0018 	addiu	a1,s1,24
+[0-9a-f]+ <[^>]+> 00d1 0018 	addiu	a2,s1,24
+[0-9a-f]+ <[^>]+> 00f1 0018 	addiu	a3,s1,24
+[0-9a-f]+ <[^>]+> 0211 0018 	addiu	s0,s1,24
+[0-9a-f]+ <[^>]+> 0231 0018 	addiu	s1,s1,24
+[0-9a-f]+ <[^>]+> 025d 0000 	addiu	s2,sp,0
+[0-9a-f]+ <[^>]+> 025d 0004 	addiu	s2,sp,4
+[0-9a-f]+ <[^>]+> 025d 00f8 	addiu	s2,sp,248
+[0-9a-f]+ <[^>]+> 025d 00fc 	addiu	s2,sp,252
+[0-9a-f]+ <[^>]+> 005d 0100 	addiu	t4,sp,256
+[0-9a-f]+ <[^>]+> 025d 00fc 	addiu	s2,sp,252
+[0-9a-f]+ <[^>]+> 027d 00fc 	addiu	s3,sp,252
+[0-9a-f]+ <[^>]+> 009d 00fc 	addiu	a0,sp,252
+[0-9a-f]+ <[^>]+> 00bd 00fc 	addiu	a1,sp,252
+[0-9a-f]+ <[^>]+> 00dd 00fc 	addiu	a2,sp,252
+[0-9a-f]+ <[^>]+> 00fd 00fc 	addiu	a3,sp,252
+[0-9a-f]+ <[^>]+> 021d 00fc 	addiu	s0,sp,252
+[0-9a-f]+ <[^>]+> 023d 00fc 	addiu	s1,sp,252
+[0-9a-f]+ <[^>]+> 8064 8fff 	addiu	t5,a0,-4095
+[0-9a-f]+ <[^>]+> 0264 0000 	addiu	s3,a0,0
+[0-9a-f]+ <[^>]+> 0064 1fff 	addiu	t5,a0,8191
+[0-9a-f]+ <[^>]+> 0064 3fff 	addiu	t5,a0,16383
+[0-9a-f]+ <[^>]+> 0063 3fff 	addiu	t5,t5,16383
+[0-9a-f]+ <[^>]+> 0063 3fff 	addiu	t5,t5,16383
+[0-9a-f]+ <[^>]+> 2016 1150 	move	t4,s6
+[0-9a-f]+ <[^>]+> 2002 b150 	move	s6,t4
+[0-9a-f]+ <[^>]+> 22c0 1150 	addu	t4,zero,s6
+[0-9a-f]+ <[^>]+> 2040 b150 	addu	s6,zero,t4
+[0-9a-f]+ <[^>]+> 2253 9150 	addu	s2,s3,s2
+[0-9a-f]+ <[^>]+> 2273 9150 	addu	s2,s3,s3
+[0-9a-f]+ <[^>]+> 2093 9150 	addu	s2,s3,a0
+[0-9a-f]+ <[^>]+> 20b3 9150 	addu	s2,s3,a1
+[0-9a-f]+ <[^>]+> 20d3 9150 	addu	s2,s3,a2
+[0-9a-f]+ <[^>]+> 20f3 9150 	addu	s2,s3,a3
+[0-9a-f]+ <[^>]+> 2213 9150 	addu	s2,s3,s0
+[0-9a-f]+ <[^>]+> 2233 9150 	addu	s2,s3,s1
+[0-9a-f]+ <[^>]+> 2232 9150 	addu	s2,s2,s1
+[0-9a-f]+ <[^>]+> 2233 9150 	addu	s2,s3,s1
+[0-9a-f]+ <[^>]+> 2224 9150 	addu	s2,a0,s1
+[0-9a-f]+ <[^>]+> 2225 9150 	addu	s2,a1,s1
+[0-9a-f]+ <[^>]+> 2226 9150 	addu	s2,a2,s1
+[0-9a-f]+ <[^>]+> 2227 9150 	addu	s2,a3,s1
+[0-9a-f]+ <[^>]+> 2230 9150 	addu	s2,s0,s1
+[0-9a-f]+ <[^>]+> 2231 9150 	addu	s2,s1,s1
+[0-9a-f]+ <[^>]+> 2232 9150 	addu	s2,s2,s1
+[0-9a-f]+ <[^>]+> 2232 9950 	addu	s3,s2,s1
+[0-9a-f]+ <[^>]+> 2232 2150 	addu	a0,s2,s1
+[0-9a-f]+ <[^>]+> 2232 2950 	addu	a1,s2,s1
+[0-9a-f]+ <[^>]+> 2232 3150 	addu	a2,s2,s1
+[0-9a-f]+ <[^>]+> 2232 3950 	addu	a3,s2,s1
+[0-9a-f]+ <[^>]+> 2232 8150 	addu	s0,s2,s1
+[0-9a-f]+ <[^>]+> 2232 8950 	addu	s1,s2,s1
+[0-9a-f]+ <[^>]+> 2247 3950 	addu	a3,a3,s2
+[0-9a-f]+ <[^>]+> 2247 3950 	addu	a3,a3,s2
+[0-9a-f]+ <[^>]+> 20f2 3950 	addu	a3,s2,a3
+[0-9a-f]+ <[^>]+> 23fe e950 	addu	sp,fp,ra
+[0-9a-f]+ <[^>]+> 0042 0000 	addiu	t4,t4,0
+[0-9a-f]+ <[^>]+> 0042 0001 	addiu	t4,t4,1
+[0-9a-f]+ <[^>]+> 0042 7fff 	addiu	t4,t4,32767
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2022 1150 	addu	t4,t4,at
+[0-9a-f]+ <[^>]+> 0042 ffff 	addiu	t4,t4,65535
+[0-9a-f]+ <[^>]+> 2252 9250 	and	s2,s2,s2
+[0-9a-f]+ <[^>]+> 2272 9250 	and	s2,s2,s3
+[0-9a-f]+ <[^>]+> 2092 9250 	and	s2,s2,a0
+[0-9a-f]+ <[^>]+> 20b2 9250 	and	s2,s2,a1
+[0-9a-f]+ <[^>]+> 20d2 9250 	and	s2,s2,a2
+[0-9a-f]+ <[^>]+> 20f2 9250 	and	s2,s2,a3
+[0-9a-f]+ <[^>]+> 2212 9250 	and	s2,s2,s0
+[0-9a-f]+ <[^>]+> 2232 9250 	and	s2,s2,s1
+[0-9a-f]+ <[^>]+> 2253 9a50 	and	s3,s3,s2
+[0-9a-f]+ <[^>]+> 2244 2250 	and	a0,a0,s2
+[0-9a-f]+ <[^>]+> 2245 2a50 	and	a1,a1,s2
+[0-9a-f]+ <[^>]+> 2246 3250 	and	a2,a2,s2
+[0-9a-f]+ <[^>]+> 2247 3a50 	and	a3,a3,s2
+[0-9a-f]+ <[^>]+> 2250 8250 	and	s0,s0,s2
+[0-9a-f]+ <[^>]+> 2251 8a50 	and	s1,s1,s2
+[0-9a-f]+ <[^>]+> 2272 9250 	and	s2,s2,s3
+[0-9a-f]+ <[^>]+> 2272 9250 	and	s2,s2,s3
+[0-9a-f]+ <[^>]+> 2253 9250 	and	s2,s3,s2
+[0-9a-f]+ <[^>]+> 2062 1250 	and	t4,t4,t5
+[0-9a-f]+ <[^>]+> 8252 2001 	andi	s2,s2,0x1
+[0-9a-f]+ <[^>]+> 8252 2002 	andi	s2,s2,0x2
+[0-9a-f]+ <[^>]+> 8252 2003 	andi	s2,s2,0x3
+[0-9a-f]+ <[^>]+> 8252 2004 	andi	s2,s2,0x4
+[0-9a-f]+ <[^>]+> 8252 2007 	andi	s2,s2,0x7
+[0-9a-f]+ <[^>]+> 8252 2008 	andi	s2,s2,0x8
+[0-9a-f]+ <[^>]+> 8252 200f 	andi	s2,s2,0xf
+[0-9a-f]+ <[^>]+> 8042 2010 	andi	t4,t4,0x10
+[0-9a-f]+ <[^>]+> 8042 201f 	andi	t4,t4,0x1f
+[0-9a-f]+ <[^>]+> 8042 2020 	andi	t4,t4,0x20
+[0-9a-f]+ <[^>]+> 8042 203f 	andi	t4,t4,0x3f
+[0-9a-f]+ <[^>]+> 8042 2040 	andi	t4,t4,0x40
+[0-9a-f]+ <[^>]+> 8042 2080 	andi	t4,t4,0x80
+[0-9a-f]+ <[^>]+> 8252 20ff 	andi	s2,s2,0xff
+[0-9a-f]+ <[^>]+> 8042 2fff 	andi	t4,t4,0xfff
+[0-9a-f]+ <[^>]+> 8252 f3c0 	ext	s2,s2,0,16
+[0-9a-f]+ <[^>]+> 8253 f3c0 	ext	s2,s3,0,16
+[0-9a-f]+ <[^>]+> 8244 f3c0 	ext	s2,a0,0,16
+[0-9a-f]+ <[^>]+> 8245 f3c0 	ext	s2,a1,0,16
+[0-9a-f]+ <[^>]+> 8246 f3c0 	ext	s2,a2,0,16
+[0-9a-f]+ <[^>]+> 8247 f3c0 	ext	s2,a3,0,16
+[0-9a-f]+ <[^>]+> 8250 f3c0 	ext	s2,s0,0,16
+[0-9a-f]+ <[^>]+> 8251 f3c0 	ext	s2,s1,0,16
+[0-9a-f]+ <[^>]+> 8271 f3c0 	ext	s3,s1,0,16
+[0-9a-f]+ <[^>]+> 8091 f3c0 	ext	a0,s1,0,16
+[0-9a-f]+ <[^>]+> 80b1 f3c0 	ext	a1,s1,0,16
+[0-9a-f]+ <[^>]+> 80d1 f3c0 	ext	a2,s1,0,16
+[0-9a-f]+ <[^>]+> 80f1 f3c0 	ext	a3,s1,0,16
+[0-9a-f]+ <[^>]+> 8211 f3c0 	ext	s0,s1,0,16
+[0-9a-f]+ <[^>]+> 8231 f3c0 	ext	s1,s1,0,16
+[0-9a-f]+ <[^>]+> 80e7 f3c0 	ext	a3,a3,0,16
+[0-9a-f]+ <[^>]+> 80e7 f3c0 	ext	a3,a3,0,16
+[0-9a-f]+ <[^>]+> 2083 1250 	and	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 1250 	and	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1250 	and	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8043 2000 	andi	t4,t5,0x0
+[0-9a-f]+ <[^>]+> 8043 2fff 	andi	t4,t5,0xfff
+[0-9a-f]+ <[^>]+> 0020 1000 	li	at,4096
+[0-9a-f]+ <[^>]+> 2023 1250 	and	t4,t5,at
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8021 0001 	ori	at,at,0x1
+[0-9a-f]+ <[^>]+> 2023 1250 	and	t4,t5,at
+[0-9a-f]+ <[^>]+> 8a40 0000 	beqzc	s2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8a60 0000 	beqzc	s3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8880 0000 	beqzc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 88a0 0000 	beqzc	a1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 88c0 0000 	beqzc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 88e0 0000 	beqzc	a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8a00 0000 	beqzc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8a20 0000 	beqzc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8812 0000 	beqzc	s2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8813 0000 	beqzc	s3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8804 0000 	beqzc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8805 0000 	beqzc	a1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8806 0000 	beqzc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8807 0000 	beqzc	a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8810 0000 	beqzc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8811 0000 	beqzc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8a40 0000 	beqzc	s2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8a60 0000 	beqzc	s3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8880 0000 	beqzc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 88a0 0000 	beqzc	a1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 88c0 0000 	beqzc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 88e0 0000 	beqzc	a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8a00 0000 	beqzc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8a20 0000 	beqzc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8a00 0000 	beqzc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8a20 0000 	beqzc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8a20 0000 	beqzc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8a20 0000 	beqzc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 8a00 0000 	beqzc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> ca00 5000 	beqic	s0,10,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test2
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 8830 0000 	beqc	s0,at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 8830 0000 	beqc	s0,at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> aa40 0000 	bnezc	s2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> aa60 0000 	bnezc	s3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a880 0000 	bnezc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a8a0 0000 	bnezc	a1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a8c0 0000 	bnezc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a8e0 0000 	bnezc	a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> aa00 0000 	bnezc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> aa20 0000 	bnezc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a812 0000 	bnezc	s2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a813 0000 	bnezc	s3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a804 0000 	bnezc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a805 0000 	bnezc	a1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a806 0000 	bnezc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a807 0000 	bnezc	a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a810 0000 	bnezc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a811 0000 	bnezc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> aa40 0000 	bnezc	s2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> aa60 0000 	bnezc	s3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a880 0000 	bnezc	a0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a8a0 0000 	bnezc	a1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a8c0 0000 	bnezc	a2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> a8e0 0000 	bnezc	a3,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> aa00 0000 	bnezc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> aa20 0000 	bnezc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> aa00 0000 	bnezc	s0,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test3
+[0-9a-f]+ <[^>]+> aa20 0000 	bnezc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> aa20 0000 	bnezc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> aa20 0000 	bnezc	s1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test2
+[0-9a-f]+ <[^>]+> 0010 0000 	break
+[0-9a-f]+ <[^>]+> 0010 0000 	break
+[0-9a-f]+ <[^>]+> 0010 0001 	break	0x1
+[0-9a-f]+ <[^>]+> 0010 0002 	break	0x2
+[0-9a-f]+ <[^>]+> 0010 0003 	break	0x3
+[0-9a-f]+ <[^>]+> 0010 0004 	break	0x4
+[0-9a-f]+ <[^>]+> 0010 0005 	break	0x5
+[0-9a-f]+ <[^>]+> 0010 0006 	break	0x6
+[0-9a-f]+ <[^>]+> 0010 0007 	break	0x7
+[0-9a-f]+ <[^>]+> 0010 0008 	break	0x8
+[0-9a-f]+ <[^>]+> 0010 0009 	break	0x9
+[0-9a-f]+ <[^>]+> 0010 000a 	break	0xa
+[0-9a-f]+ <[^>]+> 0010 000b 	break	0xb
+[0-9a-f]+ <[^>]+> 0010 000c 	break	0xc
+[0-9a-f]+ <[^>]+> 0010 000d 	break	0xd
+[0-9a-f]+ <[^>]+> 0010 000e 	break	0xe
+[0-9a-f]+ <[^>]+> 0010 000f 	break	0xf
+[0-9a-f]+ <[^>]+> 0010 003f 	break	0x3f
+[0-9a-f]+ <[^>]+> 0010 0040 	break	0x40
+[0-9a-f]+ <[^>]+> 0010 03ff 	break	0x3ff
+[0-9a-f]+ <[^>]+> 0010 0000 	break
+[0-9a-f]+ <[^>]+> 0010 0000 	break
+[0-9a-f]+ <[^>]+> 0010 0001 	break	0x1
+[0-9a-f]+ <[^>]+> 0010 0002 	break	0x2
+[0-9a-f]+ <[^>]+> 0010 000f 	break	0xf
+[0-9a-f]+ <[^>]+> 0010 003f 	break	0x3f
+[0-9a-f]+ <[^>]+> 0010 0040 	break	0x40
+[0-9a-f]+ <[^>]+> 0010 03ff 	break	0x3ff
+[0-9a-f]+ <[^>]+> a400 3900 	cache	0x0,0\(zero\)
+[0-9a-f]+ <[^>]+> 8020 8800 	li	at,-2048
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 07ff 	li	at,2047
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 8020 8801 	li	at,-2049
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 0800 	li	at,2048
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> a402 3900 	cache	0x0,0\(t4\)
+[0-9a-f]+ <[^>]+> 8022 8800 	addiu	at,t4,-2048
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 0022 07ff 	addiu	at,t4,2047
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 8022 8801 	addiu	at,t4,-2049
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 0022 0800 	addiu	at,t4,2048
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> a400 3900 	cache	0x0,0\(zero\)
+[0-9a-f]+ <[^>]+> a400 3900 	cache	0x0,0\(zero\)
+[0-9a-f]+ <[^>]+> a420 3900 	cache	0x1,0\(zero\)
+[0-9a-f]+ <[^>]+> a440 3900 	cache	0x2,0\(zero\)
+[0-9a-f]+ <[^>]+> a460 3900 	cache	0x3,0\(zero\)
+[0-9a-f]+ <[^>]+> a480 3900 	cache	0x4,0\(zero\)
+[0-9a-f]+ <[^>]+> a4a0 3900 	cache	0x5,0\(zero\)
+[0-9a-f]+ <[^>]+> a4c0 3900 	cache	0x6,0\(zero\)
+[0-9a-f]+ <[^>]+> a7e0 3900 	cache	0x1f,0\(zero\)
+[0-9a-f]+ <[^>]+> 0020 07ff 	li	at,2047
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 8020 8800 	li	at,-2048
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 07ff 	li	at,2047
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> 8020 8800 	li	at,-2048
+[0-9a-f]+ <[^>]+> a401 3900 	cache	0x0,0\(at\)
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2061 0950 	addu	at,at,t5
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 0023 0800 	addiu	at,t5,2048
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 8023 8801 	addiu	at,t5,-2049
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2061 0950 	addu	at,at,t5
+[0-9a-f]+ <[^>]+> a7e1 3901 	cache	0x1f,1\(at\)
+[0-9a-f]+ <[^>]+> a7e3 b9ff 	cache	0x1f,-1\(t5\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2061 0950 	addu	at,at,t5
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2061 0950 	addu	at,at,t5
+[0-9a-f]+ <[^>]+> a7e1 3901 	cache	0x1f,1\(at\)
+[0-9a-f]+ <[^>]+> 0023 ffff 	addiu	at,t5,65535
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 0800 	li	at,2048
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 8020 8801 	li	at,-2049
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> a7e1 3901 	cache	0x1f,1\(at\)
+[0-9a-f]+ <[^>]+> a7e0 b9ff 	cache	0x1f,-1\(zero\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> a7e1 3901 	cache	0x1f,1\(at\)
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> a7e1 3900 	cache	0x1f,0\(at\)
+[0-9a-f]+ <[^>]+> 2043 4b3f 	clo	t4,t5
+[0-9a-f]+ <[^>]+> 2062 4b3f 	clo	t5,t4
+[0-9a-f]+ <[^>]+> 2043 5b3f 	clz	t4,t5
+[0-9a-f]+ <[^>]+> 2062 5b3f 	clz	t5,t4
+[0-9a-f]+ <[^>]+> 2000 e37f 	deret
+[0-9a-f]+ <[^>]+> 2000 477f 	di
+[0-9a-f]+ <[^>]+> 2000 477f 	di
+[0-9a-f]+ <[^>]+> 2040 477f 	di	t4
+[0-9a-f]+ <[^>]+> 2060 477f 	di	t5
+[0-9a-f]+ <[^>]+> 23c0 477f 	di	fp
+[0-9a-f]+ <[^>]+> 23e0 477f 	di	ra
+[0-9a-f]+ <[^>]+> 2062 0118 	div	zero,t4,t5
+[0-9a-f]+ <[^>]+> 23fe 0118 	div	zero,fp,ra
+[0-9a-f]+ <[^>]+> 2060 0118 	div	zero,zero,t5
+[0-9a-f]+ <[^>]+> 23e0 0118 	div	zero,zero,ra
+[0-9a-f]+ <[^>]+> 2003 1118 	div	t4,t5,zero
+[0-9a-f]+ <[^>]+> 2083 1118 	div	t4,t5,a0
+[0-9a-f]+ <[^>]+> 0010 0007 	break	0x7
+[0-9a-f]+ <[^>]+> 2004 1a90 	move	t5,a0
+[0-9a-f]+ <[^>]+> 2080 1990 	neg	t5,a0
+[0-9a-f]+ <[^>]+> 0020 0002 	li	at,2
+[0-9a-f]+ <[^>]+> 2024 1918 	div	t5,a0,at
+[0-9a-f]+ <[^>]+> 2062 0198 	divu	zero,t4,t5
+[0-9a-f]+ <[^>]+> 23fe 0198 	divu	zero,fp,ra
+[0-9a-f]+ <[^>]+> 2060 0198 	divu	zero,zero,t5
+[0-9a-f]+ <[^>]+> 23e0 0198 	divu	zero,zero,ra
+[0-9a-f]+ <[^>]+> 2003 1198 	divu	t4,t5,zero
+[0-9a-f]+ <[^>]+> 2083 1198 	divu	t4,t5,a0
+[0-9a-f]+ <[^>]+> 0010 0007 	break	0x7
+[0-9a-f]+ <[^>]+> 2004 1a90 	move	t5,a0
+[0-9a-f]+ <[^>]+> 8020 8001 	li	at,-1
+[0-9a-f]+ <[^>]+> 2024 1998 	divu	t5,a0,at
+[0-9a-f]+ <[^>]+> 0020 0002 	li	at,2
+[0-9a-f]+ <[^>]+> 2024 1998 	divu	t5,a0,at
+[0-9a-f]+ <[^>]+> 2000 577f 	ei
+[0-9a-f]+ <[^>]+> 2000 577f 	ei
+[0-9a-f]+ <[^>]+> 2040 577f 	ei	t4
+[0-9a-f]+ <[^>]+> 2060 577f 	ei	t5
+[0-9a-f]+ <[^>]+> 23c0 577f 	ei	fp
+[0-9a-f]+ <[^>]+> 23e0 577f 	ei	ra
+[0-9a-f]+ <[^>]+> 2000 f37f 	eret
+[0-9a-f]+ <[^>]+> 8043 f385 	ext	t4,t5,5,15
+[0-9a-f]+ <[^>]+> 8043 f7c0 	ext	t4,t5,0,32
+[0-9a-f]+ <[^>]+> 8043 f01f 	ext	t4,t5,31,1
+[0-9a-f]+ <[^>]+> 83fe f01f 	ext	ra,fp,31,1
+[0-9a-f]+ <[^>]+> 8043 e4c5 	ins	t4,t5,5,15
+[0-9a-f]+ <[^>]+> 8043 e7c0 	ins	t4,t5,0,32
+[0-9a-f]+ <[^>]+> 8043 e7df 	ins	t4,t5,31,1
+[0-9a-f]+ <[^>]+> 83fe e7df 	ins	ra,fp,31,1
+[0-9a-f]+ <[^>]+> 4800 0000 	jrc	zero
+[0-9a-f]+ <[^>]+> 4802 0000 	jrc	t4
+[0-9a-f]+ <[^>]+> 4803 0000 	jrc	t5
+[0-9a-f]+ <[^>]+> 4804 0000 	jrc	a0
+[0-9a-f]+ <[^>]+> 4805 0000 	jrc	a1
+[0-9a-f]+ <[^>]+> 4806 0000 	jrc	a2
+[0-9a-f]+ <[^>]+> 4807 0000 	jrc	a3
+[0-9a-f]+ <[^>]+> 4808 0000 	jrc	a4
+[0-9a-f]+ <[^>]+> 481e 0000 	jrc	fp
+[0-9a-f]+ <[^>]+> 481f 0000 	jrc	ra
+[0-9a-f]+ <[^>]+> 4800 0000 	jrc	zero
+[0-9a-f]+ <[^>]+> 4802 0000 	jrc	t4
+[0-9a-f]+ <[^>]+> 4803 0000 	jrc	t5
+[0-9a-f]+ <[^>]+> 4804 0000 	jrc	a0
+[0-9a-f]+ <[^>]+> 4805 0000 	jrc	a1
+[0-9a-f]+ <[^>]+> 4806 0000 	jrc	a2
+[0-9a-f]+ <[^>]+> 4807 0000 	jrc	a3
+[0-9a-f]+ <[^>]+> 4808 0000 	jrc	a4
+[0-9a-f]+ <[^>]+> 481e 0000 	jrc	fp
+[0-9a-f]+ <[^>]+> 481f 0000 	jrc	ra
+[0-9a-f]+ <[^>]+> 4800 0000 	jrc	zero
+[0-9a-f]+ <[^>]+> 4802 0000 	jrc	t4
+[0-9a-f]+ <[^>]+> 4803 0000 	jrc	t5
+[0-9a-f]+ <[^>]+> 4804 0000 	jrc	a0
+[0-9a-f]+ <[^>]+> 4805 0000 	jrc	a1
+[0-9a-f]+ <[^>]+> 4806 0000 	jrc	a2
+[0-9a-f]+ <[^>]+> 4807 0000 	jrc	a3
+[0-9a-f]+ <[^>]+> 4808 0000 	jrc	a4
+[0-9a-f]+ <[^>]+> 481e 0000 	jrc	fp
+[0-9a-f]+ <[^>]+> 481f 0000 	jrc	ra
+[0-9a-f]+ <[^>]+> 4800 1000 	jrc.hb	zero
+[0-9a-f]+ <[^>]+> 4802 1000 	jrc.hb	t4
+[0-9a-f]+ <[^>]+> 4803 1000 	jrc.hb	t5
+[0-9a-f]+ <[^>]+> 4804 1000 	jrc.hb	a0
+[0-9a-f]+ <[^>]+> 4805 1000 	jrc.hb	a1
+[0-9a-f]+ <[^>]+> 4806 1000 	jrc.hb	a2
+[0-9a-f]+ <[^>]+> 4807 1000 	jrc.hb	a3
+[0-9a-f]+ <[^>]+> 4808 1000 	jrc.hb	a4
+[0-9a-f]+ <[^>]+> 481e 1000 	jrc.hb	fp
+[0-9a-f]+ <[^>]+> 481f 1000 	jrc.hb	ra
+[0-9a-f]+ <[^>]+> 4800 0000 	jrc	zero
+[0-9a-f]+ <[^>]+> 4802 0000 	jrc	t4
+[0-9a-f]+ <[^>]+> 4803 0000 	jrc	t5
+[0-9a-f]+ <[^>]+> 4804 0000 	jrc	a0
+[0-9a-f]+ <[^>]+> 4805 0000 	jrc	a1
+[0-9a-f]+ <[^>]+> 4806 0000 	jrc	a2
+[0-9a-f]+ <[^>]+> 4807 0000 	jrc	a3
+[0-9a-f]+ <[^>]+> 4808 0000 	jrc	a4
+[0-9a-f]+ <[^>]+> 481e 0000 	jrc	fp
+[0-9a-f]+ <[^>]+> 481f 0000 	jrc	ra
+[0-9a-f]+ <[^>]+> 4be0 0000 	jalrc	zero
+[0-9a-f]+ <[^>]+> 4be2 0000 	jalrc	t4
+[0-9a-f]+ <[^>]+> 4be3 0000 	jalrc	t5
+[0-9a-f]+ <[^>]+> 4be4 0000 	jalrc	a0
+[0-9a-f]+ <[^>]+> 4be5 0000 	jalrc	a1
+[0-9a-f]+ <[^>]+> 4be6 0000 	jalrc	a2
+[0-9a-f]+ <[^>]+> 4be7 0000 	jalrc	a3
+[0-9a-f]+ <[^>]+> 4be8 0000 	jalrc	a4
+[0-9a-f]+ <[^>]+> 4bfe 0000 	jalrc	fp
+[0-9a-f]+ <[^>]+> 4be0 0000 	jalrc	zero
+[0-9a-f]+ <[^>]+> 4be2 0000 	jalrc	t4
+[0-9a-f]+ <[^>]+> 4be3 0000 	jalrc	t5
+[0-9a-f]+ <[^>]+> 4be4 0000 	jalrc	a0
+[0-9a-f]+ <[^>]+> 4be5 0000 	jalrc	a1
+[0-9a-f]+ <[^>]+> 4be6 0000 	jalrc	a2
+[0-9a-f]+ <[^>]+> 4be7 0000 	jalrc	a3
+[0-9a-f]+ <[^>]+> 4be8 0000 	jalrc	a4
+[0-9a-f]+ <[^>]+> 4bfe 0000 	jalrc	fp
+[0-9a-f]+ <[^>]+> 4be0 0000 	jalrc	zero
+[0-9a-f]+ <[^>]+> 4be2 0000 	jalrc	t4
+[0-9a-f]+ <[^>]+> 4be3 0000 	jalrc	t5
+[0-9a-f]+ <[^>]+> 4be4 0000 	jalrc	a0
+[0-9a-f]+ <[^>]+> 4be5 0000 	jalrc	a1
+[0-9a-f]+ <[^>]+> 4be6 0000 	jalrc	a2
+[0-9a-f]+ <[^>]+> 4be7 0000 	jalrc	a3
+[0-9a-f]+ <[^>]+> 4be8 0000 	jalrc	a4
+[0-9a-f]+ <[^>]+> 4bfe 0000 	jalrc	fp
+[0-9a-f]+ <[^>]+> 4bdf 0000 	jalrc	fp,ra
+[0-9a-f]+ <[^>]+> 4840 0000 	jalrc	t4,zero
+[0-9a-f]+ <[^>]+> 4862 0000 	jalrc	t5,t4
+[0-9a-f]+ <[^>]+> 4843 0000 	jalrc	t4,t5
+[0-9a-f]+ <[^>]+> 4844 0000 	jalrc	t4,a0
+[0-9a-f]+ <[^>]+> 4845 0000 	jalrc	t4,a1
+[0-9a-f]+ <[^>]+> 4846 0000 	jalrc	t4,a2
+[0-9a-f]+ <[^>]+> 4847 0000 	jalrc	t4,a3
+[0-9a-f]+ <[^>]+> 4848 0000 	jalrc	t4,a4
+[0-9a-f]+ <[^>]+> 485e 0000 	jalrc	t4,fp
+[0-9a-f]+ <[^>]+> 485f 0000 	jalrc	t4,ra
+[0-9a-f]+ <[^>]+> 4be0 1000 	jalrc.hb	zero
+[0-9a-f]+ <[^>]+> 4be2 1000 	jalrc.hb	t4
+[0-9a-f]+ <[^>]+> 4be3 1000 	jalrc.hb	t5
+[0-9a-f]+ <[^>]+> 4be4 1000 	jalrc.hb	a0
+[0-9a-f]+ <[^>]+> 4be5 1000 	jalrc.hb	a1
+[0-9a-f]+ <[^>]+> 4be6 1000 	jalrc.hb	a2
+[0-9a-f]+ <[^>]+> 4be7 1000 	jalrc.hb	a3
+[0-9a-f]+ <[^>]+> 4be8 1000 	jalrc.hb	a4
+[0-9a-f]+ <[^>]+> 4bfe 1000 	jalrc.hb	fp
+[0-9a-f]+ <[^>]+> 4be0 1000 	jalrc.hb	zero
+[0-9a-f]+ <[^>]+> 4be2 1000 	jalrc.hb	t4
+[0-9a-f]+ <[^>]+> 4be3 1000 	jalrc.hb	t5
+[0-9a-f]+ <[^>]+> 4be4 1000 	jalrc.hb	a0
+[0-9a-f]+ <[^>]+> 4be5 1000 	jalrc.hb	a1
+[0-9a-f]+ <[^>]+> 4be6 1000 	jalrc.hb	a2
+[0-9a-f]+ <[^>]+> 4be7 1000 	jalrc.hb	a3
+[0-9a-f]+ <[^>]+> 4be8 1000 	jalrc.hb	a4
+[0-9a-f]+ <[^>]+> 4bfe 1000 	jalrc.hb	fp
+[0-9a-f]+ <[^>]+> 4bdf 1000 	jalrc.hb	fp,ra
+[0-9a-f]+ <[^>]+> 4840 1000 	jalrc.hb	t4,zero
+[0-9a-f]+ <[^>]+> 4862 1000 	jalrc.hb	t5,t4
+[0-9a-f]+ <[^>]+> 4843 1000 	jalrc.hb	t4,t5
+[0-9a-f]+ <[^>]+> 4844 1000 	jalrc.hb	t4,a0
+[0-9a-f]+ <[^>]+> 4845 1000 	jalrc.hb	t4,a1
+[0-9a-f]+ <[^>]+> 4846 1000 	jalrc.hb	t4,a2
+[0-9a-f]+ <[^>]+> 4847 1000 	jalrc.hb	t4,a3
+[0-9a-f]+ <[^>]+> 4848 1000 	jalrc.hb	t4,a4
+[0-9a-f]+ <[^>]+> 485e 1000 	jalrc.hb	t4,fp
+[0-9a-f]+ <[^>]+> 485f 1000 	jalrc.hb	t4,ra
+[0-9a-f]+ <[^>]+> 4843 0000 	jalrc	t4,t5
+[0-9a-f]+ <[^>]+> 4bdf 0000 	jalrc	fp,ra
+[0-9a-f]+ <[^>]+> 4be3 0000 	jalrc	t5
+[0-9a-f]+ <[^>]+> 4bff 0000 	jalrc	ra
+[0-9a-f]+ <[^>]+> 2a00 0000 	balc	00000000 <test>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> 2a00 0000 	balc	[0-9a-f]+ <test2>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test2
+[0-9a-f]+ <[^>]+> e040 0000 	lui	t4,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	test
+[0-9a-f]+ <[^>]+> 8042 0000 	ori	t4,t4,0x0
+			[0-9a-f]+: R_NANOMIPS_LO12	test
+[0-9a-f]+ <[^>]+> 8460 0000 	lb	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 0004 	lb	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 0000 	lb	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 0004 	lb	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0060 7fff 	li	t5,32767
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0060 ffff 	li	t5,65535
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 0001 	lb	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 0001 	lb	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a460 80ff 	lb	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8463 0678 	lb	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 8664 0000 	lb	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 8664 0000 	lb	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 0004 	lb	t5,4\(a0\)
+[0-9a-f]+ <[^>]+> 0064 7fff 	addiu	t5,a0,32767
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0064 ffff 	addiu	t5,a0,65535
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0001 	lb	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0001 	lb	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0000 	lb	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a464 80ff 	lb	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 0678 	lb	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> a443 90ff 	lbu	t4,-1\(t5\)
+[0-9a-f]+ <[^>]+> 8653 2000 	lbu	s2,0\(s3\)
+[0-9a-f]+ <[^>]+> 8653 2000 	lbu	s2,0\(s3\)
+[0-9a-f]+ <[^>]+> 8653 2001 	lbu	s2,1\(s3\)
+[0-9a-f]+ <[^>]+> 8653 2002 	lbu	s2,2\(s3\)
+[0-9a-f]+ <[^>]+> 8653 2003 	lbu	s2,3\(s3\)
+[0-9a-f]+ <[^>]+> 8443 2004 	lbu	t4,4\(t5\)
+[0-9a-f]+ <[^>]+> 8443 2005 	lbu	t4,5\(t5\)
+[0-9a-f]+ <[^>]+> 8443 2006 	lbu	t4,6\(t5\)
+[0-9a-f]+ <[^>]+> 8443 2007 	lbu	t4,7\(t5\)
+[0-9a-f]+ <[^>]+> 8443 2008 	lbu	t4,8\(t5\)
+[0-9a-f]+ <[^>]+> 8443 2009 	lbu	t4,9\(t5\)
+[0-9a-f]+ <[^>]+> 8443 200a 	lbu	t4,10\(t5\)
+[0-9a-f]+ <[^>]+> 8443 200b 	lbu	t4,11\(t5\)
+[0-9a-f]+ <[^>]+> 8443 200c 	lbu	t4,12\(t5\)
+[0-9a-f]+ <[^>]+> 8443 200d 	lbu	t4,13\(t5\)
+[0-9a-f]+ <[^>]+> 8443 200e 	lbu	t4,14\(t5\)
+[0-9a-f]+ <[^>]+> 8442 200e 	lbu	t4,14\(t4\)
+[0-9a-f]+ <[^>]+> 8444 200e 	lbu	t4,14\(a0\)
+[0-9a-f]+ <[^>]+> 8445 200e 	lbu	t4,14\(a1\)
+[0-9a-f]+ <[^>]+> 8446 200e 	lbu	t4,14\(a2\)
+[0-9a-f]+ <[^>]+> 8447 200e 	lbu	t4,14\(a3\)
+[0-9a-f]+ <[^>]+> 8450 200e 	lbu	t4,14\(s0\)
+[0-9a-f]+ <[^>]+> 8451 200e 	lbu	t4,14\(s1\)
+[0-9a-f]+ <[^>]+> 8471 200e 	lbu	t5,14\(s1\)
+[0-9a-f]+ <[^>]+> 8491 200e 	lbu	a0,14\(s1\)
+[0-9a-f]+ <[^>]+> 84b1 200e 	lbu	a1,14\(s1\)
+[0-9a-f]+ <[^>]+> 84d1 200e 	lbu	a2,14\(s1\)
+[0-9a-f]+ <[^>]+> 84f1 200e 	lbu	a3,14\(s1\)
+[0-9a-f]+ <[^>]+> 8611 200e 	lbu	s0,14\(s1\)
+[0-9a-f]+ <[^>]+> 8631 200e 	lbu	s1,14\(s1\)
+[0-9a-f]+ <[^>]+> 8460 2000 	lbu	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 2004 	lbu	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 2000 	lbu	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 2004 	lbu	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0060 7fff 	li	t5,32767
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0060 ffff 	li	t5,65535
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 2001 	lbu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 2001 	lbu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a460 90ff 	lbu	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8463 2678 	lbu	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 8664 2000 	lbu	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 8664 2000 	lbu	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 2004 	lbu	t5,4\(a0\)
+[0-9a-f]+ <[^>]+> 0064 7fff 	addiu	t5,a0,32767
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0064 ffff 	addiu	t5,a0,65535
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2001 	lbu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2001 	lbu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2000 	lbu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a464 90ff 	lbu	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 2678 	lbu	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 8460 4000 	lh	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 4004 	lh	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 4000 	lh	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 4004 	lh	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0060 7fff 	li	t5,32767
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0060 ffff 	li	t5,65535
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 4001 	lh	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 4001 	lh	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a460 a0ff 	lh	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8463 4678 	lh	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 8664 4000 	lh	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 8664 4000 	lh	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 8664 4004 	lh	s3,4\(a0\)
+[0-9a-f]+ <[^>]+> 0064 7fff 	addiu	t5,a0,32767
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0064 ffff 	addiu	t5,a0,65535
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4001 	lh	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4001 	lh	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4000 	lh	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a464 a0ff 	lh	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 4678 	lh	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 8653 6000 	lhu	s2,0\(s3\)
+[0-9a-f]+ <[^>]+> 8653 6000 	lhu	s2,0\(s3\)
+[0-9a-f]+ <[^>]+> 8653 6002 	lhu	s2,2\(s3\)
+[0-9a-f]+ <[^>]+> 8653 6004 	lhu	s2,4\(s3\)
+[0-9a-f]+ <[^>]+> 8653 6006 	lhu	s2,6\(s3\)
+[0-9a-f]+ <[^>]+> 8443 6008 	lhu	t4,8\(t5\)
+[0-9a-f]+ <[^>]+> 8443 600a 	lhu	t4,10\(t5\)
+[0-9a-f]+ <[^>]+> 8443 600c 	lhu	t4,12\(t5\)
+[0-9a-f]+ <[^>]+> 8443 600e 	lhu	t4,14\(t5\)
+[0-9a-f]+ <[^>]+> 8443 6010 	lhu	t4,16\(t5\)
+[0-9a-f]+ <[^>]+> 8443 6012 	lhu	t4,18\(t5\)
+[0-9a-f]+ <[^>]+> 8443 6014 	lhu	t4,20\(t5\)
+[0-9a-f]+ <[^>]+> 8443 6016 	lhu	t4,22\(t5\)
+[0-9a-f]+ <[^>]+> 8443 6018 	lhu	t4,24\(t5\)
+[0-9a-f]+ <[^>]+> 8443 601a 	lhu	t4,26\(t5\)
+[0-9a-f]+ <[^>]+> 8443 601c 	lhu	t4,28\(t5\)
+[0-9a-f]+ <[^>]+> 8443 601e 	lhu	t4,30\(t5\)
+[0-9a-f]+ <[^>]+> 8444 601e 	lhu	t4,30\(a0\)
+[0-9a-f]+ <[^>]+> 8445 601e 	lhu	t4,30\(a1\)
+[0-9a-f]+ <[^>]+> 8446 601e 	lhu	t4,30\(a2\)
+[0-9a-f]+ <[^>]+> 8447 601e 	lhu	t4,30\(a3\)
+[0-9a-f]+ <[^>]+> 8442 601e 	lhu	t4,30\(t4\)
+[0-9a-f]+ <[^>]+> 8450 601e 	lhu	t4,30\(s0\)
+[0-9a-f]+ <[^>]+> 8451 601e 	lhu	t4,30\(s1\)
+[0-9a-f]+ <[^>]+> 8471 601e 	lhu	t5,30\(s1\)
+[0-9a-f]+ <[^>]+> 8491 601e 	lhu	a0,30\(s1\)
+[0-9a-f]+ <[^>]+> 84b1 601e 	lhu	a1,30\(s1\)
+[0-9a-f]+ <[^>]+> 84d1 601e 	lhu	a2,30\(s1\)
+[0-9a-f]+ <[^>]+> 84f1 601e 	lhu	a3,30\(s1\)
+[0-9a-f]+ <[^>]+> 8611 601e 	lhu	s0,30\(s1\)
+[0-9a-f]+ <[^>]+> 8631 601e 	lhu	s1,30\(s1\)
+[0-9a-f]+ <[^>]+> 8460 6000 	lhu	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 6004 	lhu	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 6000 	lhu	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 6004 	lhu	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0060 7fff 	li	t5,32767
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0060 ffff 	li	t5,65535
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 6001 	lhu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 6001 	lhu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a460 b0ff 	lhu	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8463 6678 	lhu	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 8664 6000 	lhu	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 8664 6000 	lhu	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 8664 6004 	lhu	s3,4\(a0\)
+[0-9a-f]+ <[^>]+> 0064 7fff 	addiu	t5,a0,32767
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0064 ffff 	addiu	t5,a0,65535
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6001 	lhu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6001 	lhu	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6000 	lhu	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a464 b0ff 	lhu	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 6678 	lhu	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> a460 5100 	ll	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> a460 5100 	ll	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> a460 5104 	ll	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> a460 5104 	ll	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0060 7fff 	li	t5,32767
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0060 ffff 	li	t5,65535
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> a463 5104 	ll	t5,4\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a463 5104 	ll	t5,4\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 8060 8001 	li	t5,-1
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8063 0678 	ori	t5,t5,0x678
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a464 5100 	ll	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> a464 5100 	ll	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> a464 5104 	ll	t5,4\(a0\)
+[0-9a-f]+ <[^>]+> 0064 7fff 	addiu	t5,a0,32767
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0064 ffff 	addiu	t5,a0,65535
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5104 	ll	t5,4\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5104 	ll	t5,4\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 8064 8001 	addiu	t5,a0,-1
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8063 0678 	ori	t5,t5,0x678
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> a463 5100 	ll	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e060 0000 	lui	t5,0x0
+[0-9a-f]+ <[^>]+> e07f 0ffc 	lui	t5,%hi\(0x7fff0000\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8644 8000 	lw	s2,0\(a0\)
+[0-9a-f]+ <[^>]+> 8644 8000 	lw	s2,0\(a0\)
+[0-9a-f]+ <[^>]+> 8644 8004 	lw	s2,4\(a0\)
+[0-9a-f]+ <[^>]+> 8644 8008 	lw	s2,8\(a0\)
+[0-9a-f]+ <[^>]+> 8644 800c 	lw	s2,12\(a0\)
+[0-9a-f]+ <[^>]+> 8644 8010 	lw	s2,16\(a0\)
+[0-9a-f]+ <[^>]+> 8644 8014 	lw	s2,20\(a0\)
+[0-9a-f]+ <[^>]+> 8644 8018 	lw	s2,24\(a0\)
+[0-9a-f]+ <[^>]+> 8644 801c 	lw	s2,28\(a0\)
+[0-9a-f]+ <[^>]+> 8644 8020 	lw	s2,32\(a0\)
+[0-9a-f]+ <[^>]+> 8644 8024 	lw	s2,36\(a0\)
+[0-9a-f]+ <[^>]+> 8644 8028 	lw	s2,40\(a0\)
+[0-9a-f]+ <[^>]+> 8644 802c 	lw	s2,44\(a0\)
+[0-9a-f]+ <[^>]+> 8644 8030 	lw	s2,48\(a0\)
+[0-9a-f]+ <[^>]+> 8644 8034 	lw	s2,52\(a0\)
+[0-9a-f]+ <[^>]+> 8644 8038 	lw	s2,56\(a0\)
+[0-9a-f]+ <[^>]+> 8644 803c 	lw	s2,60\(a0\)
+[0-9a-f]+ <[^>]+> 8645 803c 	lw	s2,60\(a1\)
+[0-9a-f]+ <[^>]+> 8646 803c 	lw	s2,60\(a2\)
+[0-9a-f]+ <[^>]+> 8647 803c 	lw	s2,60\(a3\)
+[0-9a-f]+ <[^>]+> 8652 803c 	lw	s2,60\(s2\)
+[0-9a-f]+ <[^>]+> 8653 803c 	lw	s2,60\(s3\)
+[0-9a-f]+ <[^>]+> 8650 803c 	lw	s2,60\(s0\)
+[0-9a-f]+ <[^>]+> 8651 803c 	lw	s2,60\(s1\)
+[0-9a-f]+ <[^>]+> 8671 803c 	lw	s3,60\(s1\)
+[0-9a-f]+ <[^>]+> 8491 803c 	lw	a0,60\(s1\)
+[0-9a-f]+ <[^>]+> 84b1 803c 	lw	a1,60\(s1\)
+[0-9a-f]+ <[^>]+> 84d1 803c 	lw	a2,60\(s1\)
+[0-9a-f]+ <[^>]+> 84f1 803c 	lw	a3,60\(s1\)
+[0-9a-f]+ <[^>]+> 8611 803c 	lw	s0,60\(s1\)
+[0-9a-f]+ <[^>]+> 8631 803c 	lw	s1,60\(s1\)
+[0-9a-f]+ <[^>]+> 849d 8000 	lw	a0,0\(sp\)
+[0-9a-f]+ <[^>]+> 849d 8000 	lw	a0,0\(sp\)
+[0-9a-f]+ <[^>]+> 849d 8004 	lw	a0,4\(sp\)
+[0-9a-f]+ <[^>]+> 849d 8008 	lw	a0,8\(sp\)
+[0-9a-f]+ <[^>]+> 849d 800c 	lw	a0,12\(sp\)
+[0-9a-f]+ <[^>]+> 849d 8010 	lw	a0,16\(sp\)
+[0-9a-f]+ <[^>]+> 849d 8014 	lw	a0,20\(sp\)
+[0-9a-f]+ <[^>]+> 849d 807c 	lw	a0,124\(sp\)
+[0-9a-f]+ <[^>]+> 845d 807c 	lw	t4,124\(sp\)
+[0-9a-f]+ <[^>]+> 845d 807c 	lw	t4,124\(sp\)
+[0-9a-f]+ <[^>]+> 847d 807c 	lw	t5,124\(sp\)
+[0-9a-f]+ <[^>]+> 849d 807c 	lw	a0,124\(sp\)
+[0-9a-f]+ <[^>]+> 84bd 807c 	lw	a1,124\(sp\)
+[0-9a-f]+ <[^>]+> 84dd 807c 	lw	a2,124\(sp\)
+[0-9a-f]+ <[^>]+> 84fd 807c 	lw	a3,124\(sp\)
+[0-9a-f]+ <[^>]+> 851d 807c 	lw	a4,124\(sp\)
+[0-9a-f]+ <[^>]+> 853d 807c 	lw	a5,124\(sp\)
+[0-9a-f]+ <[^>]+> 855d 807c 	lw	a6,124\(sp\)
+[0-9a-f]+ <[^>]+> 87dd 807c 	lw	fp,124\(sp\)
+[0-9a-f]+ <[^>]+> 87fd 807c 	lw	ra,124\(sp\)
+[0-9a-f]+ <[^>]+> 849d 81f8 	lw	a0,504\(sp\)
+[0-9a-f]+ <[^>]+> 849d 81fc 	lw	a0,508\(sp\)
+[0-9a-f]+ <[^>]+> 861d 81fc 	lw	s0,508\(sp\)
+[0-9a-f]+ <[^>]+> 863d 81fc 	lw	s1,508\(sp\)
+[0-9a-f]+ <[^>]+> 865d 81fc 	lw	s2,508\(sp\)
+[0-9a-f]+ <[^>]+> 867d 81fc 	lw	s3,508\(sp\)
+[0-9a-f]+ <[^>]+> 869d 81fc 	lw	s4,508\(sp\)
+[0-9a-f]+ <[^>]+> 86bd 81fc 	lw	s5,508\(sp\)
+[0-9a-f]+ <[^>]+> 87fd 81fc 	lw	ra,508\(sp\)
+[0-9a-f]+ <[^>]+> 8460 8000 	lw	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 8004 	lw	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 8000 	lw	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 8000 	lw	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 8000 	lw	t5,0\(zero\)
+[0-9a-f]+ <[^>]+> 8460 8004 	lw	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0060 7fff 	li	t5,32767
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0060 ffff 	li	t5,65535
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8463 8001 	lw	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8463 8001 	lw	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a460 c0ff 	lw	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8463 8678 	lw	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 8664 8000 	lw	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 8664 8000 	lw	s3,0\(a0\)
+[0-9a-f]+ <[^>]+> 8664 8004 	lw	s3,4\(a0\)
+[0-9a-f]+ <[^>]+> 0064 7fff 	addiu	t5,a0,32767
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> 0064 ffff 	addiu	t5,a0,65535
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> e07f 0ffd 	lui	t5,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8001 	lw	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e07f 8ffd 	lui	t5,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8001 	lw	t5,1\(t5\)
+[0-9a-f]+ <[^>]+> e060 0e01 	lui	t5,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8000 	lw	t5,0\(t5\)
+[0-9a-f]+ <[^>]+> a464 c0ff 	lw	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e074 5244 	lui	t5,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2083 1950 	addu	t5,t5,a0
+[0-9a-f]+ <[^>]+> 8463 8678 	lw	t5,1656\(t5\)
+[0-9a-f]+ <[^>]+> 20a4 9c47 	lwxs	s3,a0\(a1\)
+[0-9a-f]+ <[^>]+> 2040 0030 	mfc0	t4,index
+[0-9a-f]+ <[^>]+> 2041 0030 	mfc0	t4,random
+[0-9a-f]+ <[^>]+> 2042 0830 	mfc0	t4,tcstatus
+[0-9a-f]+ <[^>]+> 2042 1030 	mfc0	t4,tcbind
+[0-9a-f]+ <[^>]+> 2043 0070 	mtc0	t4,entrylo1
+[0-9a-f]+ <[^>]+> 2044 0070 	mtc0	t4,context
+[0-9a-f]+ <[^>]+> 2045 3070 	mtc0	t4,pwfield
+[0-9a-f]+ <[^>]+> 2045 3870 	mtc0	t4,pwsize
+[0-9a-f]+ <[^>]+> 2062 1610 	movn	t4,t4,t5
+[0-9a-f]+ <[^>]+> 2062 1610 	movn	t4,t4,t5
+[0-9a-f]+ <[^>]+> 2083 1610 	movn	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2062 1210 	movz	t4,t4,t5
+[0-9a-f]+ <[^>]+> 2062 1210 	movz	t4,t4,t5
+[0-9a-f]+ <[^>]+> 2083 1210 	movz	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2083 1018 	mul	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe e818 	mul	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 1018 	mul	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1018 	mul	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2022 1018 	mul	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 0001 	li	at,1
+[0-9a-f]+ <[^>]+> 2022 1018 	mul	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2022 1018 	mul	t4,t4,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2022 1018 	mul	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2022 1018 	mul	t4,t4,at
+[0-9a-f]+ <[^>]+> 2060 1190 	neg	t4,t5
+[0-9a-f]+ <[^>]+> 2040 1190 	neg	t4,t4
+[0-9a-f]+ <[^>]+> 2040 1190 	neg	t4,t4
+[0-9a-f]+ <[^>]+> 2060 11d0 	negu	t4,t5
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 2060 11d0 	negu	t4,t5
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 2012 92d0 	not	s2,s2
+[0-9a-f]+ <[^>]+> 2012 92d0 	not	s2,s2
+[0-9a-f]+ <[^>]+> 2013 92d0 	not	s2,s3
+[0-9a-f]+ <[^>]+> 2004 92d0 	not	s2,a0
+[0-9a-f]+ <[^>]+> 2005 92d0 	not	s2,a1
+[0-9a-f]+ <[^>]+> 2006 92d0 	not	s2,a2
+[0-9a-f]+ <[^>]+> 2007 92d0 	not	s2,a3
+[0-9a-f]+ <[^>]+> 2010 92d0 	not	s2,s0
+[0-9a-f]+ <[^>]+> 2011 92d0 	not	s2,s1
+[0-9a-f]+ <[^>]+> 2011 9ad0 	not	s3,s1
+[0-9a-f]+ <[^>]+> 2011 22d0 	not	a0,s1
+[0-9a-f]+ <[^>]+> 2011 2ad0 	not	a1,s1
+[0-9a-f]+ <[^>]+> 2011 32d0 	not	a2,s1
+[0-9a-f]+ <[^>]+> 2011 3ad0 	not	a3,s1
+[0-9a-f]+ <[^>]+> 2011 82d0 	not	s0,s1
+[0-9a-f]+ <[^>]+> 2011 8ad0 	not	s1,s1
+[0-9a-f]+ <[^>]+> 2007 12d0 	not	t4,a3
+[0-9a-f]+ <[^>]+> 20e0 12d0 	nor	t4,zero,a3
+[0-9a-f]+ <[^>]+> 2083 12d0 	nor	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe ead0 	nor	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 12d0 	nor	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 12d0 	nor	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0020 8000 	li	at,32768
+[0-9a-f]+ <[^>]+> 2023 12d0 	nor	t4,t5,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 12d0 	nor	t4,t5,at
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2023 12d0 	nor	t4,t5,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 12d0 	nor	t4,t5,at
+[0-9a-f]+ <[^>]+> e03f 7ffd 	lui	at,%hi\(0xffff7000\)
+[0-9a-f]+ <[^>]+> 8021 0fff 	ori	at,at,0xfff
+[0-9a-f]+ <[^>]+> 2023 12d0 	nor	t4,t5,at
+[0-9a-f]+ <[^>]+> 2016 1290 	move	t4,s6
+[0-9a-f]+ <[^>]+> 2002 b290 	move	s6,t4
+[0-9a-f]+ <[^>]+> 22c0 1290 	or	t4,zero,s6
+[0-9a-f]+ <[^>]+> 2040 b290 	or	s6,zero,t4
+[0-9a-f]+ <[^>]+> 2252 9290 	or	s2,s2,s2
+[0-9a-f]+ <[^>]+> 2272 9290 	or	s2,s2,s3
+[0-9a-f]+ <[^>]+> 2092 9290 	or	s2,s2,a0
+[0-9a-f]+ <[^>]+> 20b2 9290 	or	s2,s2,a1
+[0-9a-f]+ <[^>]+> 20d2 9290 	or	s2,s2,a2
+[0-9a-f]+ <[^>]+> 20f2 9290 	or	s2,s2,a3
+[0-9a-f]+ <[^>]+> 2212 9290 	or	s2,s2,s0
+[0-9a-f]+ <[^>]+> 2232 9290 	or	s2,s2,s1
+[0-9a-f]+ <[^>]+> 2253 9a90 	or	s3,s3,s2
+[0-9a-f]+ <[^>]+> 2244 2290 	or	a0,a0,s2
+[0-9a-f]+ <[^>]+> 2245 2a90 	or	a1,a1,s2
+[0-9a-f]+ <[^>]+> 2246 3290 	or	a2,a2,s2
+[0-9a-f]+ <[^>]+> 2247 3a90 	or	a3,a3,s2
+[0-9a-f]+ <[^>]+> 2250 8290 	or	s0,s0,s2
+[0-9a-f]+ <[^>]+> 2251 8a90 	or	s1,s1,s2
+[0-9a-f]+ <[^>]+> 2252 9290 	or	s2,s2,s2
+[0-9a-f]+ <[^>]+> 2272 9290 	or	s2,s2,s3
+[0-9a-f]+ <[^>]+> 2253 9290 	or	s2,s3,s2
+[0-9a-f]+ <[^>]+> 2083 1290 	or	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe ea90 	or	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 1290 	or	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1290 	or	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0020 8000 	li	at,32768
+[0-9a-f]+ <[^>]+> 2023 1290 	or	t4,t5,at
+[0-9a-f]+ <[^>]+> 8043 0fff 	ori	t4,t5,0xfff
+[0-9a-f]+ <[^>]+> 0020 1000 	li	at,4096
+[0-9a-f]+ <[^>]+> 2023 1290 	or	t4,t5,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 1290 	or	t4,t5,at
+[0-9a-f]+ <[^>]+> e03f 7ffd 	lui	at,%hi\(0xffff7000\)
+[0-9a-f]+ <[^>]+> 8021 0fff 	ori	at,at,0xfff
+[0-9a-f]+ <[^>]+> 2023 1290 	or	t4,t5,at
+[0-9a-f]+ <[^>]+> 8064 0000 	ori	t5,a0,0x0
+[0-9a-f]+ <[^>]+> 8064 0fff 	ori	t5,a0,0xfff
+[0-9a-f]+ <[^>]+> 2040 01c0 	rdhwr	t4,hwr_cpunum
+[0-9a-f]+ <[^>]+> 2041 01c0 	rdhwr	t4,hwr_synci_step
+[0-9a-f]+ <[^>]+> 2042 01c0 	rdhwr	t4,hwr_cc
+[0-9a-f]+ <[^>]+> 2043 01c0 	rdhwr	t4,hwr_ccres
+[0-9a-f]+ <[^>]+> 2044 01c0 	rdhwr	t4,hwr_perfcnt
+[0-9a-f]+ <[^>]+> 2045 01c0 	rdhwr	t4,hwr_xnp
+[0-9a-f]+ <[^>]+> 2046 01c0 	rdhwr	t4,\$6
+[0-9a-f]+ <[^>]+> 2047 01c0 	rdhwr	t4,\$7
+[0-9a-f]+ <[^>]+> 2048 01c0 	rdhwr	t4,\$8
+[0-9a-f]+ <[^>]+> 2049 01c0 	rdhwr	t4,\$9
+[0-9a-f]+ <[^>]+> 204a 01c0 	rdhwr	t4,\$10
+[0-9a-f]+ <[^>]+> 2043 e17f 	rdpgpr	t4,t5
+[0-9a-f]+ <[^>]+> 2042 e17f 	rdpgpr	t4,t4
+[0-9a-f]+ <[^>]+> 2062 0158 	mod	zero,t4,t5
+[0-9a-f]+ <[^>]+> 23fe 0158 	mod	zero,fp,ra
+[0-9a-f]+ <[^>]+> 2060 0158 	mod	zero,zero,t5
+[0-9a-f]+ <[^>]+> 23e0 0158 	mod	zero,zero,ra
+[0-9a-f]+ <[^>]+> 2003 1158 	mod	t4,t5,zero
+[0-9a-f]+ <[^>]+> 2083 1158 	mod	t4,t5,a0
+[0-9a-f]+ <[^>]+> 0010 0007 	break	0x7
+[0-9a-f]+ <[^>]+> 2000 1a90 	move	t5,zero
+[0-9a-f]+ <[^>]+> 2000 1a90 	move	t5,zero
+[0-9a-f]+ <[^>]+> 0020 0002 	li	at,2
+[0-9a-f]+ <[^>]+> 2024 1958 	mod	t5,a0,at
+[0-9a-f]+ <[^>]+> 2080 11d0 	negu	t4,a0
+[0-9a-f]+ <[^>]+> 2043 10d0 	rotrv	t4,t5,t4
+[0-9a-f]+ <[^>]+> 2080 09d0 	negu	at,a0
+[0-9a-f]+ <[^>]+> 2022 10d0 	rotrv	t4,t4,at
+[0-9a-f]+ <[^>]+> 2060 11d0 	negu	t4,t5
+[0-9a-f]+ <[^>]+> 2043 10d0 	rotrv	t4,t5,t4
+[0-9a-f]+ <[^>]+> 2040 11d0 	negu	t4,t4
+[0-9a-f]+ <[^>]+> 2043 10d0 	rotrv	t4,t5,t4
+[0-9a-f]+ <[^>]+> 8043 c0c0 	rotr	t4,t5,0
+[0-9a-f]+ <[^>]+> 8043 c0df 	rotr	t4,t5,31
+[0-9a-f]+ <[^>]+> 8043 c0c1 	rotr	t4,t5,1
+[0-9a-f]+ <[^>]+> 8042 c0c1 	rotr	t4,t4,1
+[0-9a-f]+ <[^>]+> 8042 c0c1 	rotr	t4,t4,1
+[0-9a-f]+ <[^>]+> 8043 c0c0 	rotr	t4,t5,0
+[0-9a-f]+ <[^>]+> 8043 c0c1 	rotr	t4,t5,1
+[0-9a-f]+ <[^>]+> 8043 c0df 	rotr	t4,t5,31
+[0-9a-f]+ <[^>]+> 8042 c0df 	rotr	t4,t4,31
+[0-9a-f]+ <[^>]+> 8042 c0df 	rotr	t4,t4,31
+[0-9a-f]+ <[^>]+> 2083 10d0 	rotrv	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 10d0 	rotrv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2083 10d0 	rotrv	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 10d0 	rotrv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2083 10d0 	rotrv	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 10d0 	rotrv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2083 10d0 	rotrv	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 10d0 	rotrv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8413 1000 	sb	zero,0\(s3\)
+[0-9a-f]+ <[^>]+> 8413 1000 	sb	zero,0\(s3\)
+[0-9a-f]+ <[^>]+> 8413 1001 	sb	zero,1\(s3\)
+[0-9a-f]+ <[^>]+> 8413 1002 	sb	zero,2\(s3\)
+[0-9a-f]+ <[^>]+> 8413 1003 	sb	zero,3\(s3\)
+[0-9a-f]+ <[^>]+> 8403 1004 	sb	zero,4\(t5\)
+[0-9a-f]+ <[^>]+> 8403 1005 	sb	zero,5\(t5\)
+[0-9a-f]+ <[^>]+> 8403 1006 	sb	zero,6\(t5\)
+[0-9a-f]+ <[^>]+> 8403 1007 	sb	zero,7\(t5\)
+[0-9a-f]+ <[^>]+> 8403 1008 	sb	zero,8\(t5\)
+[0-9a-f]+ <[^>]+> 8403 1009 	sb	zero,9\(t5\)
+[0-9a-f]+ <[^>]+> 8403 100a 	sb	zero,10\(t5\)
+[0-9a-f]+ <[^>]+> 8403 100b 	sb	zero,11\(t5\)
+[0-9a-f]+ <[^>]+> 8403 100c 	sb	zero,12\(t5\)
+[0-9a-f]+ <[^>]+> 8403 100d 	sb	zero,13\(t5\)
+[0-9a-f]+ <[^>]+> 8403 100e 	sb	zero,14\(t5\)
+[0-9a-f]+ <[^>]+> 8403 100f 	sb	zero,15\(t5\)
+[0-9a-f]+ <[^>]+> 8443 100f 	sb	t4,15\(t5\)
+[0-9a-f]+ <[^>]+> 8463 100f 	sb	t5,15\(t5\)
+[0-9a-f]+ <[^>]+> 8483 100f 	sb	a0,15\(t5\)
+[0-9a-f]+ <[^>]+> 84a3 100f 	sb	a1,15\(t5\)
+[0-9a-f]+ <[^>]+> 84c3 100f 	sb	a2,15\(t5\)
+[0-9a-f]+ <[^>]+> 84e3 100f 	sb	a3,15\(t5\)
+[0-9a-f]+ <[^>]+> 8623 100f 	sb	s1,15\(t5\)
+[0-9a-f]+ <[^>]+> 8624 100f 	sb	s1,15\(a0\)
+[0-9a-f]+ <[^>]+> 8625 100f 	sb	s1,15\(a1\)
+[0-9a-f]+ <[^>]+> 8626 100f 	sb	s1,15\(a2\)
+[0-9a-f]+ <[^>]+> 8627 100f 	sb	s1,15\(a3\)
+[0-9a-f]+ <[^>]+> 8622 100f 	sb	s1,15\(t4\)
+[0-9a-f]+ <[^>]+> 8630 100f 	sb	s1,15\(s0\)
+[0-9a-f]+ <[^>]+> 8631 100f 	sb	s1,15\(s1\)
+[0-9a-f]+ <[^>]+> 8460 1004 	sb	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 1004 	sb	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 1fff 	sb	t5,4095\(zero\)
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8461 1001 	sb	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8461 1001 	sb	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a460 88ff 	sb	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8461 1678 	sb	t5,1656\(at\)
+[0-9a-f]+ <[^>]+> 8464 1000 	sb	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 1000 	sb	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 1fff 	sb	t5,4095\(a0\)
+[0-9a-f]+ <[^>]+> 0024 ffff 	addiu	at,a0,65535
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 1001 	sb	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 1001 	sb	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 1000 	sb	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a464 88ff 	sb	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 1678 	sb	t5,1656\(at\)
+[0-9a-f]+ <[^>]+> a460 5904 	sc	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> a460 5904 	sc	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 0020 07ff 	li	at,2047
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 8020 8800 	li	at,-2048
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> a461 5904 	sc	t5,4\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> a461 5904 	sc	t5,4\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 8020 8001 	li	at,-1
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8021 0678 	ori	at,at,0x678
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a464 5900 	sc	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> a464 5900 	sc	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 0024 07ff 	addiu	at,a0,2047
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 8024 8800 	addiu	at,a0,-2048
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 0024 7fff 	addiu	at,a0,32767
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 0024 ffff 	addiu	at,a0,65535
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5904 	sc	t5,4\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5904 	sc	t5,4\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 8024 8001 	addiu	at,a0,-1
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8021 0678 	ori	at,at,0x678
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> a461 5900 	sc	t5,0\(at\)
+[0-9a-f]+ <[^>]+> 0018 0000 	sdbbp
+[0-9a-f]+ <[^>]+> 0018 0000 	sdbbp
+[0-9a-f]+ <[^>]+> 0018 0001 	sdbbp	0x1
+[0-9a-f]+ <[^>]+> 0018 0002 	sdbbp	0x2
+[0-9a-f]+ <[^>]+> 0018 0003 	sdbbp	0x3
+[0-9a-f]+ <[^>]+> 0018 0004 	sdbbp	0x4
+[0-9a-f]+ <[^>]+> 0018 0005 	sdbbp	0x5
+[0-9a-f]+ <[^>]+> 0018 0006 	sdbbp	0x6
+[0-9a-f]+ <[^>]+> 0018 0007 	sdbbp	0x7
+[0-9a-f]+ <[^>]+> 0018 0008 	sdbbp	0x8
+[0-9a-f]+ <[^>]+> 0018 0009 	sdbbp	0x9
+[0-9a-f]+ <[^>]+> 0018 000a 	sdbbp	0xa
+[0-9a-f]+ <[^>]+> 0018 000b 	sdbbp	0xb
+[0-9a-f]+ <[^>]+> 0018 000c 	sdbbp	0xc
+[0-9a-f]+ <[^>]+> 0018 000d 	sdbbp	0xd
+[0-9a-f]+ <[^>]+> 0018 000e 	sdbbp	0xe
+[0-9a-f]+ <[^>]+> 0018 000f 	sdbbp	0xf
+[0-9a-f]+ <[^>]+> 0018 0000 	sdbbp
+[0-9a-f]+ <[^>]+> 0018 0000 	sdbbp
+[0-9a-f]+ <[^>]+> 0018 0001 	sdbbp	0x1
+[0-9a-f]+ <[^>]+> 0018 0002 	sdbbp	0x2
+[0-9a-f]+ <[^>]+> 0018 00ff 	sdbbp	0xff
+[0-9a-f]+ <[^>]+> 2043 0008 	seb	t4,t5
+[0-9a-f]+ <[^>]+> 2042 0008 	seb	t4,t4
+[0-9a-f]+ <[^>]+> 2042 0008 	seb	t4,t4
+[0-9a-f]+ <[^>]+> 2043 0048 	seh	t4,t5
+[0-9a-f]+ <[^>]+> 2042 0048 	seh	t4,t4
+[0-9a-f]+ <[^>]+> 2042 0048 	seh	t4,t4
+[0-9a-f]+ <[^>]+> 2083 1310 	xor	t4,t5,a0
+[0-9a-f]+ <[^>]+> 8042 5001 	sltiu	t4,t4,1
+[0-9a-f]+ <[^>]+> 8043 5001 	sltiu	t4,t5,1
+[0-9a-f]+ <[^>]+> 8044 5001 	sltiu	t4,a0,1
+[0-9a-f]+ <[^>]+> 8043 5001 	sltiu	t4,t5,1
+[0-9a-f]+ <[^>]+> 8043 6001 	seqi	t4,t5,1
+[0-9a-f]+ <[^>]+> 0043 0001 	addiu	t4,t5,1
+[0-9a-f]+ <[^>]+> 8042 5001 	sltiu	t4,t4,1
+[0-9a-f]+ <[^>]+> 0043 8001 	addiu	t4,t5,32769
+[0-9a-f]+ <[^>]+> 8042 5001 	sltiu	t4,t4,1
+[0-9a-f]+ <[^>]+> 2083 1350 	slt	t4,t5,a0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2082 1350 	slt	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2082 1350 	slt	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 8043 4000 	slti	t4,t5,0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 8043 4000 	slti	t4,t5,0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e03f 7ffd 	lui	at,%hi\(0xffff7000\)
+[0-9a-f]+ <[^>]+> 8021 0fff 	ori	at,at,0xfff
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2083 1390 	sltu	t4,t5,a0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2082 1390 	sltu	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2082 1390 	sltu	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 8043 5000 	sltiu	t4,t5,0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 8043 5000 	sltiu	t4,t5,0
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e03f 7ffd 	lui	at,%hi\(0xffff7000\)
+[0-9a-f]+ <[^>]+> 8021 0fff 	ori	at,at,0xfff
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2064 1350 	slt	t4,a0,t5
+[0-9a-f]+ <[^>]+> 2044 1350 	slt	t4,a0,t4
+[0-9a-f]+ <[^>]+> 2044 1350 	slt	t4,a0,t4
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> e03f 7ffd 	lui	at,%hi\(0xffff7000\)
+[0-9a-f]+ <[^>]+> 8021 0fff 	ori	at,at,0xfff
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 2064 1390 	sltu	t4,a0,t5
+[0-9a-f]+ <[^>]+> 2044 1390 	sltu	t4,a0,t4
+[0-9a-f]+ <[^>]+> 2044 1390 	sltu	t4,a0,t4
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> e03f 7ffd 	lui	at,%hi\(0xffff7000\)
+[0-9a-f]+ <[^>]+> 8021 0fff 	ori	at,at,0xfff
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8653 5000 	sh	s2,0\(s3\)
+[0-9a-f]+ <[^>]+> 8653 5000 	sh	s2,0\(s3\)
+[0-9a-f]+ <[^>]+> 8653 5002 	sh	s2,2\(s3\)
+[0-9a-f]+ <[^>]+> 8653 5004 	sh	s2,4\(s3\)
+[0-9a-f]+ <[^>]+> 8653 5006 	sh	s2,6\(s3\)
+[0-9a-f]+ <[^>]+> 8443 5008 	sh	t4,8\(t5\)
+[0-9a-f]+ <[^>]+> 8443 500a 	sh	t4,10\(t5\)
+[0-9a-f]+ <[^>]+> 8443 500c 	sh	t4,12\(t5\)
+[0-9a-f]+ <[^>]+> 8443 500e 	sh	t4,14\(t5\)
+[0-9a-f]+ <[^>]+> 8443 5010 	sh	t4,16\(t5\)
+[0-9a-f]+ <[^>]+> 8443 5012 	sh	t4,18\(t5\)
+[0-9a-f]+ <[^>]+> 8443 5014 	sh	t4,20\(t5\)
+[0-9a-f]+ <[^>]+> 8443 5016 	sh	t4,22\(t5\)
+[0-9a-f]+ <[^>]+> 8443 5018 	sh	t4,24\(t5\)
+[0-9a-f]+ <[^>]+> 8443 501a 	sh	t4,26\(t5\)
+[0-9a-f]+ <[^>]+> 8443 501c 	sh	t4,28\(t5\)
+[0-9a-f]+ <[^>]+> 8443 501e 	sh	t4,30\(t5\)
+[0-9a-f]+ <[^>]+> 8444 501e 	sh	t4,30\(a0\)
+[0-9a-f]+ <[^>]+> 8445 501e 	sh	t4,30\(a1\)
+[0-9a-f]+ <[^>]+> 8446 501e 	sh	t4,30\(a2\)
+[0-9a-f]+ <[^>]+> 8447 501e 	sh	t4,30\(a3\)
+[0-9a-f]+ <[^>]+> 8442 501e 	sh	t4,30\(t4\)
+[0-9a-f]+ <[^>]+> 8450 501e 	sh	t4,30\(s0\)
+[0-9a-f]+ <[^>]+> 8451 501e 	sh	t4,30\(s1\)
+[0-9a-f]+ <[^>]+> 8471 501e 	sh	t5,30\(s1\)
+[0-9a-f]+ <[^>]+> 8491 501e 	sh	a0,30\(s1\)
+[0-9a-f]+ <[^>]+> 84b1 501e 	sh	a1,30\(s1\)
+[0-9a-f]+ <[^>]+> 84d1 501e 	sh	a2,30\(s1\)
+[0-9a-f]+ <[^>]+> 84f1 501e 	sh	a3,30\(s1\)
+[0-9a-f]+ <[^>]+> 8631 501e 	sh	s1,30\(s1\)
+[0-9a-f]+ <[^>]+> 8411 501e 	sh	zero,30\(s1\)
+[0-9a-f]+ <[^>]+> 8460 5004 	sh	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 5004 	sh	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 5fff 	sh	t5,4095\(zero\)
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8461 5001 	sh	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8461 5001 	sh	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a460 a8ff 	sh	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8461 5678 	sh	t5,1656\(at\)
+[0-9a-f]+ <[^>]+> 8464 5000 	sh	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 5000 	sh	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 5fff 	sh	t5,4095\(a0\)
+[0-9a-f]+ <[^>]+> 0024 ffff 	addiu	at,a0,65535
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 5001 	sh	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 5001 	sh	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 5000 	sh	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a464 a8ff 	sh	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 5678 	sh	t5,1656\(at\)
+[0-9a-f]+ <[^>]+> 2064 1350 	slt	t4,a0,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2044 1350 	slt	t4,a0,t4
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2044 1350 	slt	t4,a0,t4
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e03f 7ffd 	lui	at,%hi\(0xffff7000\)
+[0-9a-f]+ <[^>]+> 8021 0fff 	ori	at,at,0xfff
+[0-9a-f]+ <[^>]+> 2061 1350 	slt	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2064 1390 	sltu	t4,a0,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2044 1390 	sltu	t4,a0,t4
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 2044 1390 	sltu	t4,a0,t4
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> e03f 7ffd 	lui	at,%hi\(0xffff7000\)
+[0-9a-f]+ <[^>]+> 8021 0fff 	ori	at,at,0xfff
+[0-9a-f]+ <[^>]+> 2061 1390 	sltu	t4,at,t5
+[0-9a-f]+ <[^>]+> 8042 1001 	xori	t4,t4,0x1
+[0-9a-f]+ <[^>]+> 8252 c001 	sll	s2,s2,1
+[0-9a-f]+ <[^>]+> 8252 c002 	sll	s2,s2,2
+[0-9a-f]+ <[^>]+> 8252 c003 	sll	s2,s2,3
+[0-9a-f]+ <[^>]+> 8252 c004 	sll	s2,s2,4
+[0-9a-f]+ <[^>]+> 8252 c005 	sll	s2,s2,5
+[0-9a-f]+ <[^>]+> 8252 c006 	sll	s2,s2,6
+[0-9a-f]+ <[^>]+> 8252 c007 	sll	s2,s2,7
+[0-9a-f]+ <[^>]+> 8252 c008 	sll	s2,s2,8
+[0-9a-f]+ <[^>]+> 8253 c008 	sll	s2,s3,8
+[0-9a-f]+ <[^>]+> 8244 c008 	sll	s2,a0,8
+[0-9a-f]+ <[^>]+> 8245 c008 	sll	s2,a1,8
+[0-9a-f]+ <[^>]+> 8246 c008 	sll	s2,a2,8
+[0-9a-f]+ <[^>]+> 8247 c008 	sll	s2,a3,8
+[0-9a-f]+ <[^>]+> 8250 c008 	sll	s2,s0,8
+[0-9a-f]+ <[^>]+> 8251 c008 	sll	s2,s1,8
+[0-9a-f]+ <[^>]+> 8272 c008 	sll	s3,s2,8
+[0-9a-f]+ <[^>]+> 8092 c008 	sll	a0,s2,8
+[0-9a-f]+ <[^>]+> 80b2 c008 	sll	a1,s2,8
+[0-9a-f]+ <[^>]+> 80d2 c008 	sll	a2,s2,8
+[0-9a-f]+ <[^>]+> 80f2 c008 	sll	a3,s2,8
+[0-9a-f]+ <[^>]+> 8212 c008 	sll	s0,s2,8
+[0-9a-f]+ <[^>]+> 8232 c008 	sll	s1,s2,8
+[0-9a-f]+ <[^>]+> 8252 c001 	sll	s2,s2,1
+[0-9a-f]+ <[^>]+> 8273 c001 	sll	s3,s3,1
+[0-9a-f]+ <[^>]+> 2083 1010 	sllv	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 1010 	sllv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1010 	sllv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1010 	sllv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8044 c000 	sll	t4,a0,0
+[0-9a-f]+ <[^>]+> 8044 c001 	sll	t4,a0,1
+[0-9a-f]+ <[^>]+> 8044 c01f 	sll	t4,a0,31
+[0-9a-f]+ <[^>]+> 8042 c01f 	sll	t4,t4,31
+[0-9a-f]+ <[^>]+> 8042 c01f 	sll	t4,t4,31
+[0-9a-f]+ <[^>]+> 2083 1350 	slt	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 1350 	slt	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1350 	slt	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8043 4000 	slti	t4,t5,0
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8043 4000 	slti	t4,t5,0
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> e03f 7ffd 	lui	at,%hi\(0xffff7000\)
+[0-9a-f]+ <[^>]+> 8021 0fff 	ori	at,at,0xfff
+[0-9a-f]+ <[^>]+> 2023 1350 	slt	t4,t5,at
+[0-9a-f]+ <[^>]+> 8064 4000 	slti	t5,a0,0
+[0-9a-f]+ <[^>]+> 8064 4fff 	slti	t5,a0,4095
+[0-9a-f]+ <[^>]+> 8064 5000 	sltiu	t5,a0,0
+[0-9a-f]+ <[^>]+> 8064 5fff 	sltiu	t5,a0,4095
+[0-9a-f]+ <[^>]+> 2083 1390 	sltu	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 1390 	sltu	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1390 	sltu	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8043 5000 	sltiu	t4,t5,0
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 8043 5000 	sltiu	t4,t5,0
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> e021 0000 	lui	at,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> e03f 7ffd 	lui	at,%hi\(0xffff7000\)
+[0-9a-f]+ <[^>]+> 8021 0fff 	ori	at,at,0xfff
+[0-9a-f]+ <[^>]+> 2023 1390 	sltu	t4,t5,at
+[0-9a-f]+ <[^>]+> 2083 1310 	xor	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2040 1390 	sltu	t4,zero,t4
+[0-9a-f]+ <[^>]+> 2080 1390 	sltu	t4,zero,a0
+[0-9a-f]+ <[^>]+> 2060 1390 	sltu	t4,zero,t5
+[0-9a-f]+ <[^>]+> 2060 1390 	sltu	t4,zero,t5
+[0-9a-f]+ <[^>]+> 8043 1001 	xori	t4,t5,0x1
+[0-9a-f]+ <[^>]+> 2040 1390 	sltu	t4,zero,t4
+[0-9a-f]+ <[^>]+> 0043 0001 	addiu	t4,t5,1
+[0-9a-f]+ <[^>]+> 2040 1390 	sltu	t4,zero,t4
+[0-9a-f]+ <[^>]+> 0043 8001 	addiu	t4,t5,32769
+[0-9a-f]+ <[^>]+> 2040 1390 	sltu	t4,zero,t4
+[0-9a-f]+ <[^>]+> 2083 1090 	srav	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 1090 	srav	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1090 	srav	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1090 	srav	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8044 c080 	sra	t4,a0,0
+[0-9a-f]+ <[^>]+> 8044 c081 	sra	t4,a0,1
+[0-9a-f]+ <[^>]+> 8044 c09f 	sra	t4,a0,31
+[0-9a-f]+ <[^>]+> 8042 c09f 	sra	t4,t4,31
+[0-9a-f]+ <[^>]+> 8042 c09f 	sra	t4,t4,31
+[0-9a-f]+ <[^>]+> 2083 1050 	srlv	t4,t5,a0
+[0-9a-f]+ <[^>]+> 2082 1050 	srlv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1050 	srlv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1050 	srlv	t4,t4,a0
+[0-9a-f]+ <[^>]+> 8044 c040 	srl	t4,a0,0
+[0-9a-f]+ <[^>]+> 8244 c041 	srl	s2,a0,1
+[0-9a-f]+ <[^>]+> 8044 c05f 	srl	t4,a0,31
+[0-9a-f]+ <[^>]+> 8042 c05f 	srl	t4,t4,31
+[0-9a-f]+ <[^>]+> 8042 c05f 	srl	t4,t4,31
+[0-9a-f]+ <[^>]+> 8252 c041 	srl	s2,s2,1
+[0-9a-f]+ <[^>]+> 8252 c042 	srl	s2,s2,2
+[0-9a-f]+ <[^>]+> 8252 c043 	srl	s2,s2,3
+[0-9a-f]+ <[^>]+> 8252 c044 	srl	s2,s2,4
+[0-9a-f]+ <[^>]+> 8252 c045 	srl	s2,s2,5
+[0-9a-f]+ <[^>]+> 8252 c046 	srl	s2,s2,6
+[0-9a-f]+ <[^>]+> 8252 c047 	srl	s2,s2,7
+[0-9a-f]+ <[^>]+> 8252 c048 	srl	s2,s2,8
+[0-9a-f]+ <[^>]+> 8253 c048 	srl	s2,s3,8
+[0-9a-f]+ <[^>]+> 8244 c048 	srl	s2,a0,8
+[0-9a-f]+ <[^>]+> 8245 c048 	srl	s2,a1,8
+[0-9a-f]+ <[^>]+> 8246 c048 	srl	s2,a2,8
+[0-9a-f]+ <[^>]+> 8247 c048 	srl	s2,a3,8
+[0-9a-f]+ <[^>]+> 8250 c048 	srl	s2,s0,8
+[0-9a-f]+ <[^>]+> 8251 c048 	srl	s2,s1,8
+[0-9a-f]+ <[^>]+> 8252 c048 	srl	s2,s2,8
+[0-9a-f]+ <[^>]+> 8272 c048 	srl	s3,s2,8
+[0-9a-f]+ <[^>]+> 8092 c048 	srl	a0,s2,8
+[0-9a-f]+ <[^>]+> 80b2 c048 	srl	a1,s2,8
+[0-9a-f]+ <[^>]+> 80d2 c048 	srl	a2,s2,8
+[0-9a-f]+ <[^>]+> 80f2 c048 	srl	a3,s2,8
+[0-9a-f]+ <[^>]+> 8212 c048 	srl	s0,s2,8
+[0-9a-f]+ <[^>]+> 8232 c048 	srl	s1,s2,8
+[0-9a-f]+ <[^>]+> 8273 c041 	srl	s3,s3,1
+[0-9a-f]+ <[^>]+> 8273 c041 	srl	s3,s3,1
+[0-9a-f]+ <[^>]+> 2083 1190 	sub	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe e990 	sub	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 1190 	sub	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1190 	sub	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0020 0000 	li	at,0
+[0-9a-f]+ <[^>]+> 2022 1190 	sub	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 0001 	li	at,1
+[0-9a-f]+ <[^>]+> 2022 1190 	sub	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2022 1190 	sub	t4,t4,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2022 1190 	sub	t4,t4,at
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2022 1190 	sub	t4,t4,at
+[0-9a-f]+ <[^>]+> 2253 91d0 	subu	s2,s3,s2
+[0-9a-f]+ <[^>]+> 2273 91d0 	subu	s2,s3,s3
+[0-9a-f]+ <[^>]+> 2093 91d0 	subu	s2,s3,a0
+[0-9a-f]+ <[^>]+> 20b3 91d0 	subu	s2,s3,a1
+[0-9a-f]+ <[^>]+> 20d3 91d0 	subu	s2,s3,a2
+[0-9a-f]+ <[^>]+> 20f3 91d0 	subu	s2,s3,a3
+[0-9a-f]+ <[^>]+> 2213 91d0 	subu	s2,s3,s0
+[0-9a-f]+ <[^>]+> 2233 91d0 	subu	s2,s3,s1
+[0-9a-f]+ <[^>]+> 2232 91d0 	subu	s2,s2,s1
+[0-9a-f]+ <[^>]+> 2224 91d0 	subu	s2,a0,s1
+[0-9a-f]+ <[^>]+> 2225 91d0 	subu	s2,a1,s1
+[0-9a-f]+ <[^>]+> 2226 91d0 	subu	s2,a2,s1
+[0-9a-f]+ <[^>]+> 2227 91d0 	subu	s2,a3,s1
+[0-9a-f]+ <[^>]+> 2230 91d0 	subu	s2,s0,s1
+[0-9a-f]+ <[^>]+> 2231 91d0 	subu	s2,s1,s1
+[0-9a-f]+ <[^>]+> 2232 91d0 	subu	s2,s2,s1
+[0-9a-f]+ <[^>]+> 2232 99d0 	subu	s3,s2,s1
+[0-9a-f]+ <[^>]+> 2232 21d0 	subu	a0,s2,s1
+[0-9a-f]+ <[^>]+> 2232 29d0 	subu	a1,s2,s1
+[0-9a-f]+ <[^>]+> 2232 31d0 	subu	a2,s2,s1
+[0-9a-f]+ <[^>]+> 2232 39d0 	subu	a3,s2,s1
+[0-9a-f]+ <[^>]+> 2232 81d0 	subu	s0,s2,s1
+[0-9a-f]+ <[^>]+> 2232 89d0 	subu	s1,s2,s1
+[0-9a-f]+ <[^>]+> 2247 39d0 	subu	a3,a3,s2
+[0-9a-f]+ <[^>]+> 2247 39d0 	subu	a3,a3,s2
+[0-9a-f]+ <[^>]+> 2083 11d0 	subu	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe e9d0 	subu	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 11d0 	subu	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 11d0 	subu	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0042 0000 	addiu	t4,t4,0
+[0-9a-f]+ <[^>]+> 8042 8001 	addiu	t4,t4,-1
+[0-9a-f]+ <[^>]+> 0020 7fff 	li	at,32767
+[0-9a-f]+ <[^>]+> 2022 11d0 	subu	t4,t4,at
+[0-9a-f]+ <[^>]+> 0042 8000 	addiu	t4,t4,32768
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 2022 11d0 	subu	t4,t4,at
+[0-9a-f]+ <[^>]+> 8644 9000 	sw	s2,0\(a0\)
+[0-9a-f]+ <[^>]+> 8644 9000 	sw	s2,0\(a0\)
+[0-9a-f]+ <[^>]+> 8644 9004 	sw	s2,4\(a0\)
+[0-9a-f]+ <[^>]+> 8644 9008 	sw	s2,8\(a0\)
+[0-9a-f]+ <[^>]+> 8644 900c 	sw	s2,12\(a0\)
+[0-9a-f]+ <[^>]+> 8644 9010 	sw	s2,16\(a0\)
+[0-9a-f]+ <[^>]+> 8644 9014 	sw	s2,20\(a0\)
+[0-9a-f]+ <[^>]+> 8644 9018 	sw	s2,24\(a0\)
+[0-9a-f]+ <[^>]+> 8644 901c 	sw	s2,28\(a0\)
+[0-9a-f]+ <[^>]+> 8644 9020 	sw	s2,32\(a0\)
+[0-9a-f]+ <[^>]+> 8644 9024 	sw	s2,36\(a0\)
+[0-9a-f]+ <[^>]+> 8644 9028 	sw	s2,40\(a0\)
+[0-9a-f]+ <[^>]+> 8644 902c 	sw	s2,44\(a0\)
+[0-9a-f]+ <[^>]+> 8644 9030 	sw	s2,48\(a0\)
+[0-9a-f]+ <[^>]+> 8644 9034 	sw	s2,52\(a0\)
+[0-9a-f]+ <[^>]+> 8644 9038 	sw	s2,56\(a0\)
+[0-9a-f]+ <[^>]+> 8644 903c 	sw	s2,60\(a0\)
+[0-9a-f]+ <[^>]+> 8645 903c 	sw	s2,60\(a1\)
+[0-9a-f]+ <[^>]+> 8646 903c 	sw	s2,60\(a2\)
+[0-9a-f]+ <[^>]+> 8647 903c 	sw	s2,60\(a3\)
+[0-9a-f]+ <[^>]+> 8650 903c 	sw	s2,60\(s0\)
+[0-9a-f]+ <[^>]+> 8651 903c 	sw	s2,60\(s1\)
+[0-9a-f]+ <[^>]+> 8652 903c 	sw	s2,60\(s2\)
+[0-9a-f]+ <[^>]+> 8653 903c 	sw	s2,60\(s3\)
+[0-9a-f]+ <[^>]+> 8673 903c 	sw	s3,60\(s3\)
+[0-9a-f]+ <[^>]+> 8493 903c 	sw	a0,60\(s3\)
+[0-9a-f]+ <[^>]+> 84b3 903c 	sw	a1,60\(s3\)
+[0-9a-f]+ <[^>]+> 84d3 903c 	sw	a2,60\(s3\)
+[0-9a-f]+ <[^>]+> 84f3 903c 	sw	a3,60\(s3\)
+[0-9a-f]+ <[^>]+> 8633 903c 	sw	s1,60\(s3\)
+[0-9a-f]+ <[^>]+> 8413 903c 	sw	zero,60\(s3\)
+[0-9a-f]+ <[^>]+> 841d 9000 	sw	zero,0\(sp\)
+[0-9a-f]+ <[^>]+> 841d 9000 	sw	zero,0\(sp\)
+[0-9a-f]+ <[^>]+> 841d 9004 	sw	zero,4\(sp\)
+[0-9a-f]+ <[^>]+> 841d 9008 	sw	zero,8\(sp\)
+[0-9a-f]+ <[^>]+> 841d 900c 	sw	zero,12\(sp\)
+[0-9a-f]+ <[^>]+> 841d 9010 	sw	zero,16\(sp\)
+[0-9a-f]+ <[^>]+> 841d 9014 	sw	zero,20\(sp\)
+[0-9a-f]+ <[^>]+> 841d 9078 	sw	zero,120\(sp\)
+[0-9a-f]+ <[^>]+> 841d 907c 	sw	zero,124\(sp\)
+[0-9a-f]+ <[^>]+> 845d 907c 	sw	t4,124\(sp\)
+[0-9a-f]+ <[^>]+> 863d 907c 	sw	s1,124\(sp\)
+[0-9a-f]+ <[^>]+> 847d 907c 	sw	t5,124\(sp\)
+[0-9a-f]+ <[^>]+> 849d 907c 	sw	a0,124\(sp\)
+[0-9a-f]+ <[^>]+> 84bd 907c 	sw	a1,124\(sp\)
+[0-9a-f]+ <[^>]+> 84dd 907c 	sw	a2,124\(sp\)
+[0-9a-f]+ <[^>]+> 84fd 907c 	sw	a3,124\(sp\)
+[0-9a-f]+ <[^>]+> 87fd 907c 	sw	ra,124\(sp\)
+[0-9a-f]+ <[^>]+> 8460 9004 	sw	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 9004 	sw	t5,4\(zero\)
+[0-9a-f]+ <[^>]+> 8460 9fff 	sw	t5,4095\(zero\)
+[0-9a-f]+ <[^>]+> 0020 ffff 	li	at,65535
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 8461 9001 	sw	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 8461 9001 	sw	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a460 c8ff 	sw	t5,-1\(zero\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 8461 9678 	sw	t5,1656\(at\)
+[0-9a-f]+ <[^>]+> 8464 9000 	sw	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 9000 	sw	t5,0\(a0\)
+[0-9a-f]+ <[^>]+> 8464 9fff 	sw	t5,4095\(a0\)
+[0-9a-f]+ <[^>]+> 0024 ffff 	addiu	at,a0,65535
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> e03f 0ffd 	lui	at,%hi\(0xffff0000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 9001 	sw	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 9001 	sw	t5,1\(at\)
+[0-9a-f]+ <[^>]+> e020 0e01 	lui	at,%hi\(0xf0000000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 9000 	sw	t5,0\(at\)
+[0-9a-f]+ <[^>]+> a464 c8ff 	sw	t5,-1\(a0\)
+[0-9a-f]+ <[^>]+> e034 5244 	lui	at,%hi\(0x12345000\)
+[0-9a-f]+ <[^>]+> 2081 0950 	addu	at,at,a0
+[0-9a-f]+ <[^>]+> 8461 9678 	sw	t5,1656\(at\)
+[0-9a-f]+ <[^>]+> 8000 c006 	sync
+[0-9a-f]+ <[^>]+> 8000 c006 	sync
+[0-9a-f]+ <[^>]+> 8001 c006 	sync	0x1
+[0-9a-f]+ <[^>]+> 8002 c006 	sync	0x2
+[0-9a-f]+ <[^>]+> 8003 c006 	sync	0x3
+[0-9a-f]+ <[^>]+> 8005 c006 	sync	0x5
+[0-9a-f]+ <[^>]+> 801e c006 	sync	0x1e
+[0-9a-f]+ <[^>]+> 801f c006 	sync	0x1f
+[0-9a-f]+ <[^>]+> 87e0 3000 	synci	0\(zero\)
+[0-9a-f]+ <[^>]+> 87e0 3000 	synci	0\(zero\)
+[0-9a-f]+ <[^>]+> 87e0 3000 	synci	0\(zero\)
+[0-9a-f]+ <[^>]+> 87e0 37ff 	synci	2047\(zero\)
+[0-9a-f]+ <[^>]+> 87e0 3800 	synci	2048\(zero\)
+[0-9a-f]+ <[^>]+> 87e2 3000 	synci	0\(t4\)
+[0-9a-f]+ <[^>]+> 87e3 3000 	synci	0\(t5\)
+[0-9a-f]+ <[^>]+> 87e3 30ff 	synci	255\(t5\)
+[0-9a-f]+ <[^>]+> a7e3 9800 	synci	-256\(t5\)
+[0-9a-f]+ <[^>]+> 87e3 3800 	synci	2048\(t5\)
+[0-9a-f]+ <[^>]+> 0008 0000 	syscall
+[0-9a-f]+ <[^>]+> 0008 0000 	syscall
+[0-9a-f]+ <[^>]+> 0008 0001 	syscall	0x1
+[0-9a-f]+ <[^>]+> 0008 0002 	syscall	0x2
+[0-9a-f]+ <[^>]+> 0008 00ff 	syscall	0xff
+[0-9a-f]+ <[^>]+> 2000 c37f 	wait
+[0-9a-f]+ <[^>]+> 2000 c37f 	wait
+[0-9a-f]+ <[^>]+> 2001 c37f 	wait	0x1
+[0-9a-f]+ <[^>]+> 20ff c37f 	wait	0xff
+[0-9a-f]+ <[^>]+> 2043 f17f 	wrpgpr	t4,t5
+[0-9a-f]+ <[^>]+> 2044 f17f 	wrpgpr	t4,a0
+[0-9a-f]+ <[^>]+> 2042 f17f 	wrpgpr	t4,t4
+[0-9a-f]+ <[^>]+> 2042 f17f 	wrpgpr	t4,t4
+[0-9a-f]+ <[^>]+> 8043 d608 	byterevh	t4,t5
+[0-9a-f]+ <[^>]+> 8044 d608 	byterevh	t4,a0
+[0-9a-f]+ <[^>]+> 8042 d608 	byterevh	t4,t4
+[0-9a-f]+ <[^>]+> 8042 d608 	byterevh	t4,t4
+[0-9a-f]+ <[^>]+> 2252 9310 	xor	s2,s2,s2
+[0-9a-f]+ <[^>]+> 2272 9310 	xor	s2,s2,s3
+[0-9a-f]+ <[^>]+> 2092 9310 	xor	s2,s2,a0
+[0-9a-f]+ <[^>]+> 20b2 9310 	xor	s2,s2,a1
+[0-9a-f]+ <[^>]+> 20d2 9310 	xor	s2,s2,a2
+[0-9a-f]+ <[^>]+> 20f2 9310 	xor	s2,s2,a3
+[0-9a-f]+ <[^>]+> 2212 9310 	xor	s2,s2,s0
+[0-9a-f]+ <[^>]+> 2232 9310 	xor	s2,s2,s1
+[0-9a-f]+ <[^>]+> 2233 9b10 	xor	s3,s3,s1
+[0-9a-f]+ <[^>]+> 2224 2310 	xor	a0,a0,s1
+[0-9a-f]+ <[^>]+> 2225 2b10 	xor	a1,a1,s1
+[0-9a-f]+ <[^>]+> 2226 3310 	xor	a2,a2,s1
+[0-9a-f]+ <[^>]+> 2227 3b10 	xor	a3,a3,s1
+[0-9a-f]+ <[^>]+> 2230 8310 	xor	s0,s0,s1
+[0-9a-f]+ <[^>]+> 2231 8b10 	xor	s1,s1,s1
+[0-9a-f]+ <[^>]+> 2272 9310 	xor	s2,s2,s3
+[0-9a-f]+ <[^>]+> 2272 9310 	xor	s2,s2,s3
+[0-9a-f]+ <[^>]+> 2253 9310 	xor	s2,s3,s2
+[0-9a-f]+ <[^>]+> 2083 1310 	xor	t4,t5,a0
+[0-9a-f]+ <[^>]+> 23fe eb10 	xor	sp,fp,ra
+[0-9a-f]+ <[^>]+> 2082 1310 	xor	t4,t4,a0
+[0-9a-f]+ <[^>]+> 2082 1310 	xor	t4,t4,a0
+[0-9a-f]+ <[^>]+> 0020 8000 	li	at,32768
+[0-9a-f]+ <[^>]+> 2023 1310 	xor	t4,t5,at
+[0-9a-f]+ <[^>]+> 8043 1fff 	xori	t4,t5,0xfff
+[0-9a-f]+ <[^>]+> 0020 1000 	li	at,4096
+[0-9a-f]+ <[^>]+> 2023 1310 	xor	t4,t5,at
+[0-9a-f]+ <[^>]+> e03f 8ffd 	lui	at,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 2023 1310 	xor	t4,t5,at
+[0-9a-f]+ <[^>]+> e03f 7ffd 	lui	at,%hi\(0xffff7000\)
+[0-9a-f]+ <[^>]+> 8021 0fff 	ori	at,at,0xfff
+[0-9a-f]+ <[^>]+> 2023 1310 	xor	t4,t5,at
+[0-9a-f]+ <[^>]+> 8064 1000 	xori	t5,a0,0x0
+[0-9a-f]+ <[^>]+> 8063 1fff 	xori	t5,t5,0xfff
+[0-9a-f]+ <[^>]+> 8920 0000 	beqzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8949 0000 	beqc	a5,a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 0000 	beqzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c920 0800 	beqic	a5,1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 880a 8000 	bgezc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 880a 8000 	bgezc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8940 8000 	blezc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 896a 8000 	bgec	a6,a7,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 880a 8000 	bgezc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a940 8000 	bgtzc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c948 1000 	bgeic	a6,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	00000000 <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8802 c000 	bgeuc	t4,zero,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8840 c000 	bgeuc	zero,t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8862 c000 	bgeuc	t4,t5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	00000000 <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a840 0000 	bnezc	t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c84c 1000 	bgeiuc	t4,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8802 8000 	bgezc	t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a840 8000 	bgtzc	t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a802 8000 	bltzc	t4,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 212a 0b50 	slt	at,a6,a5
+[0-9a-f]+ <[^>]+> a820 0000 	bnezc	at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8000 c000 	nop
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8809 8000 	bgezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a920 8000 	bgtzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c928 1000 	bgeic	a5,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> e020 0001 	lui	at,%hi\(0x80000000\)
+[0-9a-f]+ <[^>]+> 8021 0001 	ori	at,at,0x1
+[0-9a-f]+ <[^>]+> 2029 0b50 	slt	at,a5,at
+[0-9a-f]+ <[^>]+> 8820 0000 	beqzc	at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a920 0000 	bnezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8000 c000 	nop
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 212a 0b90 	sltu	at,a6,a5
+[0-9a-f]+ <[^>]+> a820 0000 	bnezc	at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8000 c000 	nop
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8000 c000 	nop
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8000 c000 	nop
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a920 0000 	bnezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c92c 1000 	bgeiuc	a5,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a920 8000 	bgtzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 8000 	blezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 880a 8000 	bgezc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 212a 0b50 	slt	at,a6,a5
+[0-9a-f]+ <[^>]+> 8820 0000 	beqzc	at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	00000000 <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a809 8000 	bltzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 8000 	blezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c938 1000 	bltic	a5,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 0000 	beqzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	00000000 <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 212a 0b90 	sltu	at,a6,a5
+[0-9a-f]+ <[^>]+> 8820 0000 	beqzc	at,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	00000000 <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 2800 0000 	bc	00000000 <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 0000 	beqzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c93c 1000 	bltiuc	a5,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 8000 	blezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a809 8000 	bltzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a940 8000 	bgtzc	a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a949 8000 	bltc	a5,a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a809 8000 	bltzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 8000 	blezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c938 1000 	bltic	a5,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a809 c000 	bltuc	a5,zero,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a940 c000 	bltuc	zero,a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a949 c000 	bltuc	a5,a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8000 c000 	nop
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8920 0000 	beqzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c93c 1000 	bltiuc	a5,2,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a809 8000 	bltzc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a920 0000 	bnezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a949 0000 	bnec	a5,a6,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> a920 0000 	bnezc	a5,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC14_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> c930 0800 	bneic	a5,1,[0-9a-f]+ <[^>]+>
+			[0-9a-f]+: R_NANOMIPS_PC11_S1	test
+[0-9a-f]+ <[^>]+> 20a4 9950 	addu	s3,a0,a1
+[0-9a-f]+ <[^>]+> 8000 3003 	restore.jrc	0
+[0-9a-f]+ <[^>]+> 8000 300b 	restore.jrc	8
+[0-9a-f]+ <[^>]+> 8000 3013 	restore.jrc	16
+[0-9a-f]+ <[^>]+> 8000 301b 	restore.jrc	24
+[0-9a-f]+ <[^>]+> 8000 3023 	restore.jrc	32
+[0-9a-f]+ <[^>]+> 8000 302b 	restore.jrc	40
+[0-9a-f]+ <[^>]+> 03bd 0004 	addiu	sp,sp,4
+[0-9a-f]+ <[^>]+> 481f 0000 	jrc	ra
+[0-9a-f]+ <[^>]+> 03bd 000c 	addiu	sp,sp,12
+[0-9a-f]+ <[^>]+> 481f 0000 	jrc	ra
+[0-9a-f]+ <[^>]+> 03bd 0014 	addiu	sp,sp,20
+[0-9a-f]+ <[^>]+> 481f 0000 	jrc	ra
+[0-9a-f]+ <[^>]+> 03bd 001c 	addiu	sp,sp,28
+[0-9a-f]+ <[^>]+> 481f 0000 	jrc	ra
+[0-9a-f]+ <[^>]+> 03bd 0024 	addiu	sp,sp,36
+[0-9a-f]+ <[^>]+> 481f 0000 	jrc	ra
+[0-9a-f]+ <[^>]+> 8000 307b 	restore.jrc	120
+[0-9a-f]+ <[^>]+> 03bd 007c 	addiu	sp,sp,124
+[0-9a-f]+ <[^>]+> 481f 0000 	jrc	ra
+[0-9a-f]+ <[^>]+> 0018 03ff 	sdbbp	0x3ff
+[0-9a-f]+ <[^>]+> 23ff c37f 	wait	0x3ff
+[0-9a-f]+ <[^>]+> 0008 03ff 	syscall	0x3ff
+[0-9a-f]+ <[^>]+> 2a00 0000 	balc	[0-9a-f]+ <test_delay_slot>
+			[0-9a-f]+: R_NANOMIPS_PC25_S1	test_delay_slot
+[0-9a-f]+ <[^>]+> 4be2 0000 	jalrc	t4
+[0-9a-f]+ <[^>]+> 4802 0000 	jrc	t4
+[0-9a-f]+ <[^>]+> 4be2 1000 	jalrc.hb	t4
+[0-9a-f]+ <[^>]+> 4802 1000 	jrc.hb	t4
+[0-9a-f]+ <[^>]+> 4240 01fe 	lw	s2,508\(gp\)
+[0-9a-f]+ <[^>]+> 4260 01fe 	lw	s3,508\(gp\)
+[0-9a-f]+ <[^>]+> 4080 01fe 	lw	a0,508\(gp\)
+[0-9a-f]+ <[^>]+> 40a0 01fe 	lw	a1,508\(gp\)
+[0-9a-f]+ <[^>]+> 40c0 01fe 	lw	a2,508\(gp\)
+[0-9a-f]+ <[^>]+> 40e0 01fe 	lw	a3,508\(gp\)
+[0-9a-f]+ <[^>]+> 4200 01fe 	lw	s0,508\(gp\)
+[0-9a-f]+ <[^>]+> 4220 01fe 	lw	s1,508\(gp\)
+[0-9a-f]+ <[^>]+> 4220 01fa 	lw	s1,504\(gp\)
+[0-9a-f]+ <[^>]+> 4220 01f6 	lw	s1,500\(gp\)
+[0-9a-f]+ <[^>]+> 4220 0002 	lw	s1,0\(gp\)
+[0-9a-f]+ <[^>]+> 4220 0006 	lw	s1,4\(gp\)
+[0-9a-f]+ <[^>]+> 4220 00fa 	lw	s1,248\(gp\)
+[0-9a-f]+ <[^>]+> 4220 00fe 	lw	s1,252\(gp\)
+[0-9a-f]+ <[^>]+> 4220 0102 	lw	s1,256\(gp\)
+[0-9a-f]+ <[^>]+> 823c 8104 	addiu	s1,gp,-260
+[0-9a-f]+ <[^>]+> 8631 8000 	lw	s1,0\(s1\)
+[0-9a-f]+ <[^>]+> 863c 8001 	lw	s1,1\(gp\)
+[0-9a-f]+ <[^>]+> 863c 8002 	lw	s1,2\(gp\)
+[0-9a-f]+ <[^>]+> 863c 8003 	lw	s1,3\(gp\)
+[0-9a-f]+ <[^>]+> a63c c0ff 	lw	s1,-1\(gp\)
+[0-9a-f]+ <[^>]+> a63c c0fe 	lw	s1,-2\(gp\)
+[0-9a-f]+ <[^>]+> a63c c0fd 	lw	s1,-3\(gp\)
+[0-9a-f]+ <[^>]+> 863b 8000 	lw	s1,0\(k1\)
+[0-9a-f]+ <[^>]+> 8042 2fff 	andi	t4,t4,0xfff
+[0-9a-f]+ <[^>]+> 8043 f300 	ext	t4,t5,0,13
+[0-9a-f]+ <[^>]+> 8044 f340 	ext	t4,a0,0,14
+[0-9a-f]+ <[^>]+> 8045 f380 	ext	t4,a1,0,15
+[0-9a-f]+ <[^>]+> 8046 f3c0 	ext	t4,a2,0,16
+[0-9a-f]+ <[^>]+> 8047 f500 	ext	t4,a3,0,21
+[0-9a-f]+ <[^>]+> 8048 f540 	ext	t4,a4,0,22
+[0-9a-f]+ <[^>]+> 8049 f580 	ext	t4,a5,0,23
+[0-9a-f]+ <[^>]+> 8050 f5c0 	ext	t4,s0,0,24
+[0-9a-f]+ <[^>]+> e040 0000 	lui	t4,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	test
+[0-9a-f]+ <[^>]+> 8042 0000 	ori	t4,t4,0x0
+			[0-9a-f]+: R_NANOMIPS_LO12	test
+[0-9a-f]+ <[^>]+> 2000 0390 	dvp
+[0-9a-f]+ <[^>]+> 20a0 0390 	dvp	a1
+[0-9a-f]+ <[^>]+> 2000 0790 	evp
+[0-9a-f]+ <[^>]+> 20c0 0790 	evp	a2
+#pass
diff --git a/gas/testsuite/gas/nanomips/[email protected] b/gas/testsuite/gas/nanomips/[email protected]
new file mode 100644
index 00000000000..16aefdc55f9
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/[email protected]
@@ -0,0 +1,206 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: nanoMIPS subset la PIC large memory model
+#as: -mPIC -mcmodel=large -G0
+#source: la.s
+
+# Test the la macro with mPIC on nanoMIPS subset and large memory model
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]+> 0080 0000 	li	a0,0
+[0-9a-f]+ <[^>]+> 0080 0001 	li	a0,1
+[0-9a-f]+ <[^>]+> 0080 8000 	li	a0,32768
+[0-9a-f]+ <[^>]+> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> e081 0000 	lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> e081 a000 	lui	a0,%hi\(0x1a000\)
+[0-9a-f]+ <[^>]+> 8084 05a5 	ori	a0,a0,0x5a5
+[0-9a-f]+ <[^>]+> 0085 0000 	addiu	a0,a1,0
+[0-9a-f]+ <[^>]+> 0085 0001 	addiu	a0,a1,1
+[0-9a-f]+ <[^>]+> 0085 8000 	addiu	a0,a1,32768
+[0-9a-f]+ <[^>]+> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e081 0000 	lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e081 a000 	lui	a0,%hi\(0x1a000\)
+[0-9a-f]+ <[^>]+> 8084 05a5 	ori	a0,a0,0x5a5
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	data_label
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_data_label
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_data_label
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	small_external_data_label
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	small_external_data_label
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_common
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_common
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	small_external_common
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	small_external_common
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	big_local_common
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	small_local_common
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x3e8
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	data_label\+0x1
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	small_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	small_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_common\+0x1
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_common\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	small_external_common\+0x1
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	small_external_common\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	big_local_common\+0x1
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	small_local_common\+0x1
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x3e9
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	data_label\+0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	small_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	small_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_common\+0x8000
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_common\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	small_external_common\+0x8000
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	small_external_common\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	big_local_common\+0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	small_local_common\+0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x83e8
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	data_label-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	small_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	small_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_common-0x8000
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_common-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	small_external_common-0x8000
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	small_external_common-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	big_local_common-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	small_local_common-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss-0x7c18
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	data_label\+0x10000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	small_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	small_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_common\+0x10000
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_common\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	small_external_common\+0x10000
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	small_external_common\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	big_local_common\+0x10000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	small_local_common\+0x10000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x103e8
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	small_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	small_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	small_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	small_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	big_local_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	small_local_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x1a98d
+[0-9a-f]+ <[^>]+> 0085 0000 	addiu	a0,a1,0
+[0-9a-f]+ <[^>]+> e092 3000 	lui	a0,%hi\(0x123000\)
+[0-9a-f]+ <[^>]+> 8084 0456 	ori	a0,a0,0x456
+[0-9a-f]+ <[^>]+> e092 3000 	lui	a0,%hi\(0x123000\)
+[0-9a-f]+ <[^>]+> 8084 0456 	ori	a0,a0,0x456
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_data_label
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_data_label
+#pass
diff --git a/gas/testsuite/gas/nanomips/[email protected] b/gas/testsuite/gas/nanomips/[email protected]
new file mode 100644
index 00000000000..faf13e3bafd
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/[email protected]
@@ -0,0 +1,206 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: nanoMIPS subset la PIC medium memory model
+#as: -mPIC -mcmodel=medium -G0
+#source: la.s
+
+# Test the la macro with mPIC on nanoMIPS subset and medium memory model
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]+> 0080 0000 	li	a0,0
+[0-9a-f]+ <[^>]+> 0080 0001 	li	a0,1
+[0-9a-f]+ <[^>]+> 0080 8000 	li	a0,32768
+[0-9a-f]+ <[^>]+> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> e081 0000 	lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> e081 a000 	lui	a0,%hi\(0x1a000\)
+[0-9a-f]+ <[^>]+> 8084 05a5 	ori	a0,a0,0x5a5
+[0-9a-f]+ <[^>]+> 0085 0000 	addiu	a0,a1,0
+[0-9a-f]+ <[^>]+> 0085 0001 	addiu	a0,a1,1
+[0-9a-f]+ <[^>]+> 0085 8000 	addiu	a0,a1,32768
+[0-9a-f]+ <[^>]+> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e081 0000 	lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e081 a000 	lui	a0,%hi\(0x1a000\)
+[0-9a-f]+ <[^>]+> 8084 05a5 	ori	a0,a0,0x5a5
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	data_label
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_data_label
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_data_label
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	small_external_data_label
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	small_external_data_label
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_common
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_common
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	small_external_common
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	small_external_common
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	big_local_common
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	small_local_common
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x3e8
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	data_label\+0x1
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	small_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	small_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_common\+0x1
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_common\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	small_external_common\+0x1
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	small_external_common\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	big_local_common\+0x1
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	small_local_common\+0x1
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x3e9
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	data_label\+0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	small_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	small_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_common\+0x8000
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_common\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	small_external_common\+0x8000
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	small_external_common\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	big_local_common\+0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	small_local_common\+0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x83e8
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	data_label-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	small_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	small_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_common-0x8000
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_common-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	small_external_common-0x8000
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	small_external_common-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	big_local_common-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	small_local_common-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss-0x7c18
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	data_label\+0x10000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	small_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	small_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_common\+0x10000
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_common\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	small_external_common\+0x10000
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	small_external_common\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	big_local_common\+0x10000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	small_local_common\+0x10000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x103e8
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	small_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	small_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	small_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	small_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	big_local_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	small_local_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x1a98d
+[0-9a-f]+ <[^>]+> 0085 0000 	addiu	a0,a1,0
+[0-9a-f]+ <[^>]+> e092 3000 	lui	a0,%hi\(0x123000\)
+[0-9a-f]+ <[^>]+> 8084 0456 	ori	a0,a0,0x456
+[0-9a-f]+ <[^>]+> e092 3000 	lui	a0,%hi\(0x123000\)
+[0-9a-f]+ <[^>]+> 8084 0456 	ori	a0,a0,0x456
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_GOTPC_HI20	big_external_data_label
+[0-9a-f]+ <[^>]+> 8484 8000 	lw	a0,0\(a0\)
+			[0-9a-f]+: R_NANOMIPS_GOT_LO12	big_external_data_label
+#pass
diff --git a/gas/testsuite/gas/nanomips/[email protected] b/gas/testsuite/gas/nanomips/[email protected]
new file mode 100644
index 00000000000..bfd896008ab
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/[email protected]
@@ -0,0 +1,206 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: nanoMIPS PC-relative la without li[48] for large memory model
+#as: -mlegacyregs -mpcrel
+#source: la.s
+
+# Test the la macro PC-relative expansion for mcmodel=large
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]+> 0080 0000 	li	a0,0
+[0-9a-f]+ <[^>]+> 0080 0001 	li	a0,1
+[0-9a-f]+ <[^>]+> 0080 8000 	li	a0,32768
+[0-9a-f]+ <[^>]+> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> e081 0000 	lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> e081 a000 	lui	a0,%hi\(0x1a000\)
+[0-9a-f]+ <[^>]+> 8084 05a5 	ori	a0,a0,0x5a5
+[0-9a-f]+ <[^>]+> 0085 0000 	addiu	a0,a1,0
+[0-9a-f]+ <[^>]+> 0085 0001 	addiu	a0,a1,1
+[0-9a-f]+ <[^>]+> 0085 8000 	addiu	a0,a1,32768
+[0-9a-f]+ <[^>]+> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e081 0000 	lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e081 a000 	lui	a0,%hi\(0x1a000\)
+[0-9a-f]+ <[^>]+> 8084 05a5 	ori	a0,a0,0x5a5
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			44: R_NANOMIPS_PCHI20	data_label
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			48: R_NANOMIPS_LO12	.data
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			4c: R_NANOMIPS_PCHI20	big_external_data_label
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			50: R_NANOMIPS_LO12	big_external_data_label
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			54: R_NANOMIPS_PCHI20	small_external_data_label
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			58: R_NANOMIPS_LO12	small_external_data_label
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			5c: R_NANOMIPS_PCHI20	big_external_common
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			60: R_NANOMIPS_LO12	big_external_common
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			64: R_NANOMIPS_PCHI20	small_external_common
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			68: R_NANOMIPS_LO12	small_external_common
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			6c: R_NANOMIPS_PCHI20	big_local_common
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			70: R_NANOMIPS_LO12	.bss
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			74: R_NANOMIPS_PCHI20	small_local_common
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			78: R_NANOMIPS_LO12	.sbss
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			7c: R_NANOMIPS_PCHI20	data_label\+0x1
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			80: R_NANOMIPS_LO12	.data\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			84: R_NANOMIPS_PCHI20	big_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			88: R_NANOMIPS_LO12	big_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			8c: R_NANOMIPS_PCHI20	small_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			90: R_NANOMIPS_LO12	small_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			94: R_NANOMIPS_PCHI20	big_external_common\+0x1
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			98: R_NANOMIPS_LO12	big_external_common\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			9c: R_NANOMIPS_PCHI20	small_external_common\+0x1
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			a0: R_NANOMIPS_LO12	small_external_common\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			a4: R_NANOMIPS_PCHI20	big_local_common\+0x1
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			a8: R_NANOMIPS_LO12	.bss\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			ac: R_NANOMIPS_PCHI20	small_local_common\+0x1
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			b0: R_NANOMIPS_LO12	.sbss\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			b4: R_NANOMIPS_PCHI20	data_label\+0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			b8: R_NANOMIPS_LO12	.data\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			bc: R_NANOMIPS_PCHI20	big_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			c0: R_NANOMIPS_LO12	big_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			c4: R_NANOMIPS_PCHI20	small_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			c8: R_NANOMIPS_LO12	small_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			cc: R_NANOMIPS_PCHI20	big_external_common\+0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			d0: R_NANOMIPS_LO12	big_external_common\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			d4: R_NANOMIPS_PCHI20	small_external_common\+0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			d8: R_NANOMIPS_LO12	small_external_common\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			dc: R_NANOMIPS_PCHI20	big_local_common\+0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			e0: R_NANOMIPS_LO12	.bss\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			e4: R_NANOMIPS_PCHI20	small_local_common\+0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			e8: R_NANOMIPS_LO12	.sbss\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			ec: R_NANOMIPS_PCHI20	data_label-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			f0: R_NANOMIPS_LO12	.data-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			f4: R_NANOMIPS_PCHI20	big_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			f8: R_NANOMIPS_LO12	big_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			fc: R_NANOMIPS_PCHI20	small_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			100: R_NANOMIPS_LO12	small_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			104: R_NANOMIPS_PCHI20	big_external_common-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			108: R_NANOMIPS_LO12	big_external_common-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			10c: R_NANOMIPS_PCHI20	small_external_common-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			110: R_NANOMIPS_LO12	small_external_common-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			114: R_NANOMIPS_PCHI20	big_local_common-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			118: R_NANOMIPS_LO12	.bss-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			11c: R_NANOMIPS_PCHI20	small_local_common-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			120: R_NANOMIPS_LO12	.sbss-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			124: R_NANOMIPS_PCHI20	data_label\+0x10000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			128: R_NANOMIPS_LO12	.data\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			12c: R_NANOMIPS_PCHI20	big_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			130: R_NANOMIPS_LO12	big_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			134: R_NANOMIPS_PCHI20	small_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			138: R_NANOMIPS_LO12	small_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			13c: R_NANOMIPS_PCHI20	big_external_common\+0x10000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			140: R_NANOMIPS_LO12	big_external_common\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			144: R_NANOMIPS_PCHI20	small_external_common\+0x10000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			148: R_NANOMIPS_LO12	small_external_common\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			14c: R_NANOMIPS_PCHI20	big_local_common\+0x10000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			150: R_NANOMIPS_LO12	.bss\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			154: R_NANOMIPS_PCHI20	small_local_common\+0x10000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			158: R_NANOMIPS_LO12	.sbss\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			15c: R_NANOMIPS_PCHI20	data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			160: R_NANOMIPS_LO12	.data\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			164: R_NANOMIPS_PCHI20	big_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			168: R_NANOMIPS_LO12	big_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			16c: R_NANOMIPS_PCHI20	small_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			170: R_NANOMIPS_LO12	small_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			174: R_NANOMIPS_PCHI20	big_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			178: R_NANOMIPS_LO12	big_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			17c: R_NANOMIPS_PCHI20	small_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			180: R_NANOMIPS_LO12	small_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			184: R_NANOMIPS_PCHI20	big_local_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			188: R_NANOMIPS_LO12	.bss\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			18c: R_NANOMIPS_PCHI20	small_local_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			190: R_NANOMIPS_LO12	.sbss\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0085 0000 	addiu	a0,a1,0
+[0-9a-f]+ <[^>]+> e092 3000 	lui	a0,%hi\(0x123000\)
+[0-9a-f]+ <[^>]+> 8084 0456 	ori	a0,a0,0x456
+[0-9a-f]+ <[^>]+> e092 3000 	lui	a0,%hi\(0x123000\)
+[0-9a-f]+ <[^>]+> 8084 0456 	ori	a0,a0,0x456
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			1ac: R_NANOMIPS_PCHI20	big_external_data_label
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			1b0: R_NANOMIPS_LO12	big_external_data_label
+#pass
diff --git a/gas/testsuite/gas/nanomips/[email protected] b/gas/testsuite/gas/nanomips/[email protected]
new file mode 100644
index 00000000000..91d13cdd7ed
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/[email protected]
@@ -0,0 +1,206 @@
+#objdump: -dr --prefix-addresses
+#name: nanoMIPS la without li[48] for large memory model
+#as:
+#source: la.s
+
+# Test the la macro for mcmodel=large
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]*> li	a0,0
+[0-9a-f]+ <[^>]*> li	a0,1
+[0-9a-f]+ <[^>]*> li	a0,32768
+[0-9a-f]+ <[^>]*> lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]*> lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]*> lui	a0,%hi\(0x1a000\)
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x5a5
+[0-9a-f]+ <[^>]*> addiu	a0,a1,0
+[0-9a-f]+ <[^>]*> addiu	a0,a1,1
+[0-9a-f]+ <[^>]*> addiu	a0,a1,32768
+[0-9a-f]+ <[^>]*> lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]*> addu	a0,a0,a1
+[0-9a-f]+ <[^>]*> lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]*> addu	a0,a0,a1
+[0-9a-f]+ <[^>]*> lui	a0,%hi\(0x1a000\)
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x5a5
+[0-9a-f]+ <[^>]*> addu	a0,a0,a1
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.data
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.data
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	small_external_data_label
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	small_external_data_label
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_common
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_common
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	small_external_common
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	small_external_common
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.bss
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.bss
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.sbss
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.sbss
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.data\+0x1
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x1
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label\+0x1
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label\+0x1
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	small_external_data_label\+0x1
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	small_external_data_label\+0x1
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_common\+0x1
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_common\+0x1
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	small_external_common\+0x1
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	small_external_common\+0x1
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.bss\+0x1
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x1
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.sbss\+0x1
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.sbss\+0x1
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.data\+0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label\+0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label\+0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	small_external_data_label\+0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	small_external_data_label\+0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_common\+0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_common\+0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	small_external_common\+0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	small_external_common\+0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.bss\+0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.sbss\+0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.sbss\+0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.data-0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.data-0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label-0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label-0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	small_external_data_label-0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	small_external_data_label-0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_common-0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_common-0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	small_external_common-0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	small_external_common-0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.bss-0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.bss-0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.sbss-0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.sbss-0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.data\+0x10000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x10000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label\+0x10000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label\+0x10000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	small_external_data_label\+0x10000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	small_external_data_label\+0x10000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_common\+0x10000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_common\+0x10000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	small_external_common\+0x10000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	small_external_common\+0x10000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.bss\+0x10000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x10000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.sbss\+0x10000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.sbss\+0x10000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.data\+0x1a5a5
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x1a5a5
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	small_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	small_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	small_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	small_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.bss\+0x1a5a5
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x1a5a5
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.sbss\+0x1a5a5
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.sbss\+0x1a5a5
+[0-9a-f]+ <[^>]*> addiu	a0,a1,0
+[0-9a-f]+ <[^>]*> lui	a0,%hi\(0x123000\)
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x456
+[0-9a-f]+ <[^>]*> lui	a0,%hi\(0x123000\)
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x456
+[0-9a-f]+ <[^>]*> addu	a0,a0,a1
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label
+#pass
diff --git a/gas/testsuite/gas/nanomips/[email protected] b/gas/testsuite/gas/nanomips/[email protected]
new file mode 100644
index 00000000000..8b135b38cc1
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/[email protected]
@@ -0,0 +1,176 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: nanoMIPS PC-relative la without li[48]
+#as: -mlegacyregs -mpcrel
+#source: la.s
+
+# Test the la macro PC-relative expansion for NMS.
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]+> 0080 0000 	li	a0,0
+[0-9a-f]+ <[^>]+> 0080 0001 	li	a0,1
+[0-9a-f]+ <[^>]+> 0080 8000 	li	a0,32768
+[0-9a-f]+ <[^>]+> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> e081 0000 	lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> e081 a000 	lui	a0,%hi\(0x1a000\)
+[0-9a-f]+ <[^>]+> 8084 05a5 	ori	a0,a0,0x5a5
+[0-9a-f]+ <[^>]+> 0085 0000 	addiu	a0,a1,0
+[0-9a-f]+ <[^>]+> 0085 0001 	addiu	a0,a1,1
+[0-9a-f]+ <[^>]+> 0085 8000 	addiu	a0,a1,32768
+[0-9a-f]+ <[^>]+> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e081 0000 	lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e081 a000 	lui	a0,%hi\(0x1a000\)
+[0-9a-f]+ <[^>]+> 8084 05a5 	ori	a0,a0,0x5a5
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			44: R_NANOMIPS_PCHI20	data_label
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			48: R_NANOMIPS_LO12	.data
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			4c: R_NANOMIPS_PCHI20	big_external_data_label
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			50: R_NANOMIPS_LO12	big_external_data_label
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			54: R_NANOMIPS_GPREL19_S2	small_external_data_label
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			58: R_NANOMIPS_PCHI20	big_external_common
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			5c: R_NANOMIPS_LO12	big_external_common
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			60: R_NANOMIPS_GPREL19_S2	small_external_common
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			64: R_NANOMIPS_PCHI20	big_local_common
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			68: R_NANOMIPS_LO12	.bss
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			6c: R_NANOMIPS_GPREL19_S2	.sbss
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			70: R_NANOMIPS_PCHI20	data_label\+0x1
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			74: R_NANOMIPS_LO12	.data\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			78: R_NANOMIPS_PCHI20	big_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			7c: R_NANOMIPS_LO12	big_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			80: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			84: R_NANOMIPS_PCHI20	big_external_common\+0x1
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			88: R_NANOMIPS_LO12	big_external_common\+0x1
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			8c: R_NANOMIPS_GPREL19_S2	small_external_common\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			90: R_NANOMIPS_PCHI20	big_local_common\+0x1
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			94: R_NANOMIPS_LO12	.bss\+0x1
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			98: R_NANOMIPS_GPREL19_S2	.sbss\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			9c: R_NANOMIPS_PCHI20	data_label\+0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			a0: R_NANOMIPS_LO12	.data\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			a4: R_NANOMIPS_PCHI20	big_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			a8: R_NANOMIPS_LO12	big_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			ac: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			b0: R_NANOMIPS_PCHI20	big_external_common\+0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			b4: R_NANOMIPS_LO12	big_external_common\+0x8000
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			b8: R_NANOMIPS_GPREL19_S2	small_external_common\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			bc: R_NANOMIPS_PCHI20	big_local_common\+0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			c0: R_NANOMIPS_LO12	.bss\+0x8000
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			c4: R_NANOMIPS_GPREL19_S2	.sbss\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			c8: R_NANOMIPS_PCHI20	data_label-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			cc: R_NANOMIPS_LO12	.data-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			d0: R_NANOMIPS_PCHI20	big_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			d4: R_NANOMIPS_LO12	big_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			d8: R_NANOMIPS_PCHI20	small_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			dc: R_NANOMIPS_LO12	small_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			e0: R_NANOMIPS_PCHI20	big_external_common-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			e4: R_NANOMIPS_LO12	big_external_common-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			e8: R_NANOMIPS_PCHI20	small_external_common-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			ec: R_NANOMIPS_LO12	small_external_common-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			f0: R_NANOMIPS_PCHI20	big_local_common-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			f4: R_NANOMIPS_LO12	.bss-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			f8: R_NANOMIPS_PCHI20	small_local_common-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			fc: R_NANOMIPS_LO12	.sbss-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			100: R_NANOMIPS_PCHI20	data_label\+0x10000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			104: R_NANOMIPS_LO12	.data\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			108: R_NANOMIPS_PCHI20	big_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			10c: R_NANOMIPS_LO12	big_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			110: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			114: R_NANOMIPS_PCHI20	big_external_common\+0x10000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			118: R_NANOMIPS_LO12	big_external_common\+0x10000
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			11c: R_NANOMIPS_GPREL19_S2	small_external_common\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			120: R_NANOMIPS_PCHI20	big_local_common\+0x10000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			124: R_NANOMIPS_LO12	.bss\+0x10000
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			128: R_NANOMIPS_GPREL19_S2	.sbss\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			12c: R_NANOMIPS_PCHI20	data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			130: R_NANOMIPS_LO12	.data\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			134: R_NANOMIPS_PCHI20	big_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			138: R_NANOMIPS_LO12	big_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			13c: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			140: R_NANOMIPS_PCHI20	big_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			144: R_NANOMIPS_LO12	big_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			148: R_NANOMIPS_GPREL19_S2	small_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			14c: R_NANOMIPS_PCHI20	big_local_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			150: R_NANOMIPS_LO12	.bss\+0x1a5a5
+[0-9a-f]+ <[^>]+> 4080 0000 	addiu	a0,gp,0
+			154: R_NANOMIPS_GPREL19_S2	.sbss\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0085 0000 	addiu	a0,a1,0
+[0-9a-f]+ <[^>]+> e092 3000 	lui	a0,%hi\(0x123000\)
+[0-9a-f]+ <[^>]+> 8084 0456 	ori	a0,a0,0x456
+[0-9a-f]+ <[^>]+> e092 3000 	lui	a0,%hi\(0x123000\)
+[0-9a-f]+ <[^>]+> 8084 0456 	ori	a0,a0,0x456
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			170: R_NANOMIPS_PCHI20	big_external_data_label
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			174: R_NANOMIPS_LO12	big_external_data_label
+#pass
diff --git a/gas/testsuite/gas/nanomips/[email protected] b/gas/testsuite/gas/nanomips/[email protected]
new file mode 100644
index 00000000000..afc50521687
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/[email protected]
@@ -0,0 +1,156 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: nanoMIPS subset la pic large memory model
+#as: -mpic -mcmodel=large -G0
+#source: la.s
+
+# Test the la macro with mpic on nanoMIPS subset and large memory model
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]+> 0080 0000 	li	a0,0
+[0-9a-f]+ <[^>]+> 0080 0001 	li	a0,1
+[0-9a-f]+ <[^>]+> 0080 8000 	li	a0,32768
+[0-9a-f]+ <[^>]+> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> e081 0000 	lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> e081 a000 	lui	a0,%hi\(0x1a000\)
+[0-9a-f]+ <[^>]+> 8084 05a5 	ori	a0,a0,0x5a5
+[0-9a-f]+ <[^>]+> 0085 0000 	addiu	a0,a1,0
+[0-9a-f]+ <[^>]+> 0085 0001 	addiu	a0,a1,1
+[0-9a-f]+ <[^>]+> 0085 8000 	addiu	a0,a1,32768
+[0-9a-f]+ <[^>]+> e09f 8ffd 	lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e081 0000 	lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e081 a000 	lui	a0,%hi\(0x1a000\)
+[0-9a-f]+ <[^>]+> 8084 05a5 	ori	a0,a0,0x5a5
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	data_label
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_data_label
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	small_external_data_label
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_common
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	small_external_common
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	big_local_common
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	small_local_common
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x3e8
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	data_label\+0x1
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x1
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	small_external_data_label\+0x1
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_common\+0x1
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	small_external_common\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	big_local_common\+0x1
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x1
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	small_local_common\+0x1
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x3e9
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	data_label\+0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x8000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	small_external_data_label\+0x8000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_common\+0x8000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	small_external_common\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	big_local_common\+0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	small_local_common\+0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x83e8
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	data_label-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data-0x8000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	small_external_data_label-0x8000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_common-0x8000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	small_external_common-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	big_local_common-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss-0x8000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	small_local_common-0x8000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss-0x7c18
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	data_label\+0x10000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x10000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	small_external_data_label\+0x10000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_common\+0x10000
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	small_external_common\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	big_local_common\+0x10000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x10000
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	small_local_common\+0x10000
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x103e8
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x1a5a5
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	small_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	small_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	big_local_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x1a5a5
+[0-9a-f]+ <[^>]+> e080 0002 	aluipc	a0,%pcrel_hi\([0-9a-f]+ <[^>]+>\)
+			[0-9a-f]+: R_NANOMIPS_PCHI20	small_local_common\+0x1a5a5
+[0-9a-f]+ <[^>]+> 0084 0000 	addiu	a0,a0,0
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x1a98d
+[0-9a-f]+ <[^>]+> 0085 0000 	addiu	a0,a1,0
+[0-9a-f]+ <[^>]+> e092 3000 	lui	a0,%hi\(0x123000\)
+[0-9a-f]+ <[^>]+> 8084 0456 	ori	a0,a0,0x456
+[0-9a-f]+ <[^>]+> e092 3000 	lui	a0,%hi\(0x123000\)
+[0-9a-f]+ <[^>]+> 8084 0456 	ori	a0,a0,0x456
+[0-9a-f]+ <[^>]+> 20a4 2150 	addu	a0,a0,a1
+[0-9a-f]+ <[^>]+> 4080 0002 	lw	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_DISP	big_external_data_label
+#pass
diff --git a/gas/testsuite/gas/nanomips/[email protected] b/gas/testsuite/gas/nanomips/[email protected]
new file mode 100644
index 00000000000..e7d64b78ad8
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/[email protected]
@@ -0,0 +1,175 @@
+#objdump: -dr --prefix-addresses
+#name: nanoMIPS la without li[48]
+#as:
+#source: la.s
+
+# Test the la macro.
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <[^>]*> li	a0,0
+[0-9a-f]+ <[^>]*> li	a0,1
+[0-9a-f]+ <[^>]*> li	a0,32768
+[0-9a-f]+ <[^>]*> lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]*> lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]*> lui	a0,%hi\(0x1a000\)
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x5a5
+[0-9a-f]+ <[^>]*> addiu	a0,a1,0
+[0-9a-f]+ <[^>]*> addiu	a0,a1,1
+[0-9a-f]+ <[^>]*> addiu	a0,a1,32768
+[0-9a-f]+ <[^>]*> lui	a0,%hi\(0xffff8000\)
+[0-9a-f]+ <[^>]*> addu	a0,a0,a1
+[0-9a-f]+ <[^>]*> lui	a0,%hi\(0x10000\)
+[0-9a-f]+ <[^>]*> addu	a0,a0,a1
+[0-9a-f]+ <[^>]*> lui	a0,%hi\(0x1a000\)
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x5a5
+[0-9a-f]+ <[^>]*> addu	a0,a0,a1
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.data
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.data
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label
+[0-9a-f]+ <[^>]*> addiu	a0,gp,0
+[ 			]*[0-9a-f]+: R_NANOMIPS_GPREL19_S2	small_external_data_label
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_common
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_common
+[0-9a-f]+ <[^>]*> addiu	a0,gp,0
+[ 			]*[0-9a-f]+: R_NANOMIPS_GPREL19_S2	small_external_common
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.bss
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.bss
+[0-9a-f]+ <[^>]*> addiu	a0,gp,0
+[ 			]*[0-9a-f]+: R_NANOMIPS_GPREL19_S2	\.sbss
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.data\+0x1
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x1
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label\+0x1
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label\+0x1
+[0-9a-f]+ <[^>]*> addiu	a0,gp,0
+[ 			]*[0-9a-f]+: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0x1
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_common\+0x1
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_common\+0x1
+[0-9a-f]+ <[^>]*> addiu	a0,gp,0
+[ 			]*[0-9a-f]+: R_NANOMIPS_GPREL19_S2	small_external_common\+0x1
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.bss\+0x1
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x1
+[0-9a-f]+ <[^>]*> addiu	a0,gp,0
+[ 			]*[0-9a-f]+: R_NANOMIPS_GPREL19_S2	\.sbss\+0x1
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.data\+0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label\+0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label\+0x8000
+[0-9a-f]+ <[^>]*> addiu	a0,gp,0
+[ 			]*[0-9a-f]+: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_common\+0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_common\+0x8000
+[0-9a-f]+ <[^>]*> addiu	a0,gp,0
+[ 			]*[0-9a-f]+: R_NANOMIPS_GPREL19_S2	small_external_common\+0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.bss\+0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x8000
+[0-9a-f]+ <[^>]*> addiu	a0,gp,0
+[ 			]*[0-9a-f]+: R_NANOMIPS_GPREL19_S2	\.sbss\+0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.data-0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.data-0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label-0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label-0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	small_external_data_label-0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	small_external_data_label-0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_common-0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_common-0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	small_external_common-0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	small_external_common-0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.bss-0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.bss-0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.sbss-0x8000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.sbss-0x8000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.data\+0x10000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x10000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label\+0x10000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label\+0x10000
+[0-9a-f]+ <[^>]*> addiu	a0,gp,0
+[ 			]*[0-9a-f]+: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0x10000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_common\+0x10000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_common\+0x10000
+[0-9a-f]+ <[^>]*> addiu	a0,gp,0
+[ 			]*[0-9a-f]+: R_NANOMIPS_GPREL19_S2	small_external_common\+0x10000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.bss\+0x10000
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x10000
+[0-9a-f]+ <[^>]*> addiu	a0,gp,0
+[ 			]*[0-9a-f]+: R_NANOMIPS_GPREL19_S2	\.sbss\+0x10000
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.data\+0x1a5a5
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x1a5a5
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]*> addiu	a0,gp,0
+[ 			]*[0-9a-f]+: R_NANOMIPS_GPREL19_S2	small_external_data_label\+0x1a5a5
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]*> addiu	a0,gp,0
+[ 			]*[0-9a-f]+: R_NANOMIPS_GPREL19_S2	small_external_common\+0x1a5a5
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	\.bss\+0x1a5a5
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x1a5a5
+[0-9a-f]+ <[^>]*> addiu	a0,gp,0
+[ 			]*[0-9a-f]+: R_NANOMIPS_GPREL19_S2	\.sbss\+0x1a5a5
+[0-9a-f]+ <[^>]*> addiu	a0,a1,0
+[0-9a-f]+ <[^>]*> lui	a0,%hi\(0x123000\)
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x456
+[0-9a-f]+ <[^>]*> lui	a0,%hi\(0x123000\)
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x456
+[0-9a-f]+ <[^>]*> addu	a0,a0,a1
+[0-9a-f]+ <[^>]*> lui	a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label
+[0-9a-f]+ <[^>]*> ori	a0,a0,0x0
+[ 			]*[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label
+#pass
diff --git a/gas/testsuite/gas/nanomips/[email protected] b/gas/testsuite/gas/nanomips/[email protected]
new file mode 100644
index 00000000000..872f126fa78
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/[email protected]
@@ -0,0 +1,23 @@
+#objdump: -dr --no-show-raw-insn
+#name: LI float nanoMIPS subset sysVr4 PIC mode w/o float construction
+#as: -mpic --no-construct-floats
+#source: lifloat.s
+
+# Test loading immediate floating point values from memory in PIC (nanoMIPS subset)
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+
+00000000 <foo>:
+   0:	lw	at,0\(gp\)
+			0: R_NANOMIPS_GOT_PAGE	.rodata
+   4:	lw	a0,0\(at\)
+			4: R_NANOMIPS_GOT_OFST	.rodata
+   8:	lw	a1,0\(at\)
+			8: R_NANOMIPS_GOT_OFST	.rodata\+0x4
+   c:	aluipc	a0,%pcrel_hi\(8 <L0\^A>\)
+			c: R_NANOMIPS_PCHI20	L0\^A
+  10:	lw	a0,0\(a0\)
+			10: R_NANOMIPS_LO12	.rodata\+0x8
+#pass
diff --git a/gas/testsuite/gas/nanomips/[email protected] b/gas/testsuite/gas/nanomips/[email protected]
new file mode 100644
index 00000000000..6d84a7b0cd6
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/[email protected]
@@ -0,0 +1,21 @@
+#objdump: -dr --no-show-raw-insn
+#name: LI float nanoMIPS subset sysVr4 PIC mode
+#as: -mpic
+#source: lifloat.s
+
+# Test loading immediate floating point values in PIC (nanoMIPS subset)
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+
+[0-9a-f]+ <foo>:
+   0:	lw	at,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GOT_PAGE	\.rodata
+   4:	lw	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_GOT_OFST	\.rodata
+   8:	lw	a1,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_GOT_OFST	\.rodata\+0x4
+   c:	lui	a0,%hi\(0x3f8fc000\)
+  10:	ori	a0,a0,0xd36
+#pass
diff --git a/gas/testsuite/gas/nanomips/[email protected] b/gas/testsuite/gas/nanomips/[email protected]
new file mode 100644
index 00000000000..ce26dac107c
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/[email protected]
@@ -0,0 +1,10 @@
+.*\.s: Assembler messages:
+.*\.s:10: Warning: frame too small for save/restore register list
+.*\.s:14: Error: non-contiguous save of \$gp is not available for nanoMIPS subset `save 64,\$s0-\$s3,\$gp'
+.*\.s:15: Error: non-contiguous save of \$gp is not available for nanoMIPS subset `save 64,\$a0-\$s0,\$gp'
+.*\.s:16: Error: non-contiguous save of \$gp is not available for nanoMIPS subset `save 128,\$t3,\$s0,\$s1,\$gp'
+.*\.s:19: Error: non-contiguous restore of \$gp is not available for nanoMIPS subset `restore 64,\$s0,\$s1,\$s2,\$s3,\$gp'
+.*\.s:20: Error: non-contiguous restore of \$gp is not available for nanoMIPS subset `restore 64,\$t4,\$t5,\$gp'
+.*\.s:22: Error: non-contiguous restore.jrc of \$gp is not available for nanoMIPS subset `restore.jrc 64,\$s0,\$s1,\$s2,\$s3,\$gp'
+.*\.s:23: Error: non-contiguous restore.jrc of \$gp is not available for nanoMIPS subset `restore.jrc 64,\$t4,\$t5,\$gp'
+.*\.s:24: Error: non-contiguous restore.jrc of \$gp is not available for nanoMIPS subset `restore.jrc 128,\$fp,\$ra,\$s0,\$s1,\$gp'
diff --git a/gas/testsuite/gas/nanomips/[email protected] b/gas/testsuite/gas/nanomips/[email protected]
new file mode 100644
index 00000000000..fd2d5f89af2
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/[email protected]
@@ -0,0 +1,26 @@
+	.text
+	.ent	test
+	.globl	test
+test:
+	/* save[16] */
+	save 	16
+	save 	128
+	save 	240
+
+	save	32,$ra,$s0-$s7
+	save	48,$fp,$ra,$s0-$t8
+
+	/* save[32] */
+	save	64,$s0-$s3,$gp
+	save	64,$a0-$s0,$gp
+	save	128,$t3,$s0,$s1,$gp
+
+	/* restore[32] */
+	restore	64,$s0,$s1,$s2,$s3,$gp
+	restore	64,$t4,$t5,$gp
+
+	restore.jrc	64,$s0,$s1,$s2,$s3,$gp
+	restore.jrc	64,$t4,$t5,$gp
+	restore.jrc	128,$fp,$ra,$s0,$s1,$gp
+
+	.end	test
diff --git a/gas/testsuite/gas/nanomips/nolinkrelax-relocs.d b/gas/testsuite/gas/nanomips/nolinkrelax-relocs.d
new file mode 100644
index 00000000000..33a9c1485f3
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/nolinkrelax-relocs.d
@@ -0,0 +1,14 @@
+#name: No-relax relocations
+#DUMPPROG: readelf
+#readelf: -Wr -A
+#source: linkrelax.s
+
+#...
+Relocation section '.rela?.text' at offset 0x[0-9a-f]+ contains 4 entries:
+ Offset     Info    Type                Sym. Value  Symbol's Name( \+ Addend|)
+00000008  [0-9a-f]+ R_NANOMIPS_PC25_S1     00000030   test2 \+ 0
+00000010  [0-9a-f]+ R_NANOMIPS_PC10_S1     00000030   test2 \+ 0
+00000018  [0-9a-f]+ R_NANOMIPS_PC25_S1     00000030   test2 \+ 0
+00000020  [0-9a-f]+ R_NANOMIPS_PC10_S1     00000030   test2 \+ 0
+
+#...
diff --git a/gas/testsuite/gas/nanomips/nolinkrelax.d b/gas/testsuite/gas/nanomips/nolinkrelax.d
new file mode 100644
index 00000000000..247668eff73
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/nolinkrelax.d
@@ -0,0 +1,17 @@
+#name: No relaxation code dump for nanoMIPS little endian
+#objdump: -sj.text
+#source: linkrelax.s
+#as: -EL
+
+#...
+Contents of section .text:
+ 0000 48000400 008000c0 00280000 008000c0  .*
+ 0010 00180890 43000400 00280000 008000c0  .*
+ 0020 00180890 008000c0 08900890 008000c0  .*
+ 0030 4c900a0a 0a0a0a0a 08900080 00c00080  .*
+ 0040 00c0cdcd cdcdcdcd 008000c0 cdabcdab  .*
+ 0050 008000c0 3412cdab 43000400 0b0b0b0b  .*
+ 0060 08900890 babababa babababa babababa  .*
+ 0070 008000c0 badcbadc badcbadc badcbadc  .*
+ 0080 008000c0 badc2143 badc2143 badc2143  .*
+ 0090 08900890 00c00080 00c00080 00c00080  .*
diff --git a/gas/testsuite/gas/nanomips/rol.d b/gas/testsuite/gas/nanomips/rol.d
new file mode 100644
index 00000000000..06df4a3f012
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/rol.d
@@ -0,0 +1,28 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: hardware rol/ror on nanoMIPS
+#source: rol.s
+
+# Test the rol and ror macros (nanoMIPS).
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+0+0000 <foo> 20a0 09d0 	negu	at,a1
+0+0004 <foo\+0x4> 2024 20d0 	rotrv	a0,a0,at
+0+0008 <foo\+0x8> 20c0 21d0 	negu	a0,a2
+0+000c <foo\+0xc> 2085 20d0 	rotrv	a0,a1,a0
+0+0010 <foo\+0x10> 8084 c0df 	rotr	a0,a0,31
+0+0014 <foo\+0x14> 8085 c0df 	rotr	a0,a1,31
+0+0018 <foo\+0x18> 8085 c0c0 	rotr	a0,a1,0
+0+001c <foo\+0x1c> 20a4 20d0 	rotrv	a0,a0,a1
+0+0020 <foo\+0x20> 20c5 20d0 	rotrv	a0,a1,a2
+0+0024 <foo\+0x24> 8084 c0c1 	rotr	a0,a0,1
+0+0028 <foo\+0x28> 8085 c0c1 	rotr	a0,a1,1
+0+002c <foo\+0x2c> 8085 c0c0 	rotr	a0,a1,0
+0+0030 <foo\+0x30> 8085 c0c0 	rotr	a0,a1,0
+0+0034 <foo\+0x34> 8085 c0df 	rotr	a0,a1,31
+0+0038 <foo\+0x38> 8085 c0c1 	rotr	a0,a1,1
+0+003c <foo\+0x3c> 8085 c0c0 	rotr	a0,a1,0
+0+0040 <foo\+0x40> 8085 c0c1 	rotr	a0,a1,1
+0+0044 <foo\+0x44> 8085 c0df 	rotr	a0,a1,31
+#pass
diff --git a/gas/testsuite/gas/nanomips/rol.s b/gas/testsuite/gas/nanomips/rol.s
new file mode 100644
index 00000000000..6e0ab9e4605
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/rol.s
@@ -0,0 +1,22 @@
+# Source file used to test the rol and ror macros.
+
+foo:
+	rol	$4,$5
+	rol	$4,$5,$6
+	rol	$4,1
+	rol	$4,$5,1
+	rol	$4,$5,0
+
+	ror	$4,$5
+	ror	$4,$5,$6
+	ror	$4,1
+	ror	$4,$5,1
+	ror	$4,$5,0
+
+	rol	$4,$5,32
+	rol	$4,$5,33
+	rol	$4,$5,63
+
+	ror	$4,$5,32
+	ror	$4,$5,33
+	ror	$4,$5,63
diff --git a/gas/testsuite/gas/nanomips/save-error.l b/gas/testsuite/gas/nanomips/save-error.l
new file mode 100644
index 00000000000..ec4edf352aa
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/save-error.l
@@ -0,0 +1,16 @@
+.*\.s: Assembler messages:
+.*\.s:10: Warning: frame too small for save/restore register list
+.*\.s:14: Error: non-contiguous save of \$gp is not available for 16-bit instructions `save16 64,\$s0-\$s3,\$gp'
+.*\.s:26: Error: register list not contiguous between \$fp and \$s0 `save 48,\$fp,\$s0-\$s7'
+.*\.s:27: Error: register list not contiguous between \$s7 and \$t9 `restore.jrc 48,\$fp,\$ra,\$s0-\$s7,\$t9'
+.*\.s:28: Error: register list not contiguous between \$t3 and \$t4 `restore 48,\$t0,\$t1,\$t2,\$t3,\$t4,\$t5'
+.*\.s:29: Error: register range \(\$t0-\$t5\) is not in increasing order `restore 48,\$t0-\$t5'
+.*\.s:31: Error: \$fp must be the first register in the list `save 48,\$ra,\$fp,\$s0-\$s7'
+.*\.s:32: Error: restore\.jrc can handle a maximum of 16 register, 27 requested `restore.jrc 256,\$t4-\$gp'
+.*\.s:33: Error: first register for 16-bit restore.jrc must be \$fp or \$ra `restore16 48,\$s0'
+.*\.s:35: Error: save register list should not contain \$sp `save 128,\$k0-\$sp'
+.*\.s:36: Error: \$fp must be the first register in the list `restore 128,\$s0-\$s7,\$fp,\$ra'
+.*\.s:37: Error: \$ra must be the first register in the list `save 128,\$s0-\$s7,\$ra'
+.*\.s:38: Error: \$ra must be the first register in the list `restore 128,\$s0-\$s7,\$ra,\$fp'
+.*\.s:39: Error: \$fp must be the first register in the list `save 128,\$ra,\$s0-\$s7,\$fp'
+.*\.s:40: Error: \$ra must be followed by \$s0 `restore 128,\$fp,\$ra,\$s1'
diff --git a/gas/testsuite/gas/nanomips/save-error.s b/gas/testsuite/gas/nanomips/save-error.s
new file mode 100644
index 00000000000..556df3fe887
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/save-error.s
@@ -0,0 +1,42 @@
+	.text
+	.ent	test
+	.globl	test
+test:
+	/* save[16] */
+	save 	16
+	save 	128
+	save 	240
+
+	save	32,$ra,$s0-$s7
+	save	48,$fp,$ra,$s0-$t8
+
+	/* save[32] */
+	save16	64,$s0-$s3,$gp
+	save	64,$a0-$s0,$gp
+	save	128,$t3,$s0,$s1,$gp
+
+	/* restore[32] */
+	restore	64,$s0,$s1,$s2,$s3,$gp
+	restore	64,$t4,$t5,$gp
+
+	restore.jrc	64,$s0,$s1,$s2,$s3,$gp
+	restore.jrc	64,$t4,$t5,$gp
+	restore.jrc	128,$fp,$ra,$s0,$s1,$gp
+
+	save	48,$fp,$s0-$s7
+	restore.jrc	48,$fp,$ra,$s0-$s7,$t9
+	restore 48,$t0,$t1,$t2,$t3,$t4,$t5
+	restore 48,$t0-$t5
+
+	save	48,$ra,$fp,$s0-$s7
+	restore.jrc	256,$t4-$gp
+	restore16	48,$s0
+
+	save	128,$k0-$sp
+	restore	128,$s0-$s7,$fp,$ra
+	save	128,$s0-$s7,$ra
+	restore	128,$s0-$s7,$ra,$fp
+	save	128,$ra,$s0-$s7,$fp
+	restore	128,$fp,$ra,$s1
+
+	.end	test
diff --git a/gas/testsuite/gas/nanomips/save-relocs.d b/gas/testsuite/gas/nanomips/save-relocs.d
new file mode 100644
index 00000000000..8dbce9e77f8
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/save-relocs.d
@@ -0,0 +1,22 @@
+#name: SAVE/RESTORE relocations on nanoMIPS
+#DUMPPROG: readelf
+#readelf: -Wr
+#as: --linkrelax -mpic
+#source: save.s
+
+#...
+Relocation section '\.rela\.text' at offset 0x[0-9a-f]+ contains 12 entries:
+ Offset     Info    Type                Sym. Value  Symbol's Name \+ Addend
+00000034  [0-9a-f]+47 R_NANOMIPS_SAVERESTORE 00000000   test \+ 0
+00000038  [0-9a-f]+47 R_NANOMIPS_SAVERESTORE 00000000   test \+ 0
+0000003c  [0-9a-f]+47 R_NANOMIPS_SAVERESTORE 00000000   test \+ 0
+00000040  [0-9a-f]+47 R_NANOMIPS_SAVERESTORE 00000000   test \+ 0
+00000054  [0-9a-f]+47 R_NANOMIPS_SAVERESTORE 00000000   test \+ 0
+00000058  [0-9a-f]+47 R_NANOMIPS_SAVERESTORE 00000000   test \+ 0
+0000005c  [0-9a-f]+47 R_NANOMIPS_SAVERESTORE 00000000   test \+ 0
+00000060  [0-9a-f]+47 R_NANOMIPS_SAVERESTORE 00000000   test \+ 0
+00000078  [0-9a-f]+47 R_NANOMIPS_SAVERESTORE 00000000   test \+ 0
+0000007c  [0-9a-f]+47 R_NANOMIPS_SAVERESTORE 00000000   test \+ 0
+00000080  [0-9a-f]+47 R_NANOMIPS_SAVERESTORE 00000000   test \+ 0
+00000084  [0-9a-f]+47 R_NANOMIPS_SAVERESTORE 00000000   test \+ 0
+#pass
diff --git a/gas/testsuite/gas/nanomips/save.d b/gas/testsuite/gas/nanomips/save.d
new file mode 100644
index 00000000000..c65f0e33272
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/save.d
@@ -0,0 +1,64 @@
+#objdump: -d --prefix-addresses --show-raw-insn
+#name: nanoMIPS save/restore instructions
+
+# Check nanoMIPS save/restore instructions
+
+.*: +file format .*nanomips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <test> 1c10      	save	16
+[0-9a-f]+ <test\+0x[a-f0-9]+> 1c80      	save	128
+[0-9a-f]+ <test\+0x[a-f0-9]+> 1cf0      	save	240
+[0-9a-f]+ <test\+0x[a-f0-9]+> 1e21      	save	32,ra
+[0-9a-f]+ <test\+0x[a-f0-9]+> 1c22      	save	32,fp,ra
+[0-9a-f]+ <test\+0x[a-f0-9]+> 1e22      	save	32,ra,s0
+[0-9a-f]+ <test\+0x[a-f0-9]+> 1e25      	save	32,ra,s0-s3
+[0-9a-f]+ <test\+0x[a-f0-9]+> 1ece      	save	192,ra,s0-k1,gp
+[0-9a-f]+ <test\+0x[a-f0-9]+> 1ccf      	save	192,fp,ra,s0-k1,gp
+[0-9a-f]+ <test\+0x[a-f0-9]+> 1c8f      	save	128,fp,ra,s0-k1,gp
+[0-9a-f]+ <test\+0x[a-f0-9]+> 1d10      	restore.jrc	16
+[0-9a-f]+ <test\+0x[a-f0-9]+> 1d80      	restore.jrc	128
+[0-9a-f]+ <test\+0x[a-f0-9]+> 1df0      	restore.jrc	240
+[0-9a-f]+ <test\+0x[a-f0-9]+> 1f21      	restore.jrc	32,ra
+[0-9a-f]+ <test\+0x[a-f0-9]+> 1d22      	restore.jrc	32,fp,ra
+[0-9a-f]+ <test\+0x[a-f0-9]+> 1f22      	restore.jrc	32,ra,s0
+[0-9a-f]+ <test\+0x[a-f0-9]+> 1f25      	restore.jrc	32,ra,s0-s3
+[0-9a-f]+ <test\+0x[a-f0-9]+> 1fce      	restore.jrc	192,ra,s0-k1,gp
+[0-9a-f]+ <test\+0x[a-f0-9]+> 1dcf      	restore.jrc	192,fp,ra,s0-k1,gp
+[0-9a-f]+ <test\+0x[a-f0-9]+> 1d8f      	restore.jrc	128,fp,ra,s0-k1,gp
+[0-9a-f]+ <test\+0x[a-f0-9]+> 83e1 3028 	save	40,ra
+[0-9a-f]+ <test\+0x[a-f0-9]+> 83c2 3100 	save	256,fp,ra
+[0-9a-f]+ <test\+0x[a-f0-9]+> 83e2 3400 	save	1024,ra,s0
+[0-9a-f]+ <test\+0x[a-f0-9]+> 8002 30a4 	save	160,zero,gp
+[0-9a-f]+ <test\+0x[a-f0-9]+> 8205 3044 	save	64,s0-s3,gp
+[0-9a-f]+ <test\+0x[a-f0-9]+> 808e 3044 	save	64,a0-s0,gp
+[0-9a-f]+ <test\+0x[a-f0-9]+> 81e4 3084 	save	128,t3-s1,gp
+[0-9a-f]+ <test\+0x[a-f0-9]+> 810c 3080 	save	128,a4-s3
+[0-9a-f]+ <test\+0x[a-f0-9]+> 83e1 3032 	restore	48,ra
+[0-9a-f]+ <test\+0x[a-f0-9]+> 83c2 3102 	restore	256,fp,ra
+[0-9a-f]+ <test\+0x[a-f0-9]+> 83e2 3402 	restore	1024,ra,s0
+[0-9a-f]+ <test\+0x[a-f0-9]+> 8002 30a6 	restore	160,zero,gp
+[0-9a-f]+ <test\+0x[a-f0-9]+> 8205 3046 	restore	64,s0-s3,gp
+[0-9a-f]+ <test\+0x[a-f0-9]+> 8043 3046 	restore	64,t4-t5,gp
+[0-9a-f]+ <test\+0x[a-f0-9]+> 83c5 3086 	restore	128,fp,ra,s0-s1,gp
+[0-9a-f]+ <test\+0x[a-f0-9]+> 83cf 307a 	restore	120,fp,ra,s0-k1,gp
+[0-9a-f]+ <test\+0x[a-f0-9]+> 83e1 303b 	restore.jrc	56,ra
+[0-9a-f]+ <test\+0x[a-f0-9]+> 83c2 3103 	restore.jrc	256,fp,ra
+[0-9a-f]+ <test\+0x[a-f0-9]+> 83e2 3403 	restore.jrc	1024,ra,s0
+[0-9a-f]+ <test\+0x[a-f0-9]+> 00a0 00c8 	li	a1,200
+[0-9a-f]+ <test\+0x[a-f0-9]+> 8002 30a7 	restore.jrc	160,zero,gp
+[0-9a-f]+ <test\+0x[a-f0-9]+> 8205 3047 	restore.jrc	64,s0-s3,gp
+[0-9a-f]+ <test\+0x[a-f0-9]+> 8043 3047 	restore.jrc	64,t4-t5,gp
+[0-9a-f]+ <test\+0x[a-f0-9]+> 83c5 3087 	restore.jrc	128,fp,ra,s0-s1,gp
+[0-9a-f]+ <test\+0x[a-f0-9]+> 83cf 307b 	restore.jrc	120,fp,ra,s0-k1,gp
+[0-9a-f]+ <test\+0x[a-f0-9]+> 1d4a      	restore.jrc	64,fp,ra,s0-s7
+[0-9a-f]+ <test\+0x[a-f0-9]+> 1d60      	restore.jrc	96
+[0-9a-f]+ <test\+0x[a-f0-9]+> 8000 3ff3 	restore.jrc	4080
+[0-9a-f]+ <test\+0x[a-f0-9]+> 03bd fff0 	addiu	sp,sp,65520
+[0-9a-f]+ <test\+0x[a-f0-9]+> dbe0      	jrc	ra
+[0-9a-f]+ <test\+0x[a-f0-9]+> 03bd 0800 	addiu	sp,sp,2048
+[0-9a-f]+ <test\+0x[a-f0-9]+> dbe0      	jrc	ra
+[0-9a-f]+ <test\+0x[a-f0-9]+> 6020 fff0 000f 	li	at,0xffff0
+[0-9a-f]+ <test\+0x[a-f0-9]+> 203d e950 	addu	sp,sp,at
+[0-9a-f]+ <test\+0x[a-f0-9]+> dbe0      	jrc	ra
+#pass
diff --git a/gas/testsuite/gas/nanomips/save.s b/gas/testsuite/gas/nanomips/save.s
new file mode 100644
index 00000000000..3b41efc68bb
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/save.s
@@ -0,0 +1,94 @@
+	.text
+	.ent	test
+	.globl	test
+test:
+	/* save[16] */
+	save 	16
+	save 	128
+	save 	240
+
+	save	32,$ra
+	save	32,$fp,$ra
+	save	32,$ra,$s0
+	save	32,$ra,$s0-$s3
+	save	192,$ra,$s0-$gp
+	save	192,$fp,$ra,$s0-$gp
+	save	128,$fp,$ra,$s0-$k1,$gp
+
+	/* restore16.jrc */
+	restore.jrc	16
+	restore.jrc	128
+	restore.jrc	240
+
+	restore.jrc	32,$ra
+	restore.jrc	32,$fp,$ra
+	restore.jrc	32,$ra,$s0
+	restore.jrc	32,$ra,$s0-$s3
+	restore.jrc	192,$ra,$s0-$gp
+	restore.jrc	192,$fp,$ra,$s0-$gp
+	restore.jrc	128,$fp,$ra,$s0-$k1,$gp
+
+
+	/* save[32] */
+	save	40,$ra
+	save	256,$fp,$ra
+	save	1024,$ra,$s0
+	.reloc	1f,R_NANOMIPS_SAVERESTORE,test
+1:
+	save	160,$zero,$gp
+	.reloc	1f,R_NANOMIPS_SAVERESTORE,test
+1:
+	save	64,$s0-$s3,$gp
+	.reloc	1f,R_NANOMIPS_SAVERESTORE,test
+1:
+	save	64,$a0-$s0,$gp
+	.reloc	1f,R_NANOMIPS_SAVERESTORE,test
+1:
+	save	128,$t3,$s0,$s1,$gp
+	save	128,$a4-$t3,$s0-$s3
+
+	/* restore[32] */
+	restore	48,$ra
+	restore	256,$fp,$ra
+	restore	1024,$ra,$s0
+	.reloc	1f,R_NANOMIPS_SAVERESTORE,test
+1:
+	restore	160,$zero,$gp
+	.reloc	1f,R_NANOMIPS_SAVERESTORE,test
+1:
+	restore	64,$s0,$s1,$s2,$s3,$gp
+	.reloc	1f,R_NANOMIPS_SAVERESTORE,test
+1:
+	restore	64,$t4,$t5,$gp
+	.reloc	1f,R_NANOMIPS_SAVERESTORE,test
+1:
+	restore	128,$fp,$ra,$s0,$s1,$gp
+	restore	120,$fp,$ra,$s0-$k1,$gp
+
+	restore.jrc	56,$ra
+	restore.jrc	256,$fp,$ra
+	restore.jrc	1024,$ra,$s0
+
+	li	$a1,200
+	.reloc	1f,R_NANOMIPS_SAVERESTORE,test
+1:
+	restore.jrc	160,$zero,$gp
+	.reloc	1f,R_NANOMIPS_SAVERESTORE,test
+1:
+	restore.jrc	64,$s0,$s1,$s2,$s3,$gp
+	.reloc	1f,R_NANOMIPS_SAVERESTORE,test
+1:
+	restore.jrc	64,$t4,$t5,$gp
+	.reloc	1f,R_NANOMIPS_SAVERESTORE,test
+1:
+	restore.jrc	128,$fp,$ra,$s0,$s1,$gp
+	restore.jrc	120,$fp,$ra,$s0-$k1,$gp
+	restore.jrc	64,$fp,$ra,$s0-$s7
+	jraddiusp 96		# restore.jrc[16]
+	jraddiusp 4080		# restore.jrc[32]
+
+	jraddiusp 65520
+	jraddiusp -2048
+	jraddiusp 1048560
+
+	.end	test
diff --git a/gas/testsuite/gas/nanomips/sb.d b/gas/testsuite/gas/nanomips/sb.d
new file mode 100644
index 00000000000..16abad89641
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/sb.d
@@ -0,0 +1,175 @@
+#objdump: -dr --no-show-raw-insn
+#name: nanoMIPS sb
+
+# Test the sb macro.
+
+.*: +file format .*nanomips.*
+
+Disassembly of section .text:
+
+0+0000 <.text>:
+   [0-9a-f]+:	sb	a0,0\(zero\)
+   [0-9a-f]+:	sb	a0,1\(zero\)
+   [0-9a-f]+:	li	at,32768
+   [0-9a-f]+:	sb	a0,0\(at\)
+  [0-9a-f]+:	lui	at,%hi\(0xffff8000\)
+  [0-9a-f]+:	sb	a0,0\(at\)
+  [0-9a-f]+:	lui	at,%hi\(0x10000\)
+  [0-9a-f]+:	sb	a0,0\(at\)
+  [0-9a-f]+:	lui	at,%hi\(0x1a000\)
+  [0-9a-f]+:	sb	a0,1445\(at\)
+  [0-9a-f]+:	sb	a0,0\(a1\)
+  [0-9a-f]+:	sb	a0,1\(a1\)
+  [0-9a-f]+:	addiu	at,a1,32768
+  [0-9a-f]+:	sb	a0,0\(at\)
+  [0-9a-f]+:	lui	at,%hi\(0xffff8000\)
+  [0-9a-f]+:	addu	at,at,a1
+  [0-9a-f]+:	sb	a0,0\(at\)
+  [0-9a-f]+:	lui	at,%hi\(0x10000\)
+  [0-9a-f]+:	addu	at,at,a1
+  [0-9a-f]+:	sb	a0,0\(at\)
+  [0-9a-f]+:	lui	at,%hi\(0x1a000\)
+  [0-9a-f]+:	addu	at,at,a1
+  [0-9a-f]+:	sb	a0,1445\(at\)
+  [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	\.data
+  [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data
+  [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label
+  [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label
+  [0-9a-f]+:	sb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	small_external_data_label
+  [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	big_external_common
+  [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	big_external_common
+  [0-9a-f]+:	sb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	small_external_common
+  [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	\.bss
+  [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss
+  [0-9a-f]+:	sb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	\.sbss
+  [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	\.data\+0x1
+  [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x1
+  [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label\+0x1
+  [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label\+0x1
+  [0-9a-f]+:	sb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	small_external_data_label\+0x1
+  [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	big_external_common\+0x1
+  [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	big_external_common\+0x1
+  [0-9a-f]+:	sb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	small_external_common\+0x1
+  [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	\.bss\+0x1
+  [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x1
+  [0-9a-f]+:	sb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	\.sbss\+0x1
+  [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	\.data\+0x8000
+  [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x8000
+  [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label\+0x8000
+  [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label\+0x8000
+  [0-9a-f]+:	sb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	small_external_data_label\+0x8000
+  [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	big_external_common\+0x8000
+  [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	big_external_common\+0x8000
+  [0-9a-f]+:	sb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	small_external_common\+0x8000
+  [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	\.bss\+0x8000
+  [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x8000
+  [0-9a-f]+:	sb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	\.sbss\+0x8000
+  [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	\.data-0x8000
+  [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data-0x8000
+  [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label-0x8000
+  [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label-0x8000
+  [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	small_external_data_label-0x8000
+  [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	small_external_data_label-0x8000
+  [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	big_external_common-0x8000
+  [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	big_external_common-0x8000
+  [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	small_external_common-0x8000
+ [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	small_external_common-0x8000
+ [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	\.bss-0x8000
+ [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss-0x8000
+ [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	\.sbss-0x8000
+ [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	\.sbss-0x8000
+ [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	\.data\+0x10000
+ [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x10000
+ [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label\+0x10000
+ [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label\+0x10000
+ [0-9a-f]+:	sb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	small_external_data_label\+0x10000
+ [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	big_external_common\+0x10000
+ [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	big_external_common\+0x10000
+ [0-9a-f]+:	sb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	small_external_common\+0x10000
+ [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	\.bss\+0x10000
+ [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x10000
+ [0-9a-f]+:	sb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	\.sbss\+0x10000
+ [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	\.data\+0x1a5a5
+ [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	\.data\+0x1a5a5
+ [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	big_external_data_label\+0x1a5a5
+ [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	big_external_data_label\+0x1a5a5
+ [0-9a-f]+:	sb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	small_external_data_label\+0x1a5a5
+ [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	big_external_common\+0x1a5a5
+ [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	big_external_common\+0x1a5a5
+ [0-9a-f]+:	sb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	small_external_common\+0x1a5a5
+ [0-9a-f]+:	lui	at,0x0
+			[0-9a-f]+: R_NANOMIPS_HI20	\.bss\+0x1a5a5
+ [0-9a-f]+:	sb	a0,0\(at\)
+			[0-9a-f]+: R_NANOMIPS_LO12	\.bss\+0x1a5a5
+ [0-9a-f]+:	sb	a0,0\(gp\)
+			[0-9a-f]+: R_NANOMIPS_GPREL18	\.sbss\+0x1a5a5
+ [0-9a-f]+:	swm	a0,0\(zero\),2
+ [0-9a-f]+:	sh	a0,0\(zero\)
+ [0-9a-f]+:	sw	a0,0\(zero\)
+#pass
diff --git a/gas/testsuite/gas/nanomips/sb.s b/gas/testsuite/gas/nanomips/sb.s
new file mode 100644
index 00000000000..8c7e8498b45
--- /dev/null
+++ b/gas/testsuite/gas/nanomips/sb.s
@@ -0,0 +1,71 @@
+# Source file used to test the sb macro.
+	
+	.data
+data_label:
+	.extern big_external_data_label,1000
+	.extern small_external_data_label,1
+	.comm big_external_common,1000
+	.comm small_external_common,1
+	.lcomm big_local_common,1000
+	.lcomm small_local_common,1
+	
+	.text
+	sb	$4,0
+	sb	$4,1
+	sb	$4,0x8000
+	sb	$4,-0x8000
+	sb	$4,0x10000
+	sb	$4,0x1a5a5
+	sb	$4,0($5)
+	sb	$4,1($5)
+	sb	$4,0x8000($5)
+	sb	$4,-0x8000($5)
+	sb	$4,0x10000($5)
+	sb	$4,0x1a5a5($5)
+	sb	$4,data_label
+	sb	$4,big_external_data_label
+	sb	$4,small_external_data_label
+	sb	$4,big_external_common
+	sb	$4,small_external_common
+	sb	$4,big_local_common
+	sb	$4,small_local_common
+	sb	$4,data_label+1
+	sb	$4,big_external_data_label+1
+	sb	$4,small_external_data_label+1
+	sb	$4,big_external_common+1
+	sb	$4,small_external_common+1
+	sb	$4,big_local_common+1
+	sb	$4,small_local_common+1
+	sb	$4,data_label+0x8000
+	sb	$4,big_external_data_label+0x8000
+	sb	$4,small_external_data_label+0x8000
+	sb	$4,big_external_common+0x8000
+	sb	$4,small_external_common+0x8000
+	sb	$4,big_local_common+0x8000
+	sb	$4,small_local_common+0x8000
+	sb	$4,data_label-0x8000
+	sb	$4,big_external_data_label-0x8000
+	sb	$4,small_external_data_label-0x8000
+	sb	$4,big_external_common-0x8000
+	sb	$4,small_external_common-0x8000
+	sb	$4,big_local_common-0x8000
+	sb	$4,small_local_common-0x8000
+	sb	$4,data_label+0x10000
+	sb	$4,big_external_data_label+0x10000
+	sb	$4,small_external_data_label+0x10000
+	sb	$4,big_external_common+0x10000
+	sb	$4,small_external_common+0x10000
+	sb	$4,big_local_common+0x10000
+	sb	$4,small_local_common+0x10000
+	sb	$4,data_label+0x1a5a5
+	sb	$4,big_external_data_label+0x1a5a5
+	sb	$4,small_external_data_label+0x1a5a5
+	sb	$4,big_external_common+0x1a5a5
+	sb	$4,small_external_common+0x1a5a5
+	sb	$4,big_local_common+0x1a5a5
+	sb	$4,small_local_common+0x1a5a5
+	
+# Several macros are handled like sb.  Sanity check them.
+	sd	$4,0
+	sh	$4,0
+	sw	$4,0
-- 
2.39.5