mips16.S (DELAYf): Alias to DELAYt for the MIPS IV ISA and up.
authorMaciej W. Rozycki <macro@codesourcery.com>
Tue, 30 Jul 2013 18:34:43 +0000 (18:34 +0000)
committerMaciej W. Rozycki <macro@gcc.gnu.org>
Tue, 30 Jul 2013 18:34:43 +0000 (18:34 +0000)
* config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
ISA and up.

From-SVN: r201350

libgcc/ChangeLog
libgcc/config/mips/mips16.S

index 78700d7a15c8ddadf42d6a847f4567fa28930cb9..2b5ad4d52bd4822f8f250ed619af92e9ad057f96 100644 (file)
@@ -1,3 +1,8 @@
+2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
+       ISA and up.
+
 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
 
        * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
index 826750180025a308a9968ea2651e0c1f16dada32..944c7c884ed73aca566d584662f9c517b34a5666 100644 (file)
@@ -89,8 +89,13 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
        OPCODE, OP2;                            \
        .set    reorder
 
+#if __mips >= 4
+/* Coprocessor moves are interlocked from the MIPS IV ISA up.  */
+#define DELAYf(T, OPCODE, OP2) DELAYt (T, OPCODE, OP2)
+#else
 /* Use "OPCODE. OP2" and jump to T.  */
 #define DELAYf(T, OPCODE, OP2) OPCODE, OP2; jr T
+#endif
 
 /* MOVE_SF_BYTE0(D)
        Move the first single-precision floating-point argument between