diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2009-05-23 08:28:22 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2009-05-23 08:28:22 +0000 |
commit | 65b02341cc8e36be5467123913457f3dd0fb6754 (patch) | |
tree | bc016e6aa1e3a407fbb02fd0e9369ad2db0dbae8 /gas/config/tc-mips.c | |
parent | 10841c82f4e9505c51755595af078d5763b70be8 (diff) | |
download | gdb-65b02341cc8e36be5467123913457f3dd0fb6754.zip gdb-65b02341cc8e36be5467123913457f3dd0fb6754.tar.gz gdb-65b02341cc8e36be5467123913457f3dd0fb6754.tar.bz2 |
gas/
* config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
(nops_for_insn): Likewise.
gas/testsuite/
* gas/mips/vr4130.s, gas/mips/vr4130.d: Expect part A to have nops.
Diffstat (limited to 'gas/config/tc-mips.c')
-rw-r--r-- | gas/config/tc-mips.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 9eb1262..6b8b4df 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -2679,7 +2679,7 @@ nops_for_vr4130 (const struct mips_cl_insn *history, /* Search for the first MFLO or MFHI. */ for (i = 0; i < MAX_VR4130_NOPS; i++) - if (!history[i].noreorder_p && MF_HILO_INSN (history[i].insn_mo->pinfo)) + if (MF_HILO_INSN (history[i].insn_mo->pinfo)) { /* Extract the destination register. */ if (mips_opts.mips16) @@ -2714,12 +2714,11 @@ nops_for_insn (const struct mips_cl_insn *history, nops = 0; for (i = 0; i < MAX_DELAY_NOPS; i++) - if (!history[i].noreorder_p) - { - tmp_nops = insns_between (history + i, insn) - i; - if (tmp_nops > nops) - nops = tmp_nops; - } + { + tmp_nops = insns_between (history + i, insn) - i; + if (tmp_nops > nops) + nops = tmp_nops; + } if (mips_fix_vr4130) { |