[MIPS] Map 'move' to 'or'.
authorSimon Dardis <simon.dardis@imgtec.com>
Wed, 12 Aug 2015 16:06:35 +0000 (17:06 +0100)
committerRobert Suchanek <robert.suchanek@imgtec.com>
Wed, 12 Aug 2015 16:10:22 +0000 (17:10 +0100)
The MIPS assembly idiom 'move' now maps to the 'or' machine instruction. This
change affects microMIPS, MIPS32, MIPS64.

2015-08-12  Simon Dardis  <simon.dardis@imgtec.com>

opcodes/

* micromips-opc.c (micromips_opcodes): Re-order table so that move
based on 'or' is first.
* mips-opc.c (mips_builtin_opcodes): Ditto.

bfd/

* elfxx-mips.c (STUB_MOVE): Change to use 'or' only.
(mips_o32_exec_plt0_entry, mips_n32_exec_plt0_entry,
mips_n64_exec_plt0_entry, micromips_insn32_o32_exec_plt0_entry):
Update to use 'or' instead of 'addu/daddu'.
(_bfd_mips_elf_finish_dynamic_symbol): Update usage of STUB_MOVE.
(move_insns_32): Reorder table.

gas/

* config/tc-mips.c (move_register): Change to use 'or' only.
(s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Update to
use or for move.

gas/testsuite/

* gas/mips/elf-rel23.d: Update test.
* gas/mips/elf-rel23.d: Ditto.
* gas/mips/elf-rel23a.d: Ditto.
* gas/mips/elf-rel23b.d: Ditto.
* gas/mips/elf_e_flags1.d: Ditto.
* gas/mips/elf_e_flags2.d: Ditto.
* gas/mips/elf_e_flags3.d: Ditto.
* gas/mips/elf_e_flags4.d: Ditto.
* gas/mips/loc-swap-dis.d: Ditto.
* gas/mips/micromips-insn32.d: Ditto.
* gas/mips/micromips-noinsn32.d: Ditto.
* gas/mips/micromips-trap.d: Ditto.
* gas/mips/micromips.d: Ditto.
* gas/mips/mips-abi32-pic.d: Ditto.
* gas/mips/mips-abi32.d: Ditto.
* gas/mips/mips-gp32-fp32-pic.d: Ditto.
* gas/mips/mips-gp32-fp32.d: Ditto.
* gas/mips/mips-gp32-fp64-pic.d: Ditto.
* gas/mips/mips-gp32-fp64.d: Ditto.
* gas/mips/mips-gp64-fp32-pic.d: Ditto.
* gas/mips/mips-gp64-fp32.d: Ditto.
* gas/mips/mips-gp64-fp64-pic.d: Ditto.
* gas/mips/mips-gp64-fp64.d: Ditto.
* gas/mips/mipsr6@loc-swap-dis.d: Ditto.
* gas/mips/tls-o32.d: Ditto.
* gas/mips/uld2-eb.d: Ditto.
* gas/mips/uld2-el.d: Ditto.
* gas/mips/ulw2-eb-ilocks.d: Ditto.
* gas/mips/ulw2-eb.d: Ditto.
* gas/mips/ulw2-el-ilocks.d: Ditto.
* gas/mips/ulw2-el.d: Ditto.
* gas/mips/move.d: New test.
* gas/mips/move.s: Ditto.
* gas/mips/micromips32-move.d: Ditto.
* gas/mips/micromips32-move.s: Ditto.
* gas/mips/mips.exp: Run the new tests.

gold/

* mips.cc (plt0_entry_o32, plt0_entry_n32, plt0_entry_n64,
lazy_stub_normal_1, lazy_stub_normal_1_n64,
lazy_stub_normal_2, lazy_stub_normal_2_n64, lazy_stub_big,
lazy_stub_big_n64, lazy_stub_micromips32_normal_1_n64,
lazy_stub_micromips32_normal_2_n64, lazy_stub_micromips32_big,
lazy_stub_micromips32_big_n64): Update to use 'or' for move instead
of 'addu/daddu'.

ld/testsuite/

* ld-mips-elf/compressed-plt-1-n32-mips16.od: Update test.
* ld-mips-elf/compressed-plt-1-n32-umips.od: Ditto.
* ld-mips-elf/compressed-plt-1-o32-mips16-got.od: Ditto.
* ld-mips-elf/compressed-plt-1-o32-mips16-only.od: Ditto.
* ld-mips-elf/compressed-plt-1-o32-mips16-word.od: Ditto.
* ld-mips-elf/compressed-plt-1-o32-mips16.od: Ditto.
* ld-mips-elf/compressed-plt-1-o32-se.od: Ditto.
* ld-mips-elf/compressed-plt-1-o32-umips-got.od: Ditto.
* ld-mips-elf/compressed-plt-1-o32-umips-word.od: Ditto.
* ld-mips-elf/compressed-plt-1-o32-umips.od: Ditto.
* ld-mips-elf/jalx-2.dd: Ditto.
* ld-mips-elf/mips16-pic-3.dd: Ditto.
* ld-mips-elf/pic-and-nonpic-3a.dd: Ditto.
* ld-mips-elf/pic-and-nonpic-3b.dd: Ditto.
* ld-mips-elf/pic-and-nonpic-5b.dd: Ditto.
* ld-mips-elf/pic-and-nonpic-6-n32.dd: Ditto.
* ld-mips-elf/pic-and-nonpic-6-o32.dd: Ditto.
* ld-mips-elf/stub-dynsym-1-10000.d: Ditto.
* ld-mips-elf/stub-dynsym-1-2fe80.d: Ditto.
* ld-mips-elf/stub-dynsym-1-7fff.d: Ditto.
* ld-mips-elf/stub-dynsym-1-8000.d: Ditto.
* ld-mips-elf/stub-dynsym-1-fff0.d: Ditto.
* ld-mips-elf/tlsbin-o32.d: Ditto.
* ld-mips-elf/tlsdyn-o32-1.d: Ditto.
* ld-mips-elf/tlsdyn-o32-2.d: Ditto.
* ld-mips-elf/tlsdyn-o32-3.d: Ditto.
* ld-mips-elf/tlsdyn-o32.d: Ditto.
* ld-mips-elf/tlslib-o32.d: Ditto.

75 files changed:
bfd/ChangeLog
bfd/elfxx-mips.c
gas/ChangeLog
gas/config/tc-mips.c
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/elf-rel23.d
gas/testsuite/gas/mips/elf-rel23a.d
gas/testsuite/gas/mips/elf-rel23b.d
gas/testsuite/gas/mips/elf_e_flags1.d
gas/testsuite/gas/mips/elf_e_flags2.d
gas/testsuite/gas/mips/elf_e_flags3.d
gas/testsuite/gas/mips/elf_e_flags4.d
gas/testsuite/gas/mips/loc-swap-dis.d
gas/testsuite/gas/mips/micromips-insn32.d
gas/testsuite/gas/mips/micromips-noinsn32.d
gas/testsuite/gas/mips/micromips-trap.d
gas/testsuite/gas/mips/micromips.d
gas/testsuite/gas/mips/micromips32-move.d [new file with mode: 0644]
gas/testsuite/gas/mips/micromips32-move.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips-abi32-pic.d
gas/testsuite/gas/mips/mips-abi32.d
gas/testsuite/gas/mips/mips-gp32-fp32-pic.d
gas/testsuite/gas/mips/mips-gp32-fp32.d
gas/testsuite/gas/mips/mips-gp32-fp64-pic.d
gas/testsuite/gas/mips/mips-gp32-fp64.d
gas/testsuite/gas/mips/mips-gp64-fp32-pic.d
gas/testsuite/gas/mips/mips-gp64-fp32.d
gas/testsuite/gas/mips/mips-gp64-fp64-pic.d
gas/testsuite/gas/mips/mips-gp64-fp64.d
gas/testsuite/gas/mips/mips.exp
gas/testsuite/gas/mips/mipsr6@loc-swap-dis.d
gas/testsuite/gas/mips/move.d [new file with mode: 0644]
gas/testsuite/gas/mips/move.s [new file with mode: 0644]
gas/testsuite/gas/mips/tls-o32.d
gas/testsuite/gas/mips/uld2-eb.d
gas/testsuite/gas/mips/uld2-el.d
gas/testsuite/gas/mips/ulw2-eb-ilocks.d
gas/testsuite/gas/mips/ulw2-eb.d
gas/testsuite/gas/mips/ulw2-el-ilocks.d
gas/testsuite/gas/mips/ulw2-el.d
gold/ChangeLog
gold/mips.cc
ld/testsuite/ChangeLog
ld/testsuite/ld-mips-elf/compressed-plt-1-n32-mips16.od
ld/testsuite/ld-mips-elf/compressed-plt-1-n32-umips.od
ld/testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-got.od
ld/testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-only.od
ld/testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-word.od
ld/testsuite/ld-mips-elf/compressed-plt-1-o32-mips16.od
ld/testsuite/ld-mips-elf/compressed-plt-1-o32-se.od
ld/testsuite/ld-mips-elf/compressed-plt-1-o32-umips-got.od
ld/testsuite/ld-mips-elf/compressed-plt-1-o32-umips-word.od
ld/testsuite/ld-mips-elf/compressed-plt-1-o32-umips.od
ld/testsuite/ld-mips-elf/jalx-2.dd
ld/testsuite/ld-mips-elf/mips16-pic-3.dd
ld/testsuite/ld-mips-elf/pic-and-nonpic-3a.dd
ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.dd
ld/testsuite/ld-mips-elf/pic-and-nonpic-5b.dd
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32.dd
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64.dd
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32.dd
ld/testsuite/ld-mips-elf/stub-dynsym-1-10000.d
ld/testsuite/ld-mips-elf/stub-dynsym-1-2fe80.d
ld/testsuite/ld-mips-elf/stub-dynsym-1-7fff.d
ld/testsuite/ld-mips-elf/stub-dynsym-1-8000.d
ld/testsuite/ld-mips-elf/stub-dynsym-1-fff0.d
ld/testsuite/ld-mips-elf/tlsbin-o32.d
ld/testsuite/ld-mips-elf/tlsdyn-o32-1.d
ld/testsuite/ld-mips-elf/tlsdyn-o32-2.d
ld/testsuite/ld-mips-elf/tlsdyn-o32-3.d
ld/testsuite/ld-mips-elf/tlsdyn-o32.d
ld/testsuite/ld-mips-elf/tlslib-o32.d
opcodes/ChangeLog
opcodes/micromips-opc.c
opcodes/mips-opc.c

index 2f850e7d0d5a8f38bdb2822024bb2e334d85f5fe..e56176444660ac5ba4b78e7fd559786b543905ec 100644 (file)
@@ -1,3 +1,12 @@
+2015-08-12  Simon Dardis  <simon.dardis@imgtec.com>
+
+       * elfxx-mips.c (STUB_MOVE): Change to use 'or' only.
+       (mips_o32_exec_plt0_entry, mips_n32_exec_plt0_entry,
+       mips_n64_exec_plt0_entry, micromips_insn32_o32_exec_plt0_entry):
+       Update to use 'or' instead of 'addu/daddu'.
+       (_bfd_mips_elf_finish_dynamic_symbol): Update usage of STUB_MOVE.
+       (move_insns_32): Reorder table.
+
 2015-08-11  H.J. Lu  <hongjiu.lu@intel.com>
 
        * elf32-i386.c (elf_i386_relocate_section): Properly skip IFUNC
index 06e815823da7622ef39c6fb06053d2429e95ec5c..eb7593ac73cd571ec8f94eb2351d672e98bdf791 100644 (file)
@@ -911,10 +911,7 @@ static bfd *reldyn_sorting_bfd;
   ((ABI_64_P (abfd)                                                    \
     ? 0xdf998010                               /* ld t9,0x8010(gp) */  \
     : 0x8f998010))                             /* lw t9,0x8010(gp) */
-#define STUB_MOVE(abfd)                                                        \
-   ((ABI_64_P (abfd)                                                   \
-     ? 0x03e0782d                              /* daddu t7,ra */       \
-     : 0x03e07821))                            /* addu t7,ra */
+#define STUB_MOVE 0x03e07825                   /* or t7,ra,zero */
 #define STUB_LUI(VAL) (0x3c180000 + (VAL))     /* lui t8,VAL */
 #define STUB_JALR 0x0320f809                   /* jalr t9,ra */
 #define STUB_ORI(VAL) (0x37180000 + (VAL))     /* ori t8,t8,VAL */
@@ -930,10 +927,7 @@ static bfd *reldyn_sorting_bfd;
    ? 0xdf3c8010                                        /* ld t9,0x8010(gp) */  \
    : 0xff3c8010)                               /* lw t9,0x8010(gp) */
 #define STUB_MOVE_MICROMIPS 0x0dff             /* move t7,ra */
-#define STUB_MOVE32_MICROMIPS(abfd)                                    \
-   (ABI_64_P (abfd)                                                    \
-    ? 0x581f7950                               /* daddu t7,ra,zero */  \
-    : 0x001f7950)                              /* addu t7,ra,zero */
+#define STUB_MOVE32_MICROMIPS 0x001f7a90       /* or t7,ra,zero */
 #define STUB_LUI_MICROMIPS(VAL)                                                \
    (0x41b80000 + (VAL))                                /* lui t8,VAL */
 #define STUB_JALR_MICROMIPS 0x45d9             /* jalr t9 */
@@ -1030,7 +1024,7 @@ static const bfd_vma mips_o32_exec_plt0_entry[] =
   0x8f990000,  /* lw $25, %lo(&GOTPLT[0])($28)                         */
   0x279c0000,  /* addiu $28, $28, %lo(&GOTPLT[0])                      */
   0x031cc023,  /* subu $24, $24, $28                                   */
-  0x03e07821,  /* move $15, $31        # 32-bit move (addu)            */
+  0x03e07825,  /* or t7, ra, zero                                      */
   0x0018c082,  /* srl $24, $24, 2                                      */
   0x0320f809,  /* jalr $25                                             */
   0x2718fffe   /* subu $24, $24, 2                                     */
@@ -1044,7 +1038,7 @@ static const bfd_vma mips_n32_exec_plt0_entry[] =
   0x8dd90000,  /* lw $25, %lo(&GOTPLT[0])($14)                         */
   0x25ce0000,  /* addiu $14, $14, %lo(&GOTPLT[0])                      */
   0x030ec023,  /* subu $24, $24, $14                                   */
-  0x03e07821,  /* move $15, $31        # 32-bit move (addu)            */
+  0x03e07825,  /* or t7, ra, zero                                      */
   0x0018c082,  /* srl $24, $24, 2                                      */
   0x0320f809,  /* jalr $25                                             */
   0x2718fffe   /* subu $24, $24, 2                                     */
@@ -1058,7 +1052,7 @@ static const bfd_vma mips_n64_exec_plt0_entry[] =
   0xddd90000,  /* ld $25, %lo(&GOTPLT[0])($14)                         */
   0x25ce0000,  /* addiu $14, $14, %lo(&GOTPLT[0])                      */
   0x030ec023,  /* subu $24, $24, $14                                   */
-  0x03e0782d,  /* move $15, $31        # 64-bit move (daddu)           */
+  0x03e07825,  /* or t7, ra, zero                                      */
   0x0018c0c2,  /* srl $24, $24, 3                                      */
   0x0320f809,  /* jalr $25                                             */
   0x2718fffe   /* subu $24, $24, 2                                     */
@@ -1091,7 +1085,7 @@ static const bfd_vma micromips_insn32_o32_exec_plt0_entry[] =
   0xff3c, 0x0000,      /* lw $25, %lo(&GOTPLT[0])($28)                 */
   0x339c, 0x0000,      /* addiu $28, $28, %lo(&GOTPLT[0])              */
   0x0398, 0xc1d0,      /* subu $24, $24, $28                           */
-  0x001f, 0x7950,      /* move $15, $31                                */
+  0x001f, 0x7a90,      /* or $15, $31, zero                            */
   0x0318, 0x1040,      /* srl $24, $24, 2                              */
   0x03f9, 0x0f3c,      /* jalr $25                                     */
   0x3318, 0xfffe       /* subu $24, $24, 2                             */
@@ -10714,8 +10708,7 @@ _bfd_mips_elf_finish_dynamic_symbol (bfd *output_bfd,
          if (htab->insn32)
            {
              bfd_put_micromips_32 (output_bfd,
-                                   STUB_MOVE32_MICROMIPS (output_bfd),
-                                   stub + idx);
+                                   STUB_MOVE32_MICROMIPS, stub + idx);
              idx += 4;
            }
          else
@@ -10765,7 +10758,7 @@ _bfd_mips_elf_finish_dynamic_symbol (bfd *output_bfd,
          idx = 0;
          bfd_put_32 (output_bfd, STUB_LW (output_bfd), stub + idx);
          idx += 4;
-         bfd_put_32 (output_bfd, STUB_MOVE (output_bfd), stub + idx);
+         bfd_put_32 (output_bfd, STUB_MOVE, stub + idx);
          idx += 4;
          if (stub_size == stub_big_size)
            {
@@ -13224,8 +13217,8 @@ static const struct opcode_descriptor addiupc_insn =
 #define MOVE16_RS_FIELD(r) (((r) & 0x1f)     )
 
 static const struct opcode_descriptor move_insns_32[] = {
-  { /* "move", "d,s",          */ 0x00000150, 0xffe007ff }, /* addu d,s,$0 */
   { /* "move", "d,s",          */ 0x00000290, 0xffe007ff }, /* or   d,s,$0 */
+  { /* "move", "d,s",          */ 0x00000150, 0xffe007ff }, /* addu d,s,$0 */
   { 0, 0 }  /* End marker for find_match().  */
 };
 
index e483f4f945696d8ba9a976ae21dd21740d929f5e..aea5508bddc51cd44374bb574acc351632dec657 100644 (file)
@@ -1,3 +1,9 @@
+2015-08-12  Simon Dardis  <simon.dardis@imgtec.com>
+
+       * config/tc-mips.c (move_register): Change to use 'or' only.
+       (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Update to
+       use or for move.
+
 2015-08-11  Jiong Wang  <jiong.wang@arm.com>
 
        * config/tc-aarch64.c (reloc_table): New relocation modifiers
index ecff88b6e4b01a9c6910bf7a3e196335993aef02..74b7fb40ad553e0ac4c9e181f901eb91a951c565 100644 (file)
@@ -9325,8 +9325,7 @@ move_register (int dest, int source)
       && !(history[0].insn_mo->pinfo2 & INSN2_BRANCH_DELAY_32BIT))
     macro_build (NULL, "move", "mp,mj", dest, source);
   else
-    macro_build (NULL, GPR_SIZE == 32 ? "addu" : "daddu", "d,v,t",
-                dest, source, 0);
+    macro_build (NULL, "or", "d,v,t", dest, source, 0);
 }
 
 /* Emit an SVR4 PIC sequence to load address LOCAL into DEST, where
@@ -15886,7 +15885,7 @@ s_cpload (int ignore ATTRIBUTE_UNUSED)
      daddu     $gp, $gp, $reg1
 
    If $reg2 is given, this results in:
-     daddu     $reg2, $gp, $0
+     or                $reg2, $gp, $0
      lui       $gp, %hi(%neg(%gp_rel(label)))
      addiu     $gp, $gp, %lo(%neg(%gp_rel(label)))
      daddu     $gp, $gp, $reg1
@@ -15966,8 +15965,7 @@ s_cpsetup (int ignore ATTRIBUTE_UNUSED)
                   BFD_RELOC_LO16, SP);
     }
   else
-    macro_build (NULL, "daddu", "d,v,t", mips_cpreturn_register,
-                mips_gp_register, 0);
+    move_register (mips_cpreturn_register, mips_gp_register);
 
   if (mips_in_shared || HAVE_64BIT_SYMBOLS)
     {
@@ -16080,7 +16078,7 @@ s_cprestore (int ignore ATTRIBUTE_UNUSED)
      ld                $gp, offset($sp)
 
    If a register $reg2 was given there, it results in:
-     daddu     $gp, $reg2, $0  */
+     or                $gp, $reg2, $0  */
 
 static void
 s_cpreturn (int ignore ATTRIBUTE_UNUSED)
@@ -16118,8 +16116,8 @@ s_cpreturn (int ignore ATTRIBUTE_UNUSED)
       macro_build (&ex, "ld", "t,o(b)", mips_gp_register, BFD_RELOC_LO16, SP);
     }
   else
-    macro_build (NULL, "daddu", "d,v,t", mips_gp_register,
-                mips_cpreturn_register, 0);
+    move_register (mips_gp_register, mips_cpreturn_register);
+
   macro_end ();
 
   mips_assembling_insn = FALSE;
index 958bf710b39682e5b72e1d730bd3002637046f09..f8ea3a24fcf25ada16f4810bba4b4451f692aae6 100644 (file)
@@ -1,3 +1,42 @@
+2015-08-12  Simon Dardis  <simon.dardis@imgtec.com>
+
+       * gas/mips/elf-rel23.d: Update test.
+       * gas/mips/elf-rel23.d: Ditto.
+       * gas/mips/elf-rel23a.d: Ditto.
+       * gas/mips/elf-rel23b.d: Ditto.
+       * gas/mips/elf_e_flags1.d: Ditto.
+       * gas/mips/elf_e_flags2.d: Ditto.
+       * gas/mips/elf_e_flags3.d: Ditto.
+       * gas/mips/elf_e_flags4.d: Ditto.
+       * gas/mips/loc-swap-dis.d: Ditto.
+       * gas/mips/micromips-insn32.d: Ditto.
+       * gas/mips/micromips-noinsn32.d: Ditto.
+       * gas/mips/micromips-trap.d: Ditto.
+       * gas/mips/micromips.d: Ditto.
+       * gas/mips/mips-abi32-pic.d: Ditto.
+       * gas/mips/mips-abi32.d: Ditto.
+       * gas/mips/mips-gp32-fp32-pic.d: Ditto.
+       * gas/mips/mips-gp32-fp32.d: Ditto.
+       * gas/mips/mips-gp32-fp64-pic.d: Ditto.
+       * gas/mips/mips-gp32-fp64.d: Ditto.
+       * gas/mips/mips-gp64-fp32-pic.d: Ditto.
+       * gas/mips/mips-gp64-fp32.d: Ditto.
+       * gas/mips/mips-gp64-fp64-pic.d: Ditto.
+       * gas/mips/mips-gp64-fp64.d: Ditto.
+       * gas/mips/mipsr6@loc-swap-dis.d: Ditto.
+       * gas/mips/tls-o32.d: Ditto.
+       * gas/mips/uld2-eb.d: Ditto.
+       * gas/mips/uld2-el.d: Ditto.
+       * gas/mips/ulw2-eb-ilocks.d: Ditto.
+       * gas/mips/ulw2-eb.d: Ditto.
+       * gas/mips/ulw2-el-ilocks.d: Ditto.
+       * gas/mips/ulw2-el.d: Ditto.
+       * gas/mips/move.d: New test.
+       * gas/mips/move.s: Ditto.
+       * gas/mips/micromips32-move.d: Ditto.
+       * gas/mips/micromips32-move.s: Ditto.
+       * gas/mips/mips.exp: Run the new tests.
+
 2015-08-11  Jiong Wang  <jiong.wang@arm.com>
 
        * gas/aarch64/reloc-dtprel_lo12-1.s: New testcase.
index 10b53ac37945cbd22eb0eb8096a20b62d484def4..85cca8b40b29558ce8f9ffbce5b6c30e91320d59 100644 (file)
@@ -7,7 +7,7 @@
 Disassembly of section \.text:
 
 0+00 <.*>:
-.*:    0380282d        move    \$5,\$28
+.*:    03802825        move    \$5,\$28
 .*:    3c1c0000        lui     \$28,0x0
                        .*: R_MIPS_GPREL16      foo
                        .*: R_MIPS_SUB  \*ABS\*
index fb8737b5de46e00be2ea25eea9504a7396bc26e9..a3569e9d4e1904a5af925dadfa1a6d812d0b9d73 100644 (file)
@@ -8,7 +8,7 @@
 Disassembly of section \.text:
 
 0+00 <.*>:
-.*:    0380282d        move    \$5,\$28
+.*:    03802825        move    \$5,\$28
 .*:    3c1c0000        lui     \$28,0x0
                        .*: R_MIPS_GPREL16      foo
                        .*: R_MIPS_SUB  \*ABS\*
index 88c98972c626f434ea1599d4a598a5caefbc9829..db9ba8a37631129991b7acda6e6649af7f41245c 100644 (file)
@@ -8,7 +8,7 @@
 Disassembly of section \.text:
 
 0+00 <.*>:
-.*:    0380282d        move    \$5,\$28
+.*:    03802825        move    \$5,\$28
 .*:    3c1c0000        lui     \$28,0x0
                        .*: R_MIPS_HI16 __gnu_local_gp
 .*:    279c0000        addiu   \$28,\$28,0
index cc5af56cbbe1f05e65e3348c2e297b55cd566a2c..71eb5361fdca7e630bcdde6a7814be591dc7e1ed 100644 (file)
@@ -21,7 +21,7 @@ Disassembly of section .text:
   14:  afbf0020        sw      ra,32\(sp\)
   18:  0c000000        jal     0 <foo>
   1c:  00000000        nop
-  20:  0000102[1d]     move    v0,zero
+  20:  00001025        move    v0,zero
   24:  8fbf0020        lw      ra,32\(sp\)
   28:  00000000        nop
   2c:  03e00008        jr      ra
index fceb547ea2403767c29388e34fca97eca9913dca..c207e73309e62875ad217e239c820ed924271ac9 100644 (file)
@@ -20,7 +20,7 @@ Disassembly of section .text:
   10:  afbf0020        sw      ra,32\(sp\)
   14:  0c000000        jal     0 <foo>
   18:  00000000        nop
-  1c:  0000102[1d]     move    v0,zero
+  1c:  00001025        move    v0,zero
   20:  8fbf0020        lw      ra,32\(sp\)
   24:  00000000        nop
   28:  03e00008        jr      ra
index 4a72d98770da2c26f367d7c4c4fd465290d80e70..bff23549e29a01349c99fd0fc853c63d4b7ccbd8 100644 (file)
@@ -20,7 +20,7 @@ Disassembly of section .text:
   10:  afbf0020        sw      ra,32\(sp\)
   14:  0c000000        jal     0 <foo>
   18:  00000000        nop
-  1c:  0000102[1d]     move    v0,zero
+  1c:  00001025        move    v0,zero
   20:  8fbf0020        lw      ra,32\(sp\)
   24:  00000000        nop
   28:  03e00008        jr      ra
index 4a72d98770da2c26f367d7c4c4fd465290d80e70..bff23549e29a01349c99fd0fc853c63d4b7ccbd8 100644 (file)
@@ -20,7 +20,7 @@ Disassembly of section .text:
   10:  afbf0020        sw      ra,32\(sp\)
   14:  0c000000        jal     0 <foo>
   18:  00000000        nop
-  1c:  0000102[1d]     move    v0,zero
+  1c:  00001025        move    v0,zero
   20:  8fbf0020        lw      ra,32\(sp\)
   24:  00000000        nop
   28:  03e00008        jr      ra
index c4601b9649a670836e69aeb2fec6ac80a6c54174..1137d5314a9f4cb4b267cb6aa94d955095bd4b3b 100644 (file)
@@ -8,26 +8,26 @@
 .*: +file format .*mips.*
 
 Disassembly of section \.text:
-[0-9a-f]+ <[^>]*> 02002021     move    a0,s0
+[0-9a-f]+ <[^>]*> 02002025     move    a0,s0
 [0-9a-f]+ <[^>]*> 00800008     jr      a0
 [0-9a-f]+ <[^>]*> 00000000     nop
 [0-9a-f]+ <[^>]*> 00800008     jr      a0
-[0-9a-f]+ <[^>]*> 0200f821     move    ra,s0
+[0-9a-f]+ <[^>]*> 0200f825     move    ra,s0
 [0-9a-f]+ <[^>]*> 03e00008     jr      ra
-[0-9a-f]+ <[^>]*> 02002021     move    a0,s0
-[0-9a-f]+ <[^>]*> 0200f821     move    ra,s0
+[0-9a-f]+ <[^>]*> 02002025     move    a0,s0
+[0-9a-f]+ <[^>]*> 0200f825     move    ra,s0
 [0-9a-f]+ <[^>]*> 03e00008     jr      ra
 [0-9a-f]+ <[^>]*> 00000000     nop
-[0-9a-f]+ <[^>]*> 02002021     move    a0,s0
+[0-9a-f]+ <[^>]*> 02002025     move    a0,s0
 [0-9a-f]+ <[^>]*> 0080f809     jalr    a0
 [0-9a-f]+ <[^>]*> 00000000     nop
-[0-9a-f]+ <[^>]*> 0200f821     move    ra,s0
+[0-9a-f]+ <[^>]*> 0200f825     move    ra,s0
 [0-9a-f]+ <[^>]*> 0080f809     jalr    a0
 [0-9a-f]+ <[^>]*> 00000000     nop
 [0-9a-f]+ <[^>]*> 0c000000     jal     0+0000 <foo>
 [      ]*[0-9a-f]+: R_MIPS_26  bar
-[0-9a-f]+ <[^>]*> 02002021     move    a0,s0
-[0-9a-f]+ <[^>]*> 0200f821     move    ra,s0
+[0-9a-f]+ <[^>]*> 02002025     move    a0,s0
+[0-9a-f]+ <[^>]*> 0200f825     move    ra,s0
 [0-9a-f]+ <[^>]*> 0c000000     jal     0+0000 <foo>
 [      ]*[0-9a-f]+: R_MIPS_26  bar
 [0-9a-f]+ <[^>]*> 00000000     nop
index c0ff2db98bb4111225f57c2751a4c268dfb4b5a2..a56b38f683b73c4d7d5eaaada0cd4a00fd6ef997 100644 (file)
@@ -75,35 +75,35 @@ Disassembly of section \.text:
 [ 0-9a-f]+:    3040 ffff       li      v0,-1
 [ 0-9a-f]+:    41a2 1234       lui     v0,0x1234
 [ 0-9a-f]+:    5042 5678       ori     v0,v0,0x5678
-[ 0-9a-f]+:    0016 0150       move    zero,s6
-[ 0-9a-f]+:    0016 1150       move    v0,s6
-[ 0-9a-f]+:    0016 1950       move    v1,s6
-[ 0-9a-f]+:    0016 2150       move    a0,s6
-[ 0-9a-f]+:    0016 2950       move    a1,s6
-[ 0-9a-f]+:    0016 3150       move    a2,s6
-[ 0-9a-f]+:    0016 3950       move    a3,s6
-[ 0-9a-f]+:    0016 4150       move    t0,s6
-[ 0-9a-f]+:    0016 4950       move    t1,s6
-[ 0-9a-f]+:    0016 5150       move    t2,s6
-[ 0-9a-f]+:    0016 f150       move    s8,s6
-[ 0-9a-f]+:    0016 f950       move    ra,s6
-[ 0-9a-f]+:    0000 0150       move    zero,zero
-[ 0-9a-f]+:    0002 0150       move    zero,v0
-[ 0-9a-f]+:    0003 0150       move    zero,v1
-[ 0-9a-f]+:    0004 0150       move    zero,a0
-[ 0-9a-f]+:    0005 0150       move    zero,a1
-[ 0-9a-f]+:    0006 0150       move    zero,a2
-[ 0-9a-f]+:    0007 0150       move    zero,a3
-[ 0-9a-f]+:    0008 0150       move    zero,t0
-[ 0-9a-f]+:    0009 0150       move    zero,t1
-[ 0-9a-f]+:    000a 0150       move    zero,t2
-[ 0-9a-f]+:    001e 0150       move    zero,s8
-[ 0-9a-f]+:    001f 0150       move    zero,ra
-[ 0-9a-f]+:    0002 b150       move    s6,v0
-[ 0-9a-f]+:    0016 1150       move    v0,s6
+[ 0-9a-f]+:    0016 0290       move    zero,s6
+[ 0-9a-f]+:    0016 1290       move    v0,s6
+[ 0-9a-f]+:    0016 1a90       move    v1,s6
+[ 0-9a-f]+:    0016 2290       move    a0,s6
+[ 0-9a-f]+:    0016 2a90       move    a1,s6
+[ 0-9a-f]+:    0016 3290       move    a2,s6
+[ 0-9a-f]+:    0016 3a90       move    a3,s6
+[ 0-9a-f]+:    0016 4290       move    t0,s6
+[ 0-9a-f]+:    0016 4a90       move    t1,s6
+[ 0-9a-f]+:    0016 5290       move    t2,s6
+[ 0-9a-f]+:    0016 f290       move    s8,s6
+[ 0-9a-f]+:    0016 fa90       move    ra,s6
+[ 0-9a-f]+:    0000 0290       move    zero,zero
+[ 0-9a-f]+:    0002 0290       move    zero,v0
+[ 0-9a-f]+:    0003 0290       move    zero,v1
+[ 0-9a-f]+:    0004 0290       move    zero,a0
+[ 0-9a-f]+:    0005 0290       move    zero,a1
+[ 0-9a-f]+:    0006 0290       move    zero,a2
+[ 0-9a-f]+:    0007 0290       move    zero,a3
+[ 0-9a-f]+:    0008 0290       move    zero,t0
+[ 0-9a-f]+:    0009 0290       move    zero,t1
+[ 0-9a-f]+:    000a 0290       move    zero,t2
+[ 0-9a-f]+:    001e 0290       move    zero,s8
+[ 0-9a-f]+:    001f 0290       move    zero,ra
+[ 0-9a-f]+:    0002 b290       move    s6,v0
+[ 0-9a-f]+:    0016 1290       move    v0,s6
 [ 0-9a-f]+:    9400 fffe       b       [0-9a-f]+ <test\+0x[0-9a-f]+>
 [      ]*[0-9a-f]+: R_MICROMIPS_PC16_S1        test
-[ 0-9a-f]+:    0002 b150       move    s6,v0
+[ 0-9a-f]+:    0002 b290       move    s6,v0
 [ 0-9a-f]+:    9400 fffe       b       [0-9a-f]+ <test\+0x[0-9a-f]+>
 [      ]*[0-9a-f]+: R_MICROMIPS_PC16_S1        test
 [ 0-9a-f]+:    0000 0000       nop
@@ -123,13 +123,13 @@ Disassembly of section \.text:
 [ 0-9a-f]+:    0000 0000       nop
 [ 0-9a-f]+:    4043 fffe       bgez    v1,[0-9a-f]+ <.*\+0x[0-9a-f]+>
 [      ]*[0-9a-f]+: R_MICROMIPS_PC16_S1        .*
-[ 0-9a-f]+:    0003 1150       move    v0,v1
+[ 0-9a-f]+:    0003 1290       move    v0,v1
 [ 0-9a-f]+:    0060 1190       neg     v0,v1
 
 [0-9a-f]+ <.*>:
 [ 0-9a-f]+:    4044 fffe       bgez    a0,[0-9a-f]+ <.*>
 [      ]*[0-9a-f]+: R_MICROMIPS_PC16_S1        .*
-[ 0-9a-f]+:    0004 1150       move    v0,a0
+[ 0-9a-f]+:    0004 1290       move    v0,a0
 [ 0-9a-f]+:    0080 1190       neg     v0,a0
 
 [0-9a-f]+ <.*>:
@@ -894,7 +894,7 @@ Disassembly of section \.text:
 [0-9a-f]+ <.*>:
 [ 0-9a-f]+:    0002 1d7c       mflo    v0
 [ 0-9a-f]+:    0007 0007       break   0x7
-[ 0-9a-f]+:    0004 1950       move    v1,a0
+[ 0-9a-f]+:    0004 1a90       move    v1,a0
 [ 0-9a-f]+:    0080 1990       neg     v1,a0
 [ 0-9a-f]+:    3020 0002       li      at,2
 [ 0-9a-f]+:    0024 ab3c       div     zero,a0,at
@@ -918,7 +918,7 @@ Disassembly of section \.text:
 [0-9a-f]+ <.*>:
 [ 0-9a-f]+:    0002 1d7c       mflo    v0
 [ 0-9a-f]+:    0007 0007       break   0x7
-[ 0-9a-f]+:    0004 1950       move    v1,a0
+[ 0-9a-f]+:    0004 1a90       move    v1,a0
 [ 0-9a-f]+:    3020 ffff       li      at,-1
 [ 0-9a-f]+:    0024 bb3c       divu    zero,a0,at
 [ 0-9a-f]+:    0003 1d7c       mflo    v1
@@ -2270,8 +2270,8 @@ Disassembly of section \.text:
 [0-9a-f]+ <.*>:
 [ 0-9a-f]+:    0002 0d7c       mfhi    v0
 [ 0-9a-f]+:    0007 0007       break   0x7
-[ 0-9a-f]+:    0000 1950       move    v1,zero
-[ 0-9a-f]+:    0000 1950       move    v1,zero
+[ 0-9a-f]+:    0000 1a90       move    v1,zero
+[ 0-9a-f]+:    0000 1a90       move    v1,zero
 [ 0-9a-f]+:    3020 0002       li      at,2
 [ 0-9a-f]+:    0024 ab3c       div     zero,a0,at
 [ 0-9a-f]+:    0003 0d7c       mfhi    v1
@@ -2306,7 +2306,7 @@ Disassembly of section \.text:
 [0-9a-f]+ <.*>:
 [ 0-9a-f]+:    0002 0d7c       mfhi    v0
 [ 0-9a-f]+:    0007 0007       break   0x7
-[ 0-9a-f]+:    0000 1950       move    v1,zero
+[ 0-9a-f]+:    0000 1a90       move    v1,zero
 [ 0-9a-f]+:    3020 ffff       li      at,-1
 [ 0-9a-f]+:    0024 bb3c       divu    zero,a0,at
 [ 0-9a-f]+:    0003 0d7c       mfhi    v1
@@ -6456,7 +6456,7 @@ Disassembly of section \.text:
 [0-9a-f]+ <test_mips64>:
 [ 0-9a-f]+:    4043 fffe       bgez    v1,[0-9a-f]+ <test_mips64>
 [      ]*[0-9a-f]+: R_MICROMIPS_PC16_S1        .*
-[ 0-9a-f]+:    5803 1150       move    v0,v1
+[ 0-9a-f]+:    0003 1290       move    v0,v1
 [ 0-9a-f]+:    5860 1190       dneg    v0,v1
 
 [0-9a-f]+ <.*>:
@@ -6555,7 +6555,7 @@ Disassembly of section \.text:
 [0-9a-f]+ <.*>:
 [ 0-9a-f]+:    0002 1d7c       mflo    v0
 [ 0-9a-f]+:    0007 0007       break   0x7
-[ 0-9a-f]+:    5804 1950       move    v1,a0
+[ 0-9a-f]+:    0004 1a90       move    v1,a0
 [ 0-9a-f]+:    5880 1990       dneg    v1,a0
 [ 0-9a-f]+:    3020 0002       li      at,2
 [ 0-9a-f]+:    5824 ab3c       ddiv    zero,a0,at
@@ -6579,7 +6579,7 @@ Disassembly of section \.text:
 [0-9a-f]+ <.*>:
 [ 0-9a-f]+:    0002 1d7c       mflo    v0
 [ 0-9a-f]+:    0007 0007       break   0x7
-[ 0-9a-f]+:    5804 1950       move    v1,a0
+[ 0-9a-f]+:    0004 1a90       move    v1,a0
 [ 0-9a-f]+:    3020 ffff       li      at,-1
 [ 0-9a-f]+:    5824 bb3c       ddivu   zero,a0,at
 [ 0-9a-f]+:    0003 1d7c       mflo    v1
@@ -6966,8 +6966,8 @@ Disassembly of section \.text:
 
 [0-9a-f]+ <.*>:
 [ 0-9a-f]+:    0007 0007       break   0x7
-[ 0-9a-f]+:    5800 1950       move    v1,zero
-[ 0-9a-f]+:    5800 1950       move    v1,zero
+[ 0-9a-f]+:    0000 1a90       move    v1,zero
+[ 0-9a-f]+:    0000 1a90       move    v1,zero
 [ 0-9a-f]+:    3020 0002       li      at,2
 [ 0-9a-f]+:    5824 ab3c       ddiv    zero,a0,at
 [ 0-9a-f]+:    0003 0d7c       mfhi    v1
@@ -7010,8 +7010,8 @@ Disassembly of section \.text:
 [0-9a-f]+ <.*>:
 [ 0-9a-f]+:    0000 0d7c       mfhi    zero
 [ 0-9a-f]+:    0007 0007       break   0x7
-[ 0-9a-f]+:    5800 1950       move    v1,zero
-[ 0-9a-f]+:    5800 1950       move    v1,zero
+[ 0-9a-f]+:    0000 1a90       move    v1,zero
+[ 0-9a-f]+:    0000 1a90       move    v1,zero
 [ 0-9a-f]+:    3020 0002       li      at,2
 [ 0-9a-f]+:    5824 ab3c       ddiv    zero,a0,at
 [ 0-9a-f]+:    0003 0d7c       mfhi    v1
@@ -7032,7 +7032,7 @@ Disassembly of section \.text:
 [0-9a-f]+ <.*>:
 [ 0-9a-f]+:    0000 0d7c       mfhi    zero
 [ 0-9a-f]+:    0007 0007       break   0x7
-[ 0-9a-f]+:    5800 1950       move    v1,zero
+[ 0-9a-f]+:    0000 1a90       move    v1,zero
 [ 0-9a-f]+:    3020 ffff       li      at,-1
 [ 0-9a-f]+:    5824 bb3c       ddivu   zero,a0,at
 [ 0-9a-f]+:    0003 0d7c       mfhi    v1
@@ -7673,50 +7673,50 @@ Disassembly of section \.text:
 [ 0-9a-f]+:    78c0 0000       addiu   s1,\$pc,-16777216
 
 [0-9a-f]+ <test_spec107>:
-[ 0-9a-f]+:    5800 2950       move    a1,zero
-[ 0-9a-f]+:    5800 3150       move    a2,zero
-[ 0-9a-f]+:    5800 2950       move    a1,zero
-[ 0-9a-f]+:    5800 3950       move    a3,zero
-[ 0-9a-f]+:    5800 3150       move    a2,zero
-[ 0-9a-f]+:    5800 3950       move    a3,zero
-[ 0-9a-f]+:    5800 2150       move    a0,zero
-[ 0-9a-f]+:    5800 a950       move    s5,zero
-[ 0-9a-f]+:    5800 2150       move    a0,zero
-[ 0-9a-f]+:    5800 b150       move    s6,zero
-[ 0-9a-f]+:    5800 2150       move    a0,zero
-[ 0-9a-f]+:    5800 2950       move    a1,zero
-[ 0-9a-f]+:    5800 2150       move    a0,zero
-[ 0-9a-f]+:    5800 3150       move    a2,zero
-[ 0-9a-f]+:    5800 2150       move    a0,zero
-[ 0-9a-f]+:    5800 3950       move    a3,zero
-[ 0-9a-f]+:    5811 2150       move    a0,s1
-[ 0-9a-f]+:    5800 3950       move    a3,zero
-[ 0-9a-f]+:    5802 2150       move    a0,v0
-[ 0-9a-f]+:    5800 3950       move    a3,zero
-[ 0-9a-f]+:    5803 2150       move    a0,v1
-[ 0-9a-f]+:    5800 3950       move    a3,zero
-[ 0-9a-f]+:    5810 2150       move    a0,s0
-[ 0-9a-f]+:    5800 3950       move    a3,zero
-[ 0-9a-f]+:    5812 2150       move    a0,s2
-[ 0-9a-f]+:    5800 3950       move    a3,zero
-[ 0-9a-f]+:    5813 2150       move    a0,s3
-[ 0-9a-f]+:    5800 3950       move    a3,zero
-[ 0-9a-f]+:    5814 2150       move    a0,s4
-[ 0-9a-f]+:    5800 3950       move    a3,zero
-[ 0-9a-f]+:    5814 2150       move    a0,s4
-[ 0-9a-f]+:    5811 3950       move    a3,s1
-[ 0-9a-f]+:    5814 2150       move    a0,s4
-[ 0-9a-f]+:    5802 3950       move    a3,v0
-[ 0-9a-f]+:    5814 2150       move    a0,s4
-[ 0-9a-f]+:    5803 3950       move    a3,v1
-[ 0-9a-f]+:    5814 2150       move    a0,s4
-[ 0-9a-f]+:    5810 3950       move    a3,s0
-[ 0-9a-f]+:    5814 2150       move    a0,s4
-[ 0-9a-f]+:    5812 3950       move    a3,s2
-[ 0-9a-f]+:    5814 2150       move    a0,s4
-[ 0-9a-f]+:    5813 3950       move    a3,s3
-[ 0-9a-f]+:    5814 2150       move    a0,s4
-[ 0-9a-f]+:    5814 3950       move    a3,s4
+[ 0-9a-f]+:    0000 2a90       move    a1,zero
+[ 0-9a-f]+:    0000 3290       move    a2,zero
+[ 0-9a-f]+:    0000 2a90       move    a1,zero
+[ 0-9a-f]+:    0000 3a90       move    a3,zero
+[ 0-9a-f]+:    0000 3290       move    a2,zero
+[ 0-9a-f]+:    0000 3a90       move    a3,zero
+[ 0-9a-f]+:    0000 2290       move    a0,zero
+[ 0-9a-f]+:    0000 aa90       move    s5,zero
+[ 0-9a-f]+:    0000 2290       move    a0,zero
+[ 0-9a-f]+:    0000 b290       move    s6,zero
+[ 0-9a-f]+:    0000 2290       move    a0,zero
+[ 0-9a-f]+:    0000 2a90       move    a1,zero
+[ 0-9a-f]+:    0000 2290       move    a0,zero
+[ 0-9a-f]+:    0000 3290       move    a2,zero
+[ 0-9a-f]+:    0000 2290       move    a0,zero
+[ 0-9a-f]+:    0000 3a90       move    a3,zero
+[ 0-9a-f]+:    0011 2290       move    a0,s1
+[ 0-9a-f]+:    0000 3a90       move    a3,zero
+[ 0-9a-f]+:    0002 2290       move    a0,v0
+[ 0-9a-f]+:    0000 3a90       move    a3,zero
+[ 0-9a-f]+:    0003 2290       move    a0,v1
+[ 0-9a-f]+:    0000 3a90       move    a3,zero
+[ 0-9a-f]+:    0010 2290       move    a0,s0
+[ 0-9a-f]+:    0000 3a90       move    a3,zero
+[ 0-9a-f]+:    0012 2290       move    a0,s2
+[ 0-9a-f]+:    0000 3a90       move    a3,zero
+[ 0-9a-f]+:    0013 2290       move    a0,s3
+[ 0-9a-f]+:    0000 3a90       move    a3,zero
+[ 0-9a-f]+:    0014 2290       move    a0,s4
+[ 0-9a-f]+:    0000 3a90       move    a3,zero
+[ 0-9a-f]+:    0014 2290       move    a0,s4
+[ 0-9a-f]+:    0011 3a90       move    a3,s1
+[ 0-9a-f]+:    0014 2290       move    a0,s4
+[ 0-9a-f]+:    0002 3a90       move    a3,v0
+[ 0-9a-f]+:    0014 2290       move    a0,s4
+[ 0-9a-f]+:    0003 3a90       move    a3,v1
+[ 0-9a-f]+:    0014 2290       move    a0,s4
+[ 0-9a-f]+:    0010 3a90       move    a3,s0
+[ 0-9a-f]+:    0014 2290       move    a0,s4
+[ 0-9a-f]+:    0012 3a90       move    a3,s2
+[ 0-9a-f]+:    0014 2290       move    a0,s4
+[ 0-9a-f]+:    0013 3a90       move    a3,s3
+[ 0-9a-f]+:    0014 2290       move    a0,s4
+[ 0-9a-f]+:    0014 3a90       move    a3,s4
 [ 0-9a-f]+:    4060 fffe       bal     [0-9a-f]+ <.*\+0x[0-9a-f]+>
 [      ]*[0-9a-f]+: R_MICROMIPS_PC16_S1        test_spec107
 [ 0-9a-f]+:    0000 0000       nop
index 5bbaab1f81e56c6293e1b40462c1d0f2e4166a7b..3b4a795a27f4d9e48f2cb6f5e4614ad47fe33a00 100644 (file)
@@ -100,10 +100,10 @@ Disassembly of section \.text:
 [ 0-9a-f]+:    0c1e            move    zero,s8
 [ 0-9a-f]+:    0c1f            move    zero,ra
 [ 0-9a-f]+:    0ec2            move    s6,v0
-[ 0-9a-f]+:    0016 1150       move    v0,s6
+[ 0-9a-f]+:    0016 1290       move    v0,s6
 [ 0-9a-f]+:    cfff            b       [0-9a-f]+ <test\+0x[0-9a-f]+>
 [      ]*[0-9a-f]+: R_MICROMIPS_PC10_S1        test
-[ 0-9a-f]+:    0002 b150       move    s6,v0
+[ 0-9a-f]+:    0002 b290       move    s6,v0
 [ 0-9a-f]+:    9400 fffe       b       [0-9a-f]+ <test\+0x[0-9a-f]+>
 [      ]*[0-9a-f]+: R_MICROMIPS_PC16_S1        test
 [ 0-9a-f]+:    0c00            nop
index cfb0979d05fb90d619fdf7c16e1a07297981d07a..8f33d9b7d117162a7e041e59cb981fbcc341f827 100644 (file)
@@ -103,10 +103,10 @@ Disassembly of section \.text:
 [ 0-9a-f]+:    0ec2            move    s6,v0
 [ 0-9a-f]+:    0c56            move    v0,s6
 [ 0-9a-f]+:    0ec2            move    s6,v0
-[ 0-9a-f]+:    0016 1150       move    v0,s6
+[ 0-9a-f]+:    0016 1290       move    v0,s6
 [ 0-9a-f]+:    cfff            b       [0-9a-f]+ <test\+0x[0-9a-f]+>
 [      ]*[0-9a-f]+: R_MICROMIPS_PC10_S1        test
-[ 0-9a-f]+:    0002 b150       move    s6,v0
+[ 0-9a-f]+:    0002 b290       move    s6,v0
 [ 0-9a-f]+:    cfff            b       [0-9a-f]+ <test\+0x[0-9a-f]+>
 [      ]*[0-9a-f]+: R_MICROMIPS_PC10_S1        test
 [ 0-9a-f]+:    0c00            nop
index e26266352b7e7a6289439e96ffb502a1c9bfbef6..8801c5621ddf424ac898704a1b193fa7e3e3640e 100644 (file)
@@ -103,10 +103,10 @@ Disassembly of section \.text:
 [ 0-9a-f]+:    0ec2            move    s6,v0
 [ 0-9a-f]+:    0c56            move    v0,s6
 [ 0-9a-f]+:    0ec2            move    s6,v0
-[ 0-9a-f]+:    0016 1150       move    v0,s6
+[ 0-9a-f]+:    0016 1290       move    v0,s6
 [ 0-9a-f]+:    cfff            b       [0-9a-f]+ <test\+0x[0-9a-f]+>
 [      ]*[0-9a-f]+: R_MICROMIPS_PC10_S1        test
-[ 0-9a-f]+:    0002 b150       move    s6,v0
+[ 0-9a-f]+:    0002 b290       move    s6,v0
 [ 0-9a-f]+:    cfff            b       [0-9a-f]+ <test\+0x[0-9a-f]+>
 [      ]*[0-9a-f]+: R_MICROMIPS_PC10_S1        test
 [ 0-9a-f]+:    0c00            nop
diff --git a/gas/testsuite/gas/mips/micromips32-move.d b/gas/testsuite/gas/mips/micromips32-move.d
new file mode 100644 (file)
index 0000000..1a30f06
--- /dev/null
@@ -0,0 +1,14 @@
+#objdump: -dr -m mips:micromips
+#name: microMIPS insn32 move test
+#source: micromips32-move.s
+
+# Check objdump's disassembly of the move menomic for addu, daddu and or.
+
+.*: +file format .*mips.*
+
+Disassembly of section .text:
+0+ <.*>:
+   0:  001f 6a90       move    t5,ra
+   4:  001f 6950       move    t5,ra
+   8:  581f 6950       move    t5,ra
+   c:  001f 6a90       move    t5,ra
diff --git a/gas/testsuite/gas/mips/micromips32-move.s b/gas/testsuite/gas/mips/micromips32-move.s
new file mode 100644 (file)
index 0000000..a94cfe4
--- /dev/null
@@ -0,0 +1,6 @@
+       .set    micromips
+       .set    insn32
+       move    $13, $31
+       addu    $13, $31, $0
+       daddu   $13, $31, $0
+       or      $13, $31, $0
index fd18bf81e9a48591c0347595828982aa12c89956..94f2acc3c5da963fe137a85cdc72705337f16a50 100644 (file)
@@ -80,7 +80,7 @@ Disassembly of section .text:
  118:  a8240000        swl     a0,0\(at\)
  11c:  b8240003        swr     a0,3\(at\)
  120:  3c043ff0        lui     a0,0x3ff0
- 124:  00002821        move    a1,zero
+ 124:  00002825        move    a1,zero
  128:  8f810000        lw      at,0\(gp\)
  12c:  8c240000        lw      a0,0\(at\)
  130:  8c250004        lw      a1,4\(at\)
@@ -93,7 +93,7 @@ Disassembly of section .text:
  14c:  2c840001        sltiu   a0,a0,1
  150:  24a40064        addiu   a0,a1,100
  154:  0004202b        sltu    a0,zero,a0
- 158:  00a02021        move    a0,a1
+ 158:  00a02025        move    a0,a1
 
 0+015c <[^>]*>:
        ...
index 51ab40c88566698f489b8b35b63a5edad0fab755..0907b84d68e05a44bcb3e111e3e609799ab9bfdb 100644 (file)
@@ -60,7 +60,7 @@ Disassembly of section .text:
   c8:  a8240000        swl     a0,0\(at\)
   cc:  b8240003        swr     a0,3\(at\)
   d0:  3c043ff0        lui     a0,0x3ff0
-  d4:  00002821        move    a1,zero
+  d4:  00002825        move    a1,zero
   d8:  3c010000        lui     at,0x0
   dc:  8c240000        lw      a0,0\(at\)
   e0:  8c250004        lw      a1,4\(at\)
@@ -72,7 +72,7 @@ Disassembly of section .text:
   f8:  2c840001        sltiu   a0,a0,1
   fc:  24a40064        addiu   a0,a1,100
  100:  0004202b        sltu    a0,zero,a0
- 104:  00a02021        move    a0,a1
+ 104:  00a02025        move    a0,a1
 
 0+0108 <[^>]*>:
        ...
index 3fb84e9858706391f77964cfd43536f7841bbde2..73b01782194a8c666e208d846848ecd3bd6cde2e 100644 (file)
@@ -80,7 +80,7 @@ Disassembly of section .text:
  118:  a8240000        swl     a0,0\(at\)
  11c:  b8240003        swr     a0,3\(at\)
  120:  3c043ff0        lui     a0,0x3ff0
- 124:  00002821        move    a1,zero
+ 124:  00002825        move    a1,zero
  128:  8f810000        lw      at,0\(gp\)
  12c:  8c240000        lw      a0,0\(at\)
  130:  8c250004        lw      a1,4\(at\)
@@ -93,7 +93,7 @@ Disassembly of section .text:
  14c:  2c840001        sltiu   a0,a0,1
  150:  24a40064        addiu   a0,a1,100
  154:  0004202b        sltu    a0,zero,a0
- 158:  00a02021        move    a0,a1
+ 158:  00a02025        move    a0,a1
 
 0+015c <[^>]*>:
        ...
index 82e3828bfddbb410e0c686a049ed9a0d6820b0a5..5cd8f707332a8bbfa478630e25c63c219e130a3b 100644 (file)
@@ -60,7 +60,7 @@ Disassembly of section .text:
   c8:  a8240000        swl     a0,0\(at\)
   cc:  b8240003        swr     a0,3\(at\)
   d0:  3c043ff0        lui     a0,0x3ff0
-  d4:  00002821        move    a1,zero
+  d4:  00002825        move    a1,zero
   d8:  3c010000        lui     at,0x0
   dc:  8c240000        lw      a0,0\(at\)
   e0:  8c250004        lw      a1,4\(at\)
@@ -72,7 +72,7 @@ Disassembly of section .text:
   f8:  2c840001        sltiu   a0,a0,1
   fc:  24a40064        addiu   a0,a1,100
  100:  0004202b        sltu    a0,zero,a0
- 104:  00a02021        move    a0,a1
+ 104:  00a02025        move    a0,a1
 
 0+0108 <[^>]*>:
        ...
index 3ebbe3f4cf4c49f98c1441f37e09c0e440beee6e..1e4606c8947faff7254747ef8d884804f470ff2b 100644 (file)
@@ -81,7 +81,7 @@ Disassembly of section .text:
  118:  a8240000        swl     a0,0\(at\)
  11c:  b8240003        swr     a0,3\(at\)
  120:  3c043ff0        lui     a0,0x3ff0
- 124:  00002821        move    a1,zero
+ 124:  00002825        move    a1,zero
  128:  8f810000        lw      at,0\(gp\)
  12c:  8c240000        lw      a0,0\(at\)
  130:  8c250004        lw      a1,4\(at\)
@@ -93,7 +93,7 @@ Disassembly of section .text:
  148:  2c840001        sltiu   a0,a0,1
  14c:  24a40064        addiu   a0,a1,100
  150:  0004202b        sltu    a0,zero,a0
- 154:  00a02021        move    a0,a1
+ 154:  00a02025        move    a0,a1
  158:  46231040        add.d   \$f1,\$f2,\$f3
 
 0+015c <[^>]*>:
index 2181bb1ecc79fc62b4126c79d3b422deca155f71..6d0b19ecfe8bd95102e5e009e937106b459c478e 100644 (file)
@@ -61,7 +61,7 @@ Disassembly of section .text:
   c8:  a8240000        swl     a0,0\(at\)
   cc:  b8240003        swr     a0,3\(at\)
   d0:  3c043ff0        lui     a0,0x3ff0
-  d4:  00002821        move    a1,zero
+  d4:  00002825        move    a1,zero
   d8:  3c010000        lui     at,0x0
   dc:  8c240000        lw      a0,0\(at\)
   e0:  8c250004        lw      a1,4\(at\)
@@ -71,7 +71,7 @@ Disassembly of section .text:
   f0:  2c840001        sltiu   a0,a0,1
   f4:  24a40064        addiu   a0,a1,100
   f8:  0004202b        sltu    a0,zero,a0
-  fc:  00a02021        move    a0,a1
+  fc:  00a02025        move    a0,a1
  100:  46231040        add.d   \$f1,\$f2,\$f3
 
 0+0104 <[^>]*>:
index 52fe8afd013a0ad3d89d9889db6cb3090bc4fc8c..d83d7f92ef34c6bf5385c0ff2b04c0605c9ef064 100644 (file)
@@ -93,7 +93,7 @@ Disassembly of section .text:
  148:  2c840001        sltiu   a0,a0,1
  14c:  64a40064        daddiu  a0,a1,100
  150:  0004202b        sltu    a0,zero,a0
- 154:  00a0202d        move    a0,a1
+ 154:  00a02025        move    a0,a1
  158:  8f840000        lw      a0,0\(gp\)
  15c:  24840000        addiu   a0,a0,0
  160:  8f840000        lw      a0,0\(gp\)
index 9f7540b58acde4712733239e045f3211a50bd908..035cfd6f891f3bba95c3ee8eb8407b49684b823c 100644 (file)
@@ -67,7 +67,7 @@ Disassembly of section .text:
   e0:  2c840001        sltiu   a0,a0,1
   e4:  64a40064        daddiu  a0,a1,100
   e8:  0004202b        sltu    a0,zero,a0
-  ec:  00a0202d        move    a0,a1
+  ec:  00a02025        move    a0,a1
   f0:  27840000        addiu   a0,gp,0
   f4:  3c040000        lui     a0,0x0
   f8:  24840000        addiu   a0,a0,0
index 2e37f6850bde4abfb81662cc3bf1f077176ddc44..b66f983922d3bd63591ac29412338c8674745dd1 100644 (file)
@@ -92,7 +92,7 @@ Disassembly of section .text:
  148:  2c840001        sltiu   a0,a0,1
  14c:  64a40064        daddiu  a0,a1,100
  150:  0004202b        sltu    a0,zero,a0
- 154:  00a0202d        move    a0,a1
+ 154:  00a02025        move    a0,a1
  158:  8f840000        lw      a0,0\(gp\)
  15c:  24840000        addiu   a0,a0,0
  160:  8f840000        lw      a0,0\(gp\)
index 5cd5028d96afeb6fc3b7d69f65ced3087c598eab..f5fe15f94034200e61472e8eb76e876f40002b55 100644 (file)
@@ -67,7 +67,7 @@ Disassembly of section .text:
   e0:  2c840001        sltiu   a0,a0,1
   e4:  64a40064        daddiu  a0,a1,100
   e8:  0004202b        sltu    a0,zero,a0
-  ec:  00a0202d        move    a0,a1
+  ec:  00a02025        move    a0,a1
   f0:  27840000        addiu   a0,gp,0
   f4:  3c040000        lui     a0,0x0
   f8:  24840000        addiu   a0,a0,0
index 4568f24a04f9fa30ae4c732c50977237ff1e1b8d..74e0a79a02b9843e48e7fcbad9ffc6e234dade5e 100644 (file)
@@ -1022,6 +1022,10 @@ if { [istarget mips*-*-vxworks*] } {
        run_dump_test "n32-consec"
     }
 
+    # tests of objdump's ability to disassemble the move mnemonic
+    run_dump_test_arches "move"        [mips_arch_list_matching mips64 !micromips]
+    run_dump_test_arches "micromips32-move" [mips_arch_list_matching micromips]
+
     # tests of objdump's ability to disassemble using different
     # register names.
     run_dump_test "gpr-names-numeric"
index d377f6abe8163fb4696c2ded0a750cba0f39e514..caee88847e26ddeea2c23f28a3c3252b062e7651 100644 (file)
@@ -8,26 +8,26 @@
 .*: +file format .*mips.*
 
 Disassembly of section \.text:
-[0-9a-f]+ <[^>]*> 02002021     move    a0,s0
+[0-9a-f]+ <[^>]*> 02002025     move    a0,s0
 [0-9a-f]+ <[^>]*> 00800009     jr      a0
 [0-9a-f]+ <[^>]*> 00000000     nop
 [0-9a-f]+ <[^>]*> 00800009     jr      a0
-[0-9a-f]+ <[^>]*> 0200f821     move    ra,s0
+[0-9a-f]+ <[^>]*> 0200f825     move    ra,s0
 [0-9a-f]+ <[^>]*> 03e00009     jr      ra
-[0-9a-f]+ <[^>]*> 02002021     move    a0,s0
-[0-9a-f]+ <[^>]*> 0200f821     move    ra,s0
+[0-9a-f]+ <[^>]*> 02002025     move    a0,s0
+[0-9a-f]+ <[^>]*> 0200f825     move    ra,s0
 [0-9a-f]+ <[^>]*> 03e00009     jr      ra
 [0-9a-f]+ <[^>]*> 00000000     nop
-[0-9a-f]+ <[^>]*> 02002021     move    a0,s0
+[0-9a-f]+ <[^>]*> 02002025     move    a0,s0
 [0-9a-f]+ <[^>]*> 0080f809     jalr    a0
 [0-9a-f]+ <[^>]*> 00000000     nop
-[0-9a-f]+ <[^>]*> 0200f821     move    ra,s0
+[0-9a-f]+ <[^>]*> 0200f825     move    ra,s0
 [0-9a-f]+ <[^>]*> 0080f809     jalr    a0
 [0-9a-f]+ <[^>]*> 00000000     nop
 [0-9a-f]+ <[^>]*> 0c000000     jal     0+0000 <foo>
 [      ]*[0-9a-f]+: R_MIPS_26  bar
-[0-9a-f]+ <[^>]*> 02002021     move    a0,s0
-[0-9a-f]+ <[^>]*> 0200f821     move    ra,s0
+[0-9a-f]+ <[^>]*> 02002025     move    a0,s0
+[0-9a-f]+ <[^>]*> 0200f825     move    ra,s0
 [0-9a-f]+ <[^>]*> 0c000000     jal     0+0000 <foo>
 [      ]*[0-9a-f]+: R_MIPS_26  bar
 [0-9a-f]+ <[^>]*> 00000000     nop
diff --git a/gas/testsuite/gas/mips/move.d b/gas/testsuite/gas/mips/move.d
new file mode 100644 (file)
index 0000000..aa978ea
--- /dev/null
@@ -0,0 +1,14 @@
+#objdump: -dr
+#name: MIPS move disassembly test
+#source: move.s
+
+# Check objdump's disassembly of the move menomic for addu, daddu and or.
+
+.*: +file format .*mips.*
+
+Disassembly of section .text:
+0+ <.*>:
+   0:  03e06825        move    t5,ra
+   4:  03e06821        move    t5,ra
+   8:  03e0682d        move    t5,ra
+   c:  03e06825        move    t5,ra
diff --git a/gas/testsuite/gas/mips/move.s b/gas/testsuite/gas/mips/move.s
new file mode 100644 (file)
index 0000000..912577b
--- /dev/null
@@ -0,0 +1,4 @@
+       move    $13, $31
+       addu    $13, $31, $0
+       daddu   $13, $31, $0
+       or      $13, $31, $0
index d81ba4ee78cfa74bdcf4f6fae6e4c4c319e6a1e8..32f27af441b204b1f9c4a0fec8749f80b15e1717 100644 (file)
@@ -14,7 +14,7 @@ Disassembly of section .text:
    8:  0399e021        addu    gp,gp,t9
    c:  27bdfff0        addiu   sp,sp,-16
   10:  afbe0008        sw      s8,8\(sp\)
-  14:  03a0f021        move    s8,sp
+  14:  03a0f025        move    s8,sp
   18:  afbc0000        sw      gp,0\(sp\)
   1c:  8f990000        lw      t9,0\(gp\)
                        1c: R_MIPS_CALL16       __tls_get_addr
@@ -31,7 +31,7 @@ Disassembly of section .text:
   3c:  0320f809        jalr    t9
   40:  00000000        nop
   44:  8fdc0000        lw      gp,0\(s8\)
-  48:  00401021        move    v0,v0
+  48:  00401025        move    v0,v0
   4c:  3c030000        lui     v1,0x0
                        4c: R_MIPS_TLS_DTPREL_HI16      tlsvar_ld
   50:  24630000        addiu   v1,v1,0
@@ -48,7 +48,7 @@ Disassembly of section .text:
   70:  34630000        ori     v1,v1,0x0
                        70: R_MIPS_TLS_TPREL_LO16       tlsvar_le
   74:  00621821        addu    v1,v1,v0
-  78:  03c0e821        move    sp,s8
+  78:  03c0e825        move    sp,s8
   7c:  8fbe0008        lw      s8,8\(sp\)
   80:  03e00008        jr      ra
   84:  27bd0010        addiu   sp,sp,16
index 8a4d37c5dfe96cd0e34f396513cb1e21b60ea88b..da72fcaa7a3c56087689a3017ded743fc4b2d1f6 100644 (file)
@@ -4,10 +4,6 @@
 #source: uld2.s
 
 # Further checks of uld macro.
-# XXX: note: when 'move' is changed to use 'or' rather than daddu, the
-# XXX: 'move' opcodes shown here (whose raw instruction fields are daddu)
-# XXX: should be changed to be 'or' instructions and this comment should be
-# XXX: removed.
 
 .*: +file format .*mips.*
 
@@ -18,8 +14,8 @@ Disassembly of section .text:
 0+000c <[^>]*> 6ca40008        ldr     \$4,8\(\$5\)
 0+0010 <[^>]*> 68a10000        ldl     \$1,0\(\$5\)
 0+0014 <[^>]*> 6ca10007        ldr     \$1,7\(\$5\)
-0+0018 <[^>]*> 0020282[1d]     move    \$5,\$1
+0+0018 <[^>]*> 00202825        move    \$5,\$1
 0+001c <[^>]*> 68a10001        ldl     \$1,1\(\$5\)
 0+0020 <[^>]*> 6ca10008        ldr     \$1,8\(\$5\)
-0+0024 <[^>]*> 0020282[1d]     move    \$5,\$1
+0+0024 <[^>]*> 00202825        move    \$5,\$1
        \.\.\.
index e932f353c9644cd557dfd22990bece61879cde8f..c77c228fcf4b30efd9cc02d33f691e2e0d4037d8 100644 (file)
@@ -4,10 +4,6 @@
 #source: uld2.s
 
 # Further checks of uld macro.
-# XXX: note: when 'move' is changed to use 'or' rather than daddu, the
-# XXX: 'move' opcodes shown here (whose raw instruction fields are daddu)
-# XXX: should be changed to be 'or' instructions and this comment should be
-# XXX: removed.
 
 .*: +file format .*mips.*
 
@@ -18,8 +14,8 @@ Disassembly of section .text:
 0+000c <[^>]*> 6ca40001        ldr     \$4,1\(\$5\)
 0+0010 <[^>]*> 68a10007        ldl     \$1,7\(\$5\)
 0+0014 <[^>]*> 6ca10000        ldr     \$1,0\(\$5\)
-0+0018 <[^>]*> 0020282[1d]     move    \$5,\$1
+0+0018 <[^>]*> 00202825        move    \$5,\$1
 0+001c <[^>]*> 68a10008        ldl     \$1,8\(\$5\)
 0+0020 <[^>]*> 6ca10001        ldr     \$1,1\(\$5\)
-0+0024 <[^>]*> 0020282[1d]     move    \$5,\$1
+0+0024 <[^>]*> 00202825        move    \$5,\$1
        \.\.\.
index f967aa203f617fc2e7d69efd2f5c43bdbd9e15d0..a1a71ab95980e0bed980ff875b27085ee2e6b32c 100644 (file)
@@ -4,10 +4,6 @@
 #source: ulw2.s
 
 # Further checks of ulw macro.
-# XXX: note: when 'move' is changed to use 'or' rather than addu/daddu, the
-# XXX: 'move' opcodes shown here (whose raw instruction fields are addu/daddu)
-# XXX: should be changed to be 'or' instructions and this comment should be
-# XXX: removed.
 
 .*: +file format .*mips.*
 
@@ -18,8 +14,8 @@ Disassembly of section .text:
 0+000c <[^>]*> 98a40004        lwr     \$4,4\(\$5\)
 0+0010 <[^>]*> 88a10000        lwl     \$1,0\(\$5\)
 0+0014 <[^>]*> 98a10003        lwr     \$1,3\(\$5\)
-0+0018 <[^>]*> 0020282[1d]     move    \$5,\$1
+0+0018 <[^>]*> 00202825        move    \$5,\$1
 0+001c <[^>]*> 88a10001        lwl     \$1,1\(\$5\)
 0+0020 <[^>]*> 98a10004        lwr     \$1,4\(\$5\)
-0+0024 <[^>]*> 0020282[1d]     move    \$5,\$1
+0+0024 <[^>]*> 00202825        move    \$5,\$1
        \.\.\.
index 9341369101383c206122c069e2bc096131f12984..e261250172e9d1415234a09df3017562ffa17ce5 100644 (file)
@@ -4,10 +4,6 @@
 #source: ulw2.s
 
 # Further checks of ulw macro.
-# XXX: note: when 'move' is changed to use 'or' rather than addu/daddu, the
-# XXX: 'move' opcodes shown here (whose raw instruction fields are addu/daddu)
-# XXX: should be changed to be 'or' instructions and this comment should be
-# XXX: removed.
 
 .*: +file format .*mips.*
 
@@ -19,9 +15,9 @@ Disassembly of section .text:
 0+0010 <[^>]*> 88a10000        lwl     \$1,0\(\$5\)
 0+0014 <[^>]*> 98a10003        lwr     \$1,3\(\$5\)
 0+0018 <[^>]*> 00000000        nop
-0+001c <[^>]*> 0020282[1d]     move    \$5,\$1
+0+001c <[^>]*> 00202825        move    \$5,\$1
 0+0020 <[^>]*> 88a10001        lwl     \$1,1\(\$5\)
 0+0024 <[^>]*> 98a10004        lwr     \$1,4\(\$5\)
 0+0028 <[^>]*> 00000000        nop
-0+002c <[^>]*> 0020282[1d]     move    \$5,\$1
+0+002c <[^>]*> 00202825        move    \$5,\$1
        \.\.\.
index 5e08cef86176e21117382c694590970c97c6478f..c21cfcb29b67f38e859e3ba9e9d4fa19ae9666ff 100644 (file)
@@ -4,10 +4,6 @@
 #source: ulw2.s
 
 # Further checks of ulw macro.
-# XXX: note: when 'move' is changed to use 'or' rather than addu/daddu, the
-# XXX: 'move' opcodes shown here (whose raw instruction fields are addu/daddu)
-# XXX: should be changed to be 'or' instructions and this comment should be
-# XXX: removed.
 
 .*: +file format .*mips.*
 
@@ -18,8 +14,8 @@ Disassembly of section .text:
 0+000c <[^>]*> 98a40001        lwr     \$4,1\(\$5\)
 0+0010 <[^>]*> 88a10003        lwl     \$1,3\(\$5\)
 0+0014 <[^>]*> 98a10000        lwr     \$1,0\(\$5\)
-0+0018 <[^>]*> 0020282[1d]     move    \$5,\$1
+0+0018 <[^>]*> 00202825        move    \$5,\$1
 0+001c <[^>]*> 88a10004        lwl     \$1,4\(\$5\)
 0+0020 <[^>]*> 98a10001        lwr     \$1,1\(\$5\)
-0+0024 <[^>]*> 0020282[1d]     move    \$5,\$1
+0+0024 <[^>]*> 00202825        move    \$5,\$1
        \.\.\.
index 75bf40803e787b6b8a32e92ce738e355e1be2a41..5981bc8e0684d0ae08a0490a5968ebbe630b052b 100644 (file)
@@ -4,11 +4,6 @@
 #source: ulw2.s
 
 # Further checks of ulw macro.
-# XXX: note: when 'move' is changed to use 'or' rather than addu/daddu, the
-# XXX: 'move' opcodes shown here (whose raw instruction fields are addu/daddu)
-# XXX: should be changed to be 'or' instructions and this comment should be
-# XXX: removed.
-
 .*: +file format .*mips.*
 
 Disassembly of section .text:
@@ -19,9 +14,9 @@ Disassembly of section .text:
 0+0010 <[^>]*> 88a10003        lwl     \$1,3\(\$5\)
 0+0014 <[^>]*> 98a10000        lwr     \$1,0\(\$5\)
 0+0018 <[^>]*> 00000000        nop
-0+001c <[^>]*> 0020282[1d]     move    \$5,\$1
+0+001c <[^>]*> 00202825        move    \$5,\$1
 0+0020 <[^>]*> 88a10004        lwl     \$1,4\(\$5\)
 0+0024 <[^>]*> 98a10001        lwr     \$1,1\(\$5\)
 0+0028 <[^>]*> 00000000        nop
-0+002c <[^>]*> 0020282[1d]     move    \$5,\$1
+0+002c <[^>]*> 00202825        move    \$5,\$1
        \.\.\.
index 001244504202b36e09772d6dd2769cc5873c1329..0c5a40c3e2927815cd4257c82a2ae5efbc3e43b1 100644 (file)
@@ -1,3 +1,13 @@
+2015-08-12  Simon Dardis  <simon.dardis@imgtec.com>
+
+       * mips.cc (plt0_entry_o32, plt0_entry_n32, plt0_entry_n64,
+       lazy_stub_normal_1, lazy_stub_normal_1_n64,
+       lazy_stub_normal_2, lazy_stub_normal_2_n64, lazy_stub_big,
+       lazy_stub_big_n64, lazy_stub_micromips32_normal_1_n64,
+       lazy_stub_micromips32_normal_2_n64, lazy_stub_micromips32_big,
+       lazy_stub_micromips32_big_n64): Update to use 'or' for move instead
+       of 'addu/daddu'.
+
 2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
 
        * configure: Regenerated.
index acf76cffaeca604cb466f3c251a093851468973d..01cf33fe38a8d1c580afc410c200ddd446e71a4a 100644 (file)
@@ -6162,7 +6162,7 @@ const uint32_t Mips_output_data_plt<size, big_endian>::plt0_entry_o32[] =
   0x8f990000,         // lw $25, %lo(&GOTPLT[0])($28)
   0x279c0000,         // addiu $28, $28, %lo(&GOTPLT[0])
   0x031cc023,         // subu $24, $24, $28
-  0x03e07821,         // move $15, $31        # 32-bit move (addu)
+  0x03e07825,         // or $15, $31, zero
   0x0018c082,         // srl $24, $24, 2
   0x0320f809,         // jalr $25
   0x2718fffe          // subu $24, $24, 2
@@ -6177,7 +6177,7 @@ const uint32_t Mips_output_data_plt<size, big_endian>::plt0_entry_n32[] =
   0x8dd90000,         // lw $25, %lo(&GOTPLT[0])($14)
   0x25ce0000,         // addiu $14, $14, %lo(&GOTPLT[0])
   0x030ec023,         // subu $24, $24, $14
-  0x03e07821,         // move $15, $31        # 32-bit move (addu)
+  0x03e07825,         // or $15, $31, zero
   0x0018c082,         // srl $24, $24, 2
   0x0320f809,         // jalr $25
   0x2718fffe          // subu $24, $24, 2
@@ -6192,7 +6192,7 @@ const uint32_t Mips_output_data_plt<size, big_endian>::plt0_entry_n64[] =
   0xddd90000,         // ld $25, %lo(&GOTPLT[0])($14)
   0x25ce0000,         // addiu $14, $14, %lo(&GOTPLT[0])
   0x030ec023,         // subu $24, $24, $14
-  0x03e07821,         // move $15, $31        # 64-bit move (daddu)
+  0x03e07825,         // or $15, $31, zero
   0x0018c0c2,         // srl $24, $24, 3
   0x0320f809,         // jalr $25
   0x2718fffe          // subu $24, $24, 2
@@ -6229,7 +6229,7 @@ plt0_entry_micromips32_o32[] =
   0xff3c, 0x0000,      // lw $25, %lo(&GOTPLT[0])($28)
   0x339c, 0x0000,      // addiu $28, $28, %lo(&GOTPLT[0])
   0x0398, 0xc1d0,      // subu $24, $24, $28
-  0x001f, 0x7950,      // move $15, $31
+  0x001f, 0x7a90,      // or $15, $31, zero
   0x0318, 0x1040,      // srl $24, $24, 2
   0x03f9, 0x0f3c,      // jalr $25
   0x3318, 0xfffe       // subu $24, $24, 2
@@ -6631,7 +6631,7 @@ const uint32_t
 Mips_output_data_mips_stubs<size, big_endian>::lazy_stub_normal_1[4] =
 {
   0x8f998010,         // lw t9,0x8010(gp)
-  0x03e07821,         // addu t7,ra,zero
+  0x03e07825,         // or t7,ra,zero
   0x0320f809,         // jalr t9,ra
   0x24180000          // addiu t8,zero,DYN_INDEX sign extended
 };
@@ -6643,7 +6643,7 @@ const uint32_t
 Mips_output_data_mips_stubs<size, big_endian>::lazy_stub_normal_1_n64[4] =
 {
   0xdf998010,         // ld t9,0x8010(gp)
-  0x03e0782d,         // daddu t7,ra,zero
+  0x03e07825,         // or t7,ra,zero
   0x0320f809,         // jalr t9,ra
   0x64180000          // daddiu t8,zero,DYN_INDEX sign extended
 };
@@ -6655,7 +6655,7 @@ const uint32_t
 Mips_output_data_mips_stubs<size, big_endian>::lazy_stub_normal_2[4] =
 {
   0x8f998010,         // lw t9,0x8010(gp)
-  0x03e07821,         // addu t7,ra,zero
+  0x03e07825,         // or t7,ra,zero
   0x0320f809,         // jalr t9,ra
   0x34180000          // ori t8,zero,DYN_INDEX unsigned
 };
@@ -6667,7 +6667,7 @@ const uint32_t
 Mips_output_data_mips_stubs<size, big_endian>::lazy_stub_normal_2_n64[4] =
 {
   0xdf998010,         // ld t9,0x8010(gp)
-  0x03e0782d,         // daddu t7,ra,zero
+  0x03e07825,         // or t7,ra,zero
   0x0320f809,         // jalr t9,ra
   0x34180000          // ori t8,zero,DYN_INDEX unsigned
 };
@@ -6678,7 +6678,7 @@ template<int size, bool big_endian>
 const uint32_t Mips_output_data_mips_stubs<size, big_endian>::lazy_stub_big[5] =
 {
   0x8f998010,         // lw t9,0x8010(gp)
-  0x03e07821,         // addu t7,ra,zero
+  0x03e07825,         // or t7,ra,zero
   0x3c180000,         // lui t8,DYN_INDEX
   0x0320f809,         // jalr t9,ra
   0x37180000          // ori t8,t8,DYN_INDEX
@@ -6691,7 +6691,7 @@ const uint32_t
 Mips_output_data_mips_stubs<size, big_endian>::lazy_stub_big_n64[5] =
 {
   0xdf998010,         // ld t9,0x8010(gp)
-  0x03e0782d,         // daddu t7,ra,zero
+  0x03e07825,         // or t7,ra,zero
   0x3c180000,         // lui t8,DYN_INDEX
   0x0320f809,         // jalr t9,ra
   0x37180000          // ori t8,t8,DYN_INDEX
@@ -6788,7 +6788,7 @@ Mips_output_data_mips_stubs<size, big_endian>::
 lazy_stub_micromips32_normal_1[] =
 {
   0xff3c, 0x8010,     // lw t9,0x8010(gp)
-  0x001f, 0x7950,     // addu t7,ra,zero
+  0x001f, 0x7a90,     // or t7,ra,zero
   0x03f9, 0x0f3c,     // jalr ra,t9
   0x3300, 0x0000      // addiu t8,zero,DYN_INDEX sign extended
 };
@@ -6802,7 +6802,7 @@ Mips_output_data_mips_stubs<size, big_endian>::
 lazy_stub_micromips32_normal_1_n64[] =
 {
   0xdf3c, 0x8010,     // ld t9,0x8010(gp)
-  0x581f, 0x7950,     // daddu t7,ra,zero
+  0x001f, 0x7a90,     // or t7,ra,zero
   0x03f9, 0x0f3c,     // jalr ra,t9
   0x5f00, 0x0000      // daddiu t8,zero,DYN_INDEX sign extended
 };
@@ -6816,7 +6816,7 @@ Mips_output_data_mips_stubs<size, big_endian>::
 lazy_stub_micromips32_normal_2[] =
 {
   0xff3c, 0x8010,     // lw t9,0x8010(gp)
-  0x001f, 0x7950,     // addu t7,ra,zero
+  0x001f, 0x7a90,     // or t7,ra,zero
   0x03f9, 0x0f3c,     // jalr ra,t9
   0x5300, 0x0000      // ori t8,zero,DYN_INDEX unsigned
 };
@@ -6830,7 +6830,7 @@ Mips_output_data_mips_stubs<size, big_endian>::
 lazy_stub_micromips32_normal_2_n64[] =
 {
   0xdf3c, 0x8010,     // ld t9,0x8010(gp)
-  0x581f, 0x7950,     // daddu t7,ra,zero
+  0x001f, 0x7a90,     // or t7,ra,zero
   0x03f9, 0x0f3c,     // jalr ra,t9
   0x5300, 0x0000      // ori t8,zero,DYN_INDEX unsigned
 };
@@ -6842,7 +6842,7 @@ const uint32_t
 Mips_output_data_mips_stubs<size, big_endian>::lazy_stub_micromips32_big[] =
 {
   0xff3c, 0x8010,     // lw t9,0x8010(gp)
-  0x001f, 0x7950,     // addu t7,ra,zero
+  0x001f, 0x7a90,     // or t7,ra,zero
   0x41b8, 0x0000,     // lui t8,DYN_INDEX
   0x03f9, 0x0f3c,     // jalr ra,t9
   0x5318, 0x0000      // ori t8,t8,DYN_INDEX
@@ -6855,7 +6855,7 @@ const uint32_t
 Mips_output_data_mips_stubs<size, big_endian>::lazy_stub_micromips32_big_n64[] =
 {
   0xdf3c, 0x8010,     // ld t9,0x8010(gp)
-  0x581f, 0x7950,     // daddu t7,ra,zero
+  0x001f, 0x7a90,     // or t7,ra,zero
   0x41b8, 0x0000,     // lui t8,DYN_INDEX
   0x03f9, 0x0f3c,     // jalr ra,t9
   0x5318, 0x0000      // ori t8,t8,DYN_INDEX
index a2d7bb79210efda3c98d7599c727d54e4c13bc9f..cecbfa66e5f8793e644ab2d4dcea97cf70f0847d 100644 (file)
@@ -1,3 +1,34 @@
+2015-08-12  Simon Dardis  <simon.dardis@imgtec.com>
+
+       * ld-mips-elf/compressed-plt-1-n32-mips16.od: Update test.
+       * ld-mips-elf/compressed-plt-1-n32-umips.od: Ditto.
+       * ld-mips-elf/compressed-plt-1-o32-mips16-got.od: Ditto.
+       * ld-mips-elf/compressed-plt-1-o32-mips16-only.od: Ditto.
+       * ld-mips-elf/compressed-plt-1-o32-mips16-word.od: Ditto.
+       * ld-mips-elf/compressed-plt-1-o32-mips16.od: Ditto.
+       * ld-mips-elf/compressed-plt-1-o32-se.od: Ditto.
+       * ld-mips-elf/compressed-plt-1-o32-umips-got.od: Ditto.
+       * ld-mips-elf/compressed-plt-1-o32-umips-word.od: Ditto.
+       * ld-mips-elf/compressed-plt-1-o32-umips.od: Ditto.
+       * ld-mips-elf/jalx-2.dd: Ditto.
+       * ld-mips-elf/mips16-pic-3.dd: Ditto.
+       * ld-mips-elf/pic-and-nonpic-3a.dd: Ditto.
+       * ld-mips-elf/pic-and-nonpic-3b.dd: Ditto.
+       * ld-mips-elf/pic-and-nonpic-5b.dd: Ditto.
+       * ld-mips-elf/pic-and-nonpic-6-n32.dd: Ditto.
+       * ld-mips-elf/pic-and-nonpic-6-o32.dd: Ditto.
+       * ld-mips-elf/stub-dynsym-1-10000.d: Ditto.
+       * ld-mips-elf/stub-dynsym-1-2fe80.d: Ditto.
+       * ld-mips-elf/stub-dynsym-1-7fff.d: Ditto.
+       * ld-mips-elf/stub-dynsym-1-8000.d: Ditto.
+       * ld-mips-elf/stub-dynsym-1-fff0.d: Ditto.
+       * ld-mips-elf/tlsbin-o32.d: Ditto.
+       * ld-mips-elf/tlsdyn-o32-1.d: Ditto.
+       * ld-mips-elf/tlsdyn-o32-2.d: Ditto.
+       * ld-mips-elf/tlsdyn-o32-3.d: Ditto.
+       * ld-mips-elf/tlsdyn-o32.d: Ditto.
+       * ld-mips-elf/tlslib-o32.d: Ditto.
+
 2015-08-12  Jiong Wang  <jiong.wang@arm.com>
 
        * ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul): Support all
index c17dacb5214cc365844f3bbbe6116944db247888..95024db5bf54fd748a297210065d65d612c103e5 100644 (file)
@@ -10,7 +10,7 @@ Disassembly of section \.plt:
 .*:    8dd90000        lw      \$25,0\(\$14\)
 .*:    25ce0000        addiu   \$14,\$14,0
 .*:    030ec023        subu    \$24,\$24,\$14
-.*:    03e07821        move    \$15,\$31
+.*:    03e07825        move    \$15,\$31
 .*:    0018c082        srl     \$24,\$24,0x2
 .*:    0320f809        jalr    \$25
 .*:    2718fffe        addiu   \$24,\$24,-2
@@ -188,17 +188,17 @@ Disassembly of section \.MIPS\.stubs:
 10101000 <_MIPS_STUBS_>:
 # Lazy-binding stub for f_iu.
 .*:    8f998010        lw      \$25,-32752\(\$28\)
-.*:    03e07821        move    \$15,\$31
+.*:    03e07825        move    \$15,\$31
 .*:    0320f809        jalr    \$25
 .*:    24180021        li      \$24,33
 # Lazy-binding stub for f_ic.
 .*:    8f998010        lw      \$25,-32752\(\$28\)
-.*:    03e07821        move    \$15,\$31
+.*:    03e07825        move    \$15,\$31
 .*:    0320f809        jalr    \$25
 .*:    24180020        li      \$24,32
 # Lazy-binding stub for f_iu_ic.
 .*:    8f998010        lw      \$25,-32752\(\$28\)
-.*:    03e07821        move    \$15,\$31
+.*:    03e07825        move    \$15,\$31
 .*:    0320f809        jalr    \$25
 .*:    2418001f        li      \$24,31
        \.\.\.
index fc0d4ea822ad059a2f579ca3cab5e8ca9280585e..cc7d3557924f401a98a46c0b58b4702be66a374f 100644 (file)
@@ -10,7 +10,7 @@ Disassembly of section \.plt:
 .*:    8dd90000        lw      \$25,0\(\$14\)
 .*:    25ce0000        addiu   \$14,\$14,0
 .*:    030ec023        subu    \$24,\$24,\$14
-.*:    03e07821        move    \$15,\$31
+.*:    03e07825        move    \$15,\$31
 .*:    0018c082        srl     \$24,\$24,0x2
 .*:    0320f809        jalr    \$25
 .*:    2718fffe        addiu   \$24,\$24,-2
index c48ef7f0e1475144c5529760be25e7d4deea3dff..1e486ac44a73880459ac1412f60b8b79329a5048 100644 (file)
@@ -12,7 +12,7 @@ Disassembly of section \.plt:
 .*:    8f990000        lw      \$25,0\(\$28\)
 .*:    279c0000        addiu   \$28,\$28,0
 .*:    031cc023        subu    \$24,\$24,\$28
-.*:    03e07821        move    \$15,\$31
+.*:    03e07825        move    \$15,\$31
 .*:    0018c082        srl     \$24,\$24,0x2
 .*:    0320f809        jalr    \$25
 .*:    2718fffe        addiu   \$24,\$24,-2
index e76ca4f6665370c306fdc2e1eb433d4c91765780..0ce363492ff79404ca5a0d27ab07c42876547656 100644 (file)
@@ -12,7 +12,7 @@ Disassembly of section \.plt:
 .*:    8f990000        lw      \$25,0\(\$28\)
 .*:    279c0000        addiu   \$28,\$28,0
 .*:    031cc023        subu    \$24,\$24,\$28
-.*:    03e07821        move    \$15,\$31
+.*:    03e07825        move    \$15,\$31
 .*:    0018c082        srl     \$24,\$24,0x2
 .*:    0320f809        jalr    \$25
 .*:    2718fffe        addiu   \$24,\$24,-2
@@ -70,7 +70,7 @@ Disassembly of section \.MIPS\.stubs:
 10101000 <_MIPS_STUBS_>:
 # Lazy-binding stub for f_ic.
 .*:    8f998010        lw      \$25,-32752\(\$28\)
-.*:    03e07821        move    \$15,\$31
+.*:    03e07825        move    \$15,\$31
 .*:    0320f809        jalr    \$25
 .*:    24180009        li      \$24,9
        \.\.\.
index 7fc547b1f8a89a3c0f19827fa7d8010efa124151..75a2f57283f96acbc8c30737d8bc8dddb16bca47 100644 (file)
@@ -12,7 +12,7 @@ Disassembly of section \.plt:
 .*:    8f990000        lw      \$25,0\(\$28\)
 .*:    279c0000        addiu   \$28,\$28,0
 .*:    031cc023        subu    \$24,\$24,\$28
-.*:    03e07821        move    \$15,\$31
+.*:    03e07825        move    \$15,\$31
 .*:    0018c082        srl     \$24,\$24,0x2
 .*:    0320f809        jalr    \$25
 .*:    2718fffe        addiu   \$24,\$24,-2
index 712e651f16143b192d6f0aa01adacea33844a4e3..0660bc8c9a15d94e6c8f394cd73e12e0fd48bb54 100644 (file)
@@ -12,7 +12,7 @@ Disassembly of section \.plt:
 .*:    8f990000        lw      \$25,0\(\$28\)
 .*:    279c0000        addiu   \$28,\$28,0
 .*:    031cc023        subu    \$24,\$24,\$28
-.*:    03e07821        move    \$15,\$31
+.*:    03e07825        move    \$15,\$31
 .*:    0018c082        srl     \$24,\$24,0x2
 .*:    0320f809        jalr    \$25
 .*:    2718fffe        addiu   \$24,\$24,-2
@@ -286,17 +286,17 @@ Disassembly of section \.MIPS\.stubs:
 10101000 <_MIPS_STUBS_>:
 # Lazy-binding stub for f_iu.
 .*:    8f998010        lw      \$25,-32752\(\$28\)
-.*:    03e07821        move    \$15,\$31
+.*:    03e07825        move    \$15,\$31
 .*:    0320f809        jalr    \$25
 .*:    24180021        li      \$24,33
 # Lazy-binding stub for f_ic.
 .*:    8f998010        lw      \$25,-32752\(\$28\)
-.*:    03e07821        move    \$15,\$31
+.*:    03e07825        move    \$15,\$31
 .*:    0320f809        jalr    \$25
 .*:    24180020        li      \$24,32
 # Lazy-binding stub for f_iu_ic.
 .*:    8f998010        lw      \$25,-32752\(\$28\)
-.*:    03e07821        move    \$15,\$31
+.*:    03e07825        move    \$15,\$31
 .*:    0320f809        jalr    \$25
 .*:    2418001f        li      \$24,31
        \.\.\.
index 6e0d15a124a6fa944968976d621e13cf357c84e3..1b17d46e00421a1d640f4bf6bd04928b841a4ab8 100644 (file)
@@ -9,7 +9,7 @@ Disassembly of section \.plt:
 .*:    8f990000        lw      \$25,0\(\$28\)
 .*:    279c0000        addiu   \$28,\$28,0
 .*:    031cc023        subu    \$24,\$24,\$28
-.*:    03e07821        move    \$15,\$31
+.*:    03e07825        move    \$15,\$31
 .*:    0018c082        srl     \$24,\$24,0x2
 .*:    0320f809        jalr    \$25
 .*:    2718fffe        addiu   \$24,\$24,-2
@@ -55,7 +55,7 @@ Disassembly of section \.MIPS\.stubs:
 10101000 <_MIPS_STUBS_>:
 # Lazy-binding stub for f_iu.
 .*:    8f998010        lw      \$25,-32752\(\$28\)
-.*:    03e07821        move    \$15,\$31
+.*:    03e07825        move    \$15,\$31
 .*:    0320f809        jalr    \$25
 .*:    24180009        li      \$24,9
        \.\.\.
index 2d7b513c8e8e45c666b060b045aa5ecc71e089df..45a0df432c1071cf7362bd481451ec40279d15f8 100644 (file)
@@ -11,7 +11,7 @@ Disassembly of section \.plt:
 .*:    8f990000        lw      \$25,0\(\$28\)
 .*:    279c0000        addiu   \$28,\$28,0
 .*:    031cc023        subu    \$24,\$24,\$28
-.*:    03e07821        move    \$15,\$31
+.*:    03e07825        move    \$15,\$31
 .*:    0018c082        srl     \$24,\$24,0x2
 .*:    0320f809        jalr    \$25
 .*:    2718fffe        addiu   \$24,\$24,-2
index 4d0572b3284e7470b54968b9b11d0d635465e128..ae884f0fbeffc122c4f073a840f382b7c852f81e 100644 (file)
@@ -11,7 +11,7 @@ Disassembly of section \.plt:
 .*:    8f990000        lw      \$25,0\(\$28\)
 .*:    279c0000        addiu   \$28,\$28,0
 .*:    031cc023        subu    \$24,\$24,\$28
-.*:    03e07821        move    \$15,\$31
+.*:    03e07825        move    \$15,\$31
 .*:    0018c082        srl     \$24,\$24,0x2
 .*:    0320f809        jalr    \$25
 .*:    2718fffe        addiu   \$24,\$24,-2
index 416509fa6af88c59d3160055ee89e68395de49ca..a18ecc577a9399faf01a75b1035e83fbe5d7ea1d 100644 (file)
@@ -11,7 +11,7 @@ Disassembly of section \.plt:
 .*:    8f990000        lw      \$25,0\(\$28\)
 .*:    279c0000        addiu   \$28,\$28,0
 .*:    031cc023        subu    \$24,\$24,\$28
-.*:    03e07821        move    \$15,\$31
+.*:    03e07825        move    \$15,\$31
 .*:    0018c082        srl     \$24,\$24,0x2
 .*:    0320f809        jalr    \$25
 .*:    2718fffe        addiu   \$24,\$24,-2
index 69985f635dab46ae58a8e09c5a115f4b926c79d2..3a7c1e1128c9987c2432a875289a46f5090dab12 100644 (file)
@@ -5,8 +5,8 @@ Disassembly of section \.text:
 04400000 <external_function>:
  4400000:      27bdfff8        addiu   sp,sp,-8
  4400004:      afbe0004        sw      s8,4\(sp\)
- 4400008:      03a0f021        move    s8,sp
- 440000c:      03c0e821        move    sp,s8
+ 4400008:      03a0f025        move    s8,sp
+ 440000c:      03c0e825        move    sp,s8
  4400010:      8fbe0004        lw      s8,4\(sp\)
  4400014:      27bd0008        addiu   sp,sp,8
  4400018:      03e00008        jr      ra
index 93ba0851fb17c912c2b034d4d8047df4d98e7aa8..2c276abb16ca8941c6cc25d3dcc4bdc8b7be9c7d 100644 (file)
@@ -140,7 +140,7 @@ Disassembly of section \.text:
 .*:    44846000        mtc1    a0,\$f12
 
 000404f0 <__call_fp_used2>:
-.*:    03e09021        move    s2,ra
+.*:    03e09025        move    s2,ra
 .*:    3c190004        lui     t9,.*
 .*:    27390418        addiu   t9,t9,.*
 .*:    0320f809        jalr    t9
@@ -150,7 +150,7 @@ Disassembly of section \.text:
 .*:    00000000        nop
 
 00040510 <__call_fp_used4>:
-.*:    03e09021        move    s2,ra
+.*:    03e09025        move    s2,ra
 .*:    3c190004        lui     t9,.*
 .*:    27390428        addiu   t9,t9,.*
 .*:    0320f809        jalr    t9
@@ -160,7 +160,7 @@ Disassembly of section \.text:
 .*:    00000000        nop
 
 00040530 <__call_fp_used8>:
-.*:    03e09021        move    s2,ra
+.*:    03e09025        move    s2,ra
 .*:    3c190004        lui     t9,.*
 .*:    27390448        addiu   t9,t9,.*
 .*:    0320f809        jalr    t9
@@ -170,7 +170,7 @@ Disassembly of section \.text:
 .*:    00000000        nop
 
 00040550 <__call_fp_extern2>:
-.*:    03e09021        move    s2,ra
+.*:    03e09025        move    s2,ra
 .*:    3c190004        lui     t9,.*
 .*:    27390630        addiu   t9,t9,.*
 .*:    0320f809        jalr    t9
@@ -198,7 +198,7 @@ Disassembly of section \.text:
 .*:    44846000        mtc1    a0,\$f12
 
 000405a0 <__call_fp_used6>:
-.*:    03e09021        move    s2,ra
+.*:    03e09025        move    s2,ra
 .*:    3c190004        lui     t9,.*
 .*:    27390438        addiu   t9,t9,.*
 .*:    0320f809        jalr    t9
@@ -208,7 +208,7 @@ Disassembly of section \.text:
 .*:    00000000        nop
 
 000405c0 <__call_fp_used10>:
-.*:    03e09021        move    s2,ra
+.*:    03e09025        move    s2,ra
 .*:    3c190004        lui     t9,.*
 .*:    27390458        addiu   t9,t9,.*
 .*:    0320f809        jalr    t9
@@ -218,7 +218,7 @@ Disassembly of section \.text:
 .*:    00000000        nop
 
 000405e0 <__call_fp_extern4>:
-.*:    03e09021        move    s2,ra
+.*:    03e09025        move    s2,ra
 .*:    3c190004        lui     t9,.*
 .*:    27390640        addiu   t9,t9,.*
 .*:    0320f809        jalr    t9
@@ -234,7 +234,7 @@ Disassembly of section \.plt:
 .*:    8f990400        lw      t9,1024\(gp\)
 .*:    279c0400        addiu   gp,gp,1024
 .*:    031cc023        subu    t8,t8,gp
-.*:    03e07821        move    t7,ra
+.*:    03e07825        move    t7,ra
 .*:    0018c082        srl     t8,t8,0x2
 .*:    0320f809        jalr    t9
 .*:    2718fffe        addiu   t8,t8,-2
index dfb4b27bc600aa8672d5f3afb67ee01c27e78a8d..3dcfe12cfc153a196cba17e305f816c27dff5281 100644 (file)
@@ -33,7 +33,7 @@ Disassembly of section \.MIPS\.stubs:
 
 00000c00 <_MIPS_STUBS_>:
  c00:  8f998010        lw      t9,-32752\(gp\)
- c04:  03e07821        move    t7,ra
+ c04:  03e07825        move    t7,ra
  c08:  0320f809        jalr    t9
  c0c:  24180005        li      t8,5
        \.\.\.
index 151b4d281769d99307be39571da8e5077c80a5c3..9f7e0786832b9cdd319cca712aae073ef9de325b 100644 (file)
@@ -14,7 +14,7 @@ Disassembly of section \.plt:
 .*:    8f991000        lw      t9,4096\(gp\)
 .*:    279c1000        addiu   gp,gp,4096
 .*:    031cc023        subu    t8,t8,gp
-.*:    03e07821        move    t7,ra
+.*:    03e07825        move    t7,ra
 .*:    0018c082        srl     t8,t8,0x2
 .*:    0320f809        jalr    t9
 .*:    2718fffe        addiu   t8,t8,-2
@@ -47,7 +47,7 @@ Disassembly of section \.MIPS\.stubs:
 
 00044030 <_MIPS_STUBS_>:
 .*:    8f998010        lw      t9,-32752\(gp\)
-.*:    03e07821        move    t7,ra
+.*:    03e07825        move    t7,ra
 .*:    0320f809        jalr    t9
 .*:    24180005        li      t8,5
        \.\.\.
index 9adfb31ba448b79e5571c3a5b59c3194ebd997fd..23b2040489daa9285352494dba6a71d79965af92 100644 (file)
@@ -8,7 +8,7 @@ Disassembly of section \.plt:
 .*:    8f991000        lw      t9,4096\(gp\)
 .*:    279c1000        addiu   gp,gp,4096
 .*:    031cc023        subu    t8,t8,gp
-.*:    03e07821        move    t7,ra
+.*:    03e07825        move    t7,ra
 .*:    0018c082        srl     t8,t8,0x2
 .*:    0320f809        jalr    t9
 .*:    2718fffe        addiu   t8,t8,-2
index 276d8740a80a2359aa76a831159950dab3f7197a..4242eac02ca4824032678c32fbd0469e96da35e4 100644 (file)
@@ -19,7 +19,7 @@ Disassembly of section \.plt:
 .*:    8dd91000        lw      t9,4096\(t2\)
 .*:    25ce1000        addiu   t2,t2,4096
 .*:    030ec023        subu    t8,t8,t2
-.*:    03e07821        move    t3,ra
+.*:    03e07825        move    t3,ra
 .*:    0018c082        srl     t8,t8,0x2
 .*:    0320f809        jalr    t9
 .*:    2718fffe        addiu   t8,t8,-2
@@ -96,7 +96,7 @@ Disassembly of section \.MIPS\.stubs:
 
 000440a0 <_MIPS_STUBS_>:
    440a0:      8f998010        lw      t9,-32752\(gp\)
-   440a4:      03e07821        move    t3,ra
+   440a4:      03e07825        move    t3,ra
    440a8:      0320f809        jalr    t9
    440ac:      24180009        li      t8,9
        \.\.\.
index fbb36153c3137ba69504a66fc948050e785cd364..c98be4bf3cc6505b0bb802ca85b7e4684892c7d9 100644 (file)
@@ -19,7 +19,7 @@ Disassembly of section \.plt:
 .*:    ddd91000        ld      t9,4096\(t2\)
 .*:    25ce1000        addiu   t2,t2,4096
 .*:    030ec023        subu    t8,t8,t2
-.*:    03e0782d        move    t3,ra
+.*:    03e07825        move    t3,ra
 .*:    0018c0c2        srl     t8,t8,0x3
 .*:    0320f809        jalr    t9
 .*:    2718fffe        addiu   t8,t8,-2
@@ -96,7 +96,7 @@ Disassembly of section \.MIPS\.stubs:
 
 0+440a0 <_MIPS_STUBS_>:
    440a0:      df998010        ld      t9,-32752\(gp\)
-   440a4:      03e0782d        move    t3,ra
+   440a4:      03e07825        move    t3,ra
    440a8:      0320f809        jalr    t9
    440ac:      64180009        daddiu  t8,zero,9
        \.\.\.
index e10a0afc38f3114795e427b5ffd7ca4c3e6e55e1..e96e2553a9471c81560bd282f86cd5306f0b4c17 100644 (file)
@@ -19,7 +19,7 @@ Disassembly of section \.plt:
 .*:    8f991000        lw      t9,4096\(gp\)
 .*:    279c1000        addiu   gp,gp,4096
 .*:    031cc023        subu    t8,t8,gp
-.*:    03e07821        move    t7,ra
+.*:    03e07825        move    t7,ra
 .*:    0018c082        srl     t8,t8,0x2
 .*:    0320f809        jalr    t9
 .*:    2718fffe        addiu   t8,t8,-2
@@ -96,7 +96,7 @@ Disassembly of section \.MIPS\.stubs:
 
 000440a0 <_MIPS_STUBS_>:
    440a0:      8f998010        lw      t9,-32752\(gp\)
-   440a4:      03e07821        move    t7,ra
+   440a4:      03e07825        move    t7,ra
    440a8:      0320f809        jalr    t9
    440ac:      24180009        li      t8,9
        \.\.\.
index e2d375bf069785fd2d75a0bccd44a1379fd2726f..df32fb107493a735079e19bdce3bbca30958de7a 100644 (file)
@@ -5,7 +5,7 @@ Disassembly of section \.MIPS\.stubs:
 
 .* <_MIPS_STUBS_>:
 .*:    8f998010        lw      t9,-32752\(gp\)
-.*:    03e07821        move    t7,ra
+.*:    03e07825        move    t7,ra
 .*:    3c180001        lui     t8,0x1
 .*:    0320f809        jalr    t9
 .*:    37180000        ori     t8,t8,0x0
index d428f3d519a7edcc6f8b5eb418859b5c1af5c726..8ff9686c213c4e10b8d8a31b5b8770eb1027267c 100644 (file)
@@ -5,7 +5,7 @@ Disassembly of section \.MIPS\.stubs:
 
 .* <_MIPS_STUBS_>:
 .*:    8f998010        lw      t9,-32752\(gp\)
-.*:    03e07821        move    t7,ra
+.*:    03e07825        move    t7,ra
 .*:    3c180002        lui     t8,0x2
 .*:    0320f809        jalr    t9
 .*:    3718fe80        ori     t8,t8,0xfe80
index e2b961f665e3248f72c30a2456e228a5918b1f69..3ebb23d70d53c1af0587581995001f080fb62b7b 100644 (file)
@@ -5,7 +5,7 @@ Disassembly of section \.MIPS\.stubs:
 
 .* <_MIPS_STUBS_>:
 .*:    8f998010        lw      t9,-32752\(gp\)
-.*:    03e07821        move    t7,ra
+.*:    03e07825        move    t7,ra
 .*:    0320f809        jalr    t9
 .*:    24187fff        li      t8,32767
 .*:    00000000        nop
index b1b19803c35822027e1507b8a419f1d53ed3458e..294d60aa26846b4ccae3314650cc7beb0a9bac78 100644 (file)
@@ -5,7 +5,7 @@ Disassembly of section \.MIPS\.stubs:
 
 .* <_MIPS_STUBS_>:
 .*:    8f998010        lw      t9,-32752\(gp\)
-.*:    03e07821        move    t7,ra
+.*:    03e07825        move    t7,ra
 .*:    0320f809        jalr    t9
 .*:    34188000        li      t8,0x8000
 .*:    00000000        nop
index 99ca9b236aeef43e82323ed2995fa9a13e5b6a76..7646c4da68673ef3d720a2486de789020fe5db0d 100644 (file)
@@ -5,7 +5,7 @@ Disassembly of section \.MIPS\.stubs:
 
 .* <_MIPS_STUBS_>:
 .*:    8f998010        lw      t9,-32752\(gp\)
-.*:    03e07821        move    t7,ra
+.*:    03e07825        move    t7,ra
 .*:    0320f809        jalr    t9
 .*:    3418fff0        li      t8,0xfff0
 .*:    00000000        nop
index dbf3ef383de625f46c8fefed3ff5414f81474159..769a890d5d945c0d6a5fce94ed9ff075017fee37 100644 (file)
@@ -8,7 +8,7 @@ Disassembly of section .text:
   4000d8:      0399e021        addu    gp,gp,t9
   4000dc:      27bdfff0        addiu   sp,sp,-16
   4000e0:      afbe0008        sw      s8,8\(sp\)
-  4000e4:      03a0f021        move    s8,sp
+  4000e4:      03a0f025        move    s8,sp
   4000e8:      afbc0000        sw      gp,0\(sp\)
   4000ec:      8f998018        lw      t9,-32744\(gp\)
   4000f0:      27848020        addiu   a0,gp,-32736
@@ -21,7 +21,7 @@ Disassembly of section .text:
   40010c:      0320f809        jalr    t9
   400110:      00000000        nop
   400114:      8fdc0000        lw      gp,0\(s8\)
-  400118:      00401021        move    v0,v0
+  400118:      00401025        move    v0,v0
   40011c:      3c030000        lui     v1,0x0
   400120:      24638000        addiu   v1,v1,-32768
   400124:      00621821        addu    v1,v1,v0
@@ -33,7 +33,7 @@ Disassembly of section .text:
   40013c:      3c030000        lui     v1,0x0
   400140:      24639004        addiu   v1,v1,-28668
   400144:      00621821        addu    v1,v1,v0
-  400148:      03c0e821        move    sp,s8
+  400148:      03c0e825        move    sp,s8
   40014c:      8fbe0008        lw      s8,8\(sp\)
   400150:      03e00008        jr      ra
   400154:      27bd0010        addiu   sp,sp,16
index 6b8f96cbfc465e20bf9eb05b1b4405f7abe5b59e..011df6c69c4f4b209d16d589ad9cd7589d1fbb9a 100644 (file)
@@ -9,7 +9,7 @@ Disassembly of section .text:
   .*:  0399e021        addu    gp,gp,t9
   .*:  27bdfff0        addiu   sp,sp,-16
   .*:  afbe0008        sw      s8,8\(sp\)
-  .*:  03a0f021        move    s8,sp
+  .*:  03a0f025        move    s8,sp
   .*:  afbc0000        sw      gp,0\(sp\)
   .*:  8f998018        lw      t9,-32744\(gp\)
   .*:  27848028        addiu   a0,gp,-32728
@@ -28,7 +28,7 @@ Disassembly of section .text:
   .*:  0320f809        jalr    t9
   .*:  00000000        nop
   .*:  8fdc0000        lw      gp,0\(s8\)
-  .*:  00401021        move    v0,v0
+  .*:  00401025        move    v0,v0
   .*:  3c030000        lui     v1,0x0
   .*:  24638000        addiu   v1,v1,-32768
   .*:  00621821        addu    v1,v1,v0
@@ -43,7 +43,7 @@ Disassembly of section .text:
   .*:  3c030000        lui     v1,0x0
   .*:  24639004        addiu   v1,v1,-28668
   .*:  00621821        addu    v1,v1,v0
-  .*:  03c0e821        move    sp,s8
+  .*:  03c0e825        move    sp,s8
   .*:  8fbe0008        lw      s8,8\(sp\)
   .*:  03e00008        jr      ra
   .*:  27bd0010        addiu   sp,sp,16
@@ -59,7 +59,7 @@ Disassembly of section .text:
   .*:  0399e021        addu    gp,gp,t9
   .*:  27bdfff0        addiu   sp,sp,-16
   .*:  afbe0008        sw      s8,8\(sp\)
-  .*:  03a0f021        move    s8,sp
+  .*:  03a0f025        move    s8,sp
   .*:  afbc0000        sw      gp,0\(sp\)
   .*:  8f998018        lw      t9,-32744\(gp\)
   .*:  27848028        addiu   a0,gp,-32728
@@ -78,7 +78,7 @@ Disassembly of section .text:
   .*:  0320f809        jalr    t9
   .*:  00000000        nop
   .*:  8fdc0000        lw      gp,0\(s8\)
-  .*:  00401021        move    v0,v0
+  .*:  00401025        move    v0,v0
   .*:  3c030000        lui     v1,0x0
   .*:  24638000        addiu   v1,v1,-32768
   .*:  00621821        addu    v1,v1,v0
@@ -93,7 +93,7 @@ Disassembly of section .text:
   .*:  3c030000        lui     v1,0x0
   .*:  24639004        addiu   v1,v1,-28668
   .*:  00621821        addu    v1,v1,v0
-  .*:  03c0e821        move    sp,s8
+  .*:  03c0e825        move    sp,s8
   .*:  8fbe0008        lw      s8,8\(sp\)
   .*:  03e00008        jr      ra
   .*:  27bd0010        addiu   sp,sp,16
index 6b8f96cbfc465e20bf9eb05b1b4405f7abe5b59e..011df6c69c4f4b209d16d589ad9cd7589d1fbb9a 100644 (file)
@@ -9,7 +9,7 @@ Disassembly of section .text:
   .*:  0399e021        addu    gp,gp,t9
   .*:  27bdfff0        addiu   sp,sp,-16
   .*:  afbe0008        sw      s8,8\(sp\)
-  .*:  03a0f021        move    s8,sp
+  .*:  03a0f025        move    s8,sp
   .*:  afbc0000        sw      gp,0\(sp\)
   .*:  8f998018        lw      t9,-32744\(gp\)
   .*:  27848028        addiu   a0,gp,-32728
@@ -28,7 +28,7 @@ Disassembly of section .text:
   .*:  0320f809        jalr    t9
   .*:  00000000        nop
   .*:  8fdc0000        lw      gp,0\(s8\)
-  .*:  00401021        move    v0,v0
+  .*:  00401025        move    v0,v0
   .*:  3c030000        lui     v1,0x0
   .*:  24638000        addiu   v1,v1,-32768
   .*:  00621821        addu    v1,v1,v0
@@ -43,7 +43,7 @@ Disassembly of section .text:
   .*:  3c030000        lui     v1,0x0
   .*:  24639004        addiu   v1,v1,-28668
   .*:  00621821        addu    v1,v1,v0
-  .*:  03c0e821        move    sp,s8
+  .*:  03c0e825        move    sp,s8
   .*:  8fbe0008        lw      s8,8\(sp\)
   .*:  03e00008        jr      ra
   .*:  27bd0010        addiu   sp,sp,16
@@ -59,7 +59,7 @@ Disassembly of section .text:
   .*:  0399e021        addu    gp,gp,t9
   .*:  27bdfff0        addiu   sp,sp,-16
   .*:  afbe0008        sw      s8,8\(sp\)
-  .*:  03a0f021        move    s8,sp
+  .*:  03a0f025        move    s8,sp
   .*:  afbc0000        sw      gp,0\(sp\)
   .*:  8f998018        lw      t9,-32744\(gp\)
   .*:  27848028        addiu   a0,gp,-32728
@@ -78,7 +78,7 @@ Disassembly of section .text:
   .*:  0320f809        jalr    t9
   .*:  00000000        nop
   .*:  8fdc0000        lw      gp,0\(s8\)
-  .*:  00401021        move    v0,v0
+  .*:  00401025        move    v0,v0
   .*:  3c030000        lui     v1,0x0
   .*:  24638000        addiu   v1,v1,-32768
   .*:  00621821        addu    v1,v1,v0
@@ -93,7 +93,7 @@ Disassembly of section .text:
   .*:  3c030000        lui     v1,0x0
   .*:  24639004        addiu   v1,v1,-28668
   .*:  00621821        addu    v1,v1,v0
-  .*:  03c0e821        move    sp,s8
+  .*:  03c0e825        move    sp,s8
   .*:  8fbe0008        lw      s8,8\(sp\)
   .*:  03e00008        jr      ra
   .*:  27bd0010        addiu   sp,sp,16
index 758a4f22c9a197bdfed17ec1c09d540ceef83d2f..3828aca8dfd98ffdf921faa0acd69b06d64cadbe 100644 (file)
@@ -9,7 +9,7 @@ Disassembly of section .text:
   .*:  0399e021        addu    gp,gp,t9
   .*:  27bdfff0        addiu   sp,sp,-16
   .*:  afbe0008        sw      s8,8\(sp\)
-  .*:  03a0f021        move    s8,sp
+  .*:  03a0f025        move    s8,sp
   .*:  afbc0000        sw      gp,0\(sp\)
   .*:  8f998018        lw      t9,-32744\(gp\)
   .*:  27848028        addiu   a0,gp,-32728
@@ -28,7 +28,7 @@ Disassembly of section .text:
   .*:  0320f809        jalr    t9
   .*:  00000000        nop
   .*:  8fdc0000        lw      gp,0\(s8\)
-  .*:  00401021        move    v0,v0
+  .*:  00401025        move    v0,v0
   .*:  3c030000        lui     v1,0x0
   .*:  24638000        addiu   v1,v1,-32768
   .*:  00621821        addu    v1,v1,v0
@@ -43,7 +43,7 @@ Disassembly of section .text:
   .*:  3c030000        lui     v1,0x0
   .*:  24639004        addiu   v1,v1,-28668
   .*:  00621821        addu    v1,v1,v0
-  .*:  03c0e821        move    sp,s8
+  .*:  03c0e825        move    sp,s8
   .*:  8fbe0008        lw      s8,8\(sp\)
   .*:  03e00008        jr      ra
   .*:  27bd0010        addiu   sp,sp,16
@@ -55,7 +55,7 @@ Disassembly of section .text:
   .*:  0399e021        addu    gp,gp,t9
   .*:  27bdfff0        addiu   sp,sp,-16
   .*:  afbe0008        sw      s8,8\(sp\)
-  .*:  03a0f021        move    s8,sp
+  .*:  03a0f025        move    s8,sp
   .*:  afbc0000        sw      gp,0\(sp\)
   .*:  8f998018        lw      t9,-32744\(gp\)
   .*:  27848028        addiu   a0,gp,-32728
@@ -74,7 +74,7 @@ Disassembly of section .text:
   .*:  0320f809        jalr    t9
   .*:  00000000        nop
   .*:  8fdc0000        lw      gp,0\(s8\)
-  .*:  00401021        move    v0,v0
+  .*:  00401025        move    v0,v0
   .*:  3c030000        lui     v1,0x0
   .*:  24638000        addiu   v1,v1,-32768
   .*:  00621821        addu    v1,v1,v0
@@ -89,7 +89,7 @@ Disassembly of section .text:
   .*:  3c030000        lui     v1,0x0
   .*:  24639004        addiu   v1,v1,-28668
   .*:  00621821        addu    v1,v1,v0
-  .*:  03c0e821        move    sp,s8
+  .*:  03c0e825        move    sp,s8
   .*:  8fbe0008        lw      s8,8\(sp\)
   .*:  03e00008        jr      ra
   .*:  27bd0010        addiu   sp,sp,16
index ea50960ac6f055c42b55b44194e9bbad32c1af03..e3f9ccbacf1329dec287e2c34f2f94f95ef0b46c 100644 (file)
@@ -9,7 +9,7 @@ Disassembly of section .text:
   .*:  0399e021        addu    gp,gp,t9
   .*:  27bdfff0        addiu   sp,sp,-16
   .*:  afbe0008        sw      s8,8\(sp\)
-  .*:  03a0f021        move    s8,sp
+  .*:  03a0f025        move    s8,sp
   .*:  afbc0000        sw      gp,0\(sp\)
   .*:  8f998018        lw      t9,-32744\(gp\)
   .*:  27848034        addiu   a0,gp,-32716
@@ -28,7 +28,7 @@ Disassembly of section .text:
   .*:  0320f809        jalr    t9
   .*:  00000000        nop
   .*:  8fdc0000        lw      gp,0\(s8\)
-  .*:  00401021        move    v0,v0
+  .*:  00401025        move    v0,v0
   .*:  3c030000        lui     v1,0x0
   .*:  24638000        addiu   v1,v1,-32768
   .*:  00621821        addu    v1,v1,v0
@@ -43,7 +43,7 @@ Disassembly of section .text:
   .*:  3c030000        lui     v1,0x0
   .*:  24639004        addiu   v1,v1,-28668
   .*:  00621821        addu    v1,v1,v0
-  .*:  03c0e821        move    sp,s8
+  .*:  03c0e825        move    sp,s8
   .*:  8fbe0008        lw      s8,8\(sp\)
   .*:  03e00008        jr      ra
   .*:  27bd0010        addiu   sp,sp,16
index 066f284c5837606c6081f1ee978d3882d1d965a5..9ac943b7f4726d6941787a5e32ac36154375f704 100644 (file)
@@ -9,7 +9,7 @@ Disassembly of section .text:
  .*:   0399e021        addu    gp,gp,t9
  .*:   27bdfff0        addiu   sp,sp,-16
  .*:   afbe0008        sw      s8,8\(sp\)
- .*:   03a0f021        move    s8,sp
+ .*:   03a0f025        move    s8,sp
  .*:   afbc0000        sw      gp,0\(sp\)
  .*:   8f998018        lw      t9,-32744\(gp\)
  .*:   27848020        addiu   a0,gp,-32736
@@ -22,7 +22,7 @@ Disassembly of section .text:
  .*:   0320f809        jalr    t9
  .*:   00000000        nop
  .*:   8fdc0000        lw      gp,0\(s8\)
- .*:   00401021        move    v0,v0
+ .*:   00401025        move    v0,v0
  .*:   3c030000        lui     v1,0x0
  .*:   24638000        addiu   v1,v1,-32768
  .*:   00621821        addu    v1,v1,v0
@@ -30,7 +30,7 @@ Disassembly of section .text:
  .*:   8f83801c        lw      v1,-32740\(gp\)
  .*:   00000000        nop
  .*:   00621821        addu    v1,v1,v0
- .*:   03c0e821        move    sp,s8
+ .*:   03c0e825        move    sp,s8
  .*:   8fbe0008        lw      s8,8\(sp\)
  .*:   03e00008        jr      ra
  .*:   27bd0010        addiu   sp,sp,16
@@ -40,7 +40,7 @@ Disassembly of section .MIPS.stubs:
 
 .* <_MIPS_STUBS_>:
  .*:   8f998010        lw      t9,-32752\(gp\)
- .*:   03e07821        move    t7,ra
+ .*:   03e07825        move    t7,ra
  .*:   0320f809        jalr    t9
  .*:   241800.*        li      t8,.*
        ...
index 9367d1c040ca7936aa45c9c9a342776a521d4850..ac0b43314181137c28e3c0b942e0a4182bedff86 100644 (file)
@@ -1,3 +1,9 @@
+2015-08-12  Simon Dardis  <simon.dardis@imgtec.com>
+
+       * micromips-opc.c (micromips_opcodes): Re-order table so that move
+       based on 'or' is first.
+       * mips-opc.c (mips_builtin_opcodes): Ditto.
+
 2015-08-11  Nick Clifton  <nickc@redhat.com>
 
        PR 18800
index 66c5418a3cf2139f9b7e9e8e8321087cd204a336..92ae40c1a9abc9fb2303c990cfe0e128de0edf9b 100644 (file)
@@ -299,16 +299,15 @@ const struct mips_opcode micromips_opcodes[] =
 {"li",                 "t,I",          0,    (int) M_LI,       INSN_MACRO,             0,              I1,             0,      0 },
 {"move",               "d,s",          0,    (int) M_MOVE,     INSN_MACRO,             0,              I1,             0,      0 },
 {"move",               "mp,mj",            0x0c00,     0xfc00, WR_1|RD_2,              0,              I1,             0,      0 },
+{"move",               "d,s",          0x00000290, 0xffe007ff, WR_1|RD_2,              INSN2_ALIAS,    I1,             0,      0 }, /* or */
 {"move",               "d,s",          0x58000150, 0xffe007ff, WR_1|RD_2,              INSN2_ALIAS,    I3,             0,      0 }, /* daddu */
 {"move",               "d,s",          0x00000150, 0xffe007ff, WR_1|RD_2,              INSN2_ALIAS,    I1,             0,      0 }, /* addu */
-{"move",               "d,s",          0x00000290, 0xffe007ff, WR_1|RD_2,              INSN2_ALIAS,    I1,             0,      0 }, /* or */
 {"b",                  "mD",               0xcc00,     0xfc00, UBD,                    0,              I1,             0,      0 },
 {"b",                  "p",            0x94000000, 0xffff0000, UBD,                    INSN2_ALIAS,    I1,             0,      0 }, /* beq 0, 0 */
 {"b",                  "p",            0x40400000, 0xffff0000, UBD,                    INSN2_ALIAS,    I1,             0,      0 }, /* bgez 0 */
 {"bal",                        "p",            0x40600000, 0xffff0000, WR_31|UBD,              INSN2_ALIAS|BD32, I1,           0,      0 }, /* bgezal 0 */
 {"bals",               "p",            0x42600000, 0xffff0000, WR_31|UBD,              INSN2_ALIAS|BD16, I1,           0,      0 }, /* bgezals 0 */
 {"bc",                 "p",            0x40e00000, 0xffff0000, NODS,                   INSN2_ALIAS|UBR,  I1,           0,      0 }, /* beqzc 0 */
-
 {"abs",                        "d,v",          0,    (int) M_ABS,      INSN_MACRO,             0,              I1,             0,      0 },
 {"abs.d",              "T,V",          0x5400237b, 0xfc00ffff, WR_1|RD_2|FP_D,         0,              I1,             0,      0 },
 {"abs.s",              "T,V",          0x5400037b, 0xfc00ffff, WR_1|RD_2|FP_S,         0,              I1,             0,      0 },
index efe6cf26292ccc0b8b4388092e6115eff1f3dbe0..b29a8ed4d0518947a5b88ef5406c6255d6d4f34a 100644 (file)
@@ -425,9 +425,9 @@ const struct mips_opcode mips_builtin_opcodes[] =
 {"li",                 "t,i",          0x34000000, 0xffe00000, WR_1,                   INSN2_ALIAS,    I1,             0,      0 }, /* ori */
 {"li",                 "t,I",          0,    (int) M_LI,       INSN_MACRO,             0,              I1,             0,      0 },
 {"move",               "d,s",          0,    (int) M_MOVE,     INSN_MACRO,             0,              I1,             0,      0 },
+{"move",               "d,s",          0x00000025, 0xfc1f07ff, WR_1|RD_2,              INSN2_ALIAS,    I1,             0,      0 },/* or */
 {"move",               "d,s",          0x0000002d, 0xfc1f07ff, WR_1|RD_2,              INSN2_ALIAS,    I3,             0,      0 },/* daddu */
 {"move",               "d,s",          0x00000021, 0xfc1f07ff, WR_1|RD_2,              INSN2_ALIAS,    I1,             0,      0 },/* addu */
-{"move",               "d,s",          0x00000025, 0xfc1f07ff, WR_1|RD_2,              INSN2_ALIAS,    I1,             0,      0 },/* or */
 {"b",                  "p",            0x10000000, 0xffff0000, UBD,                    INSN2_ALIAS,    I1,             0,      0 },/* beq 0,0 */
 {"b",                  "p",            0x04010000, 0xffff0000, UBD,                    INSN2_ALIAS,    I1,             0,      0 },/* bgez 0 */
 {"nal",                        "",             0x04100000, 0xffffffff, WR_31|CBD,              INSN2_ALIAS,    I1,             0,      0 },/* bltzal 0 */
This page took 0.086897 seconds and 4 git commands to generate.