summaryrefslogtreecommitdiff
path: root/libgcc
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
parenteff7af82161b3b3e2b53bb973d1e8842426a3955 (diff)
downloadgcc-b26b6f0d091d1b331680d590da37f07a96b46db9.tar.gz
* 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')
-rw-r--r--libgcc/ChangeLog5
-rw-r--r--libgcc/config/mips/mips16.S5
2 files changed, 10 insertions, 0 deletions
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 <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
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