aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2005-03-09 09:35:00 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2005-03-09 09:35:00 +0000
commitdc36a61fc5419826b501f553c824cb595dcedb5c (patch)
tree957512c422ff1d8a5c25f845b9e4052e44ebbd6d /gas/config
parent7d10b47d345a502553140c66912cf3c9505bb93d (diff)
downloadgdb-dc36a61fc5419826b501f553c824cb595dcedb5c.zip
gdb-dc36a61fc5419826b501f553c824cb595dcedb5c.tar.gz
gdb-dc36a61fc5419826b501f553c824cb595dcedb5c.tar.bz2
* config/tc-mips.c (append_insn): Remove cop_interlocks test from
branch delay code.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-mips.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 8e464f6..021dd40 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -2513,17 +2513,6 @@ append_insn (struct mips_cl_insn *ip, expressionS *address_expr,
frags for different purposes. */
|| (! mips_opts.mips16
&& prev_insn_frag_type == rs_machine_dependent)
- /* If the branch reads the condition codes, we don't
- even try to swap, because in the sequence
- ctc1 $X,$31
- INSN
- INSN
- bc1t LABEL
- we can not swap, and I don't feel like handling that
- case. */
- || (! mips_opts.mips16
- && (pinfo & INSN_READ_COND_CODE)
- && ! cop_interlocks)
/* Check for conflicts between the branch and the instructions
before the candidate delay slot. */
|| nops_for_insn (history + 1, ip) > 0