OSDN Git Service

* config/tc-mips.c (MAX_NOPS): New macro.
authorrsandifo <rsandifo>
Wed, 9 Mar 2005 09:20:23 +0000 (09:20 +0000)
committerrsandifo <rsandifo>
Wed, 9 Mar 2005 09:20:23 +0000 (09:20 +0000)
commitee37c0dc26a85686ddc7dcc4f4df60ead88198f2
tree775681b49cc7bd67d3a0033d25eeaf3b9a0aae0f
parentea282aa1a23ea318b0833b1bd453c2f38d6bcfc0
* config/tc-mips.c (MAX_NOPS): New macro.
(history): Resize to 1 + MAX_NOPS.
(fix_vr4120_class): New enumeration.
(vr4120_conflicts): New variable.
(init_vr4120_conflicts): New function.
(md_begin): Call it.
(insn_uses_reg): Constify first argument.
(classify_vr4120_insn, insns_between, nops_for_insn, nops_for_sequence)
(nops_for_insn_or_target): New functions.
(append_insn): Use the new nops_for_* functions instead of inline
delay checks.  Generalize prev_nop_frag handling to handle an
arbitrary history length.  Insert nops into the history buffer
once the number of nops in prev_nop_frag is fixed.
(emit_delays): Use nops_for_insn instead of inline delay checks.
gas/ChangeLog
gas/config/tc-mips.c