Module Name: src
Committed By: tsutsui
Date: Fri Nov 17 23:06:05 UTC 2023
Modified Files:
src/external/gpl3/binutils/dist/gas/config: tc-mips.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 \
src/external/gpl3/binutils/dist/gas/config/tc-mips.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/binutils/dist/gas/config/tc-mips.c
diff -u src/external/gpl3/binutils/dist/gas/config/tc-mips.c:1.24 src/external/gpl3/binutils/dist/gas/config/tc-mips.c:1.25
--- src/external/gpl3/binutils/dist/gas/config/tc-mips.c:1.24 Mon Aug 28 02:07:58 2023
+++ src/external/gpl3/binutils/dist/gas/config/tc-mips.c Fri Nov 17 23:06:05 2023
@@ -6509,8 +6509,8 @@ insns_between (const struct mips_cl_insn
/* 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