From 72be589b8c10def0500a20ed9fe8f371317d7d70 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Tue, 30 Jul 2013 18:34:43 +0000 Subject: [PATCH] mips16.S (DELAYf): Alias to DELAYt for the MIPS IV ISA and up. * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV ISA and up. From-SVN: r201350 --- libgcc/ChangeLog | 5 +++++ libgcc/config/mips/mips16.S | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 78700d7a15c..2b5ad4d52bd 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2013-07-30 Maciej W. Rozycki + + * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV + ISA and up. + 2013-07-23 Andreas Krebbel * config/s390/linux-unwind.h: Use the proper dwarf to hard reg diff --git a/libgcc/config/mips/mips16.S b/libgcc/config/mips/mips16.S index 82675018002..944c7c884ed 100644 --- a/libgcc/config/mips/mips16.S +++ b/libgcc/config/mips/mips16.S @@ -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 -- 2.30.2