aboutsummaryrefslogtreecommitdiff
path: root/libgcc/config/mips
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@codesourcery.com>2013-07-30 18:34:43 +0000
committerMaciej W. Rozycki <macro@gcc.gnu.org>2013-07-30 18:34:43 +0000
commit72be589b8c10def0500a20ed9fe8f371317d7d70 (patch)
tree78130976047e4bd4145288cc28fb940d4140c951 /libgcc/config/mips
parent9a92fa8b6670cf1016ca93283aa6740ef0afdfb3 (diff)
downloadgcc-72be589b8c10def0500a20ed9fe8f371317d7d70.zip
gcc-72be589b8c10def0500a20ed9fe8f371317d7d70.tar.gz
gcc-72be589b8c10def0500a20ed9fe8f371317d7d70.tar.bz2
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
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 8267501..944c7c8 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