aboutsummaryrefslogtreecommitdiff
path: root/libgcc/config/mips
diff options
context:
space:
mode:
authormacro <macro@138bc75d-0d04-0410-961f-82ee72b054a4>2013-07-30 18:34:43 +0000
committermacro <macro@138bc75d-0d04-0410-961f-82ee72b054a4>2013-07-30 18:34:43 +0000
commitb26b6f0d091d1b331680d590da37f07a96b46db9 (patch)
tree78130976047e4bd4145288cc28fb940d4140c951 /libgcc/config/mips
parenteff7af82161b3b3e2b53bb973d1e8842426a3955 (diff)
* config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
ISA and up. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201350 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/config/mips')
-rw-r--r--libgcc/config/mips/mips16.S5
1 files changed, 5 insertions, 0 deletions
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