• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

修订版048cdf861a99623019e47ad0681c076219771f88 (tree)
时间2004-01-22 08:25:38
作者Thiemo Seufer <ths@netw...>
CommiterThiemo Seufer

Log Message

* config/tc-mips.c (append_insn): Don't do r3900 interlock
optimization for -mtune=r3900, as this will break on other CPUs.

更改概述

差异

--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
1+2004-01-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2+
3+ * config/tc-mips.c (append_insn): Don't do r3900 interlock
4+ optimization for -mtune=r3900, as this will break on other CPUs.
5+
16 2004-01-11 Tom Rix <tcrix@worldnet.att.net>
27
38 * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -1708,7 +1708,7 @@ append_insn (char *place, struct mips_cl_insn *ip, expressionS *address_expr,
17081708 though the tx39's divide insns still do require the
17091709 delay. */
17101710 if (! (hilo_interlocks
1711- || (mips_tune == CPU_R3900 && (pinfo & INSN_MULT)))
1711+ || (mips_opts.arch == CPU_R3900 && (pinfo & INSN_MULT)))
17121712 && (mips_optimize == 0
17131713 || (pinfo & INSN_WRITE_LO)))
17141714 nops += 2;
@@ -1730,7 +1730,7 @@ append_insn (char *place, struct mips_cl_insn *ip, expressionS *address_expr,
17301730 insert a NOP. Some newer processors have interlocks.
17311731 Also the note tx39's multiply above. */
17321732 if (! (hilo_interlocks
1733- || (mips_tune == CPU_R3900 && (pinfo & INSN_MULT)))
1733+ || (mips_opts.arch == CPU_R3900 && (pinfo & INSN_MULT)))
17341734 && (mips_optimize == 0
17351735 || (pinfo & INSN_WRITE_HI)))
17361736 nops += 2;
@@ -1768,11 +1768,11 @@ append_insn (char *place, struct mips_cl_insn *ip, expressionS *address_expr,
17681768 || ((prev_prev_insn.insn_mo->pinfo & INSN_READ_LO)
17691769 && (pinfo & INSN_WRITE_LO)
17701770 && ! (hilo_interlocks
1771- || (mips_tune == CPU_R3900 && (pinfo & INSN_MULT))))
1771+ || (mips_opts.arch == CPU_R3900 && (pinfo & INSN_MULT))))
17721772 || ((prev_prev_insn.insn_mo->pinfo & INSN_READ_HI)
17731773 && (pinfo & INSN_WRITE_HI)
17741774 && ! (hilo_interlocks
1775- || (mips_tune == CPU_R3900 && (pinfo & INSN_MULT)))))
1775+ || (mips_opts.arch == CPU_R3900 && (pinfo & INSN_MULT)))))
17761776 prev_prev_nop = 1;
17771777 else
17781778 prev_prev_nop = 0;
@@ -2297,7 +2297,7 @@ append_insn (char *place, struct mips_cl_insn *ip, expressionS *address_expr,
22972297 | INSN_WRITE_COND_CODE))
22982298 && ! cop_interlocks)
22992299 || (! (hilo_interlocks
2300- || (mips_tune == CPU_R3900 && (pinfo & INSN_MULT)))
2300+ || (mips_opts.arch == CPU_R3900 && (pinfo & INSN_MULT)))
23012301 && (prev_pinfo
23022302 & (INSN_READ_LO
23032303 | INSN_READ_HI)))