binutils: fix gas that doesn't handle MIPS1 FPR load hazard correctly.

Fixes PR/57680.
Should be pulled up to netbsd-10, netbsd-9, and netbsd-8.
This commit is contained in:
tsutsui 2023-11-17 23:06:05 +00:00
parent b07612095a
commit 67fd179468
1 changed files with 2 additions and 2 deletions

View File

@ -6509,8 +6509,8 @@ insns_between (const struct mips_cl_insn *insn1,
/* Itbl support may require additional care here. FIXME!
Need to modify this to include knowledge about
user specified delays! */
else if ((!cop_interlocks && (pinfo1 & INSN_COPROC_MOVE))
|| (!cop_mem_interlocks && (pinfo1 & INSN_COPROC_MEMORY_DELAY)))
if ((!cop_interlocks && (pinfo1 & INSN_COPROC_MOVE))
|| (!cop_mem_interlocks && (pinfo1 & INSN_COPROC_MEMORY_DELAY)))
{
/* Handle cases where INSN1 writes to a known general coprocessor
register. There must be a one instruction delay before INSN2