* config/tc-mips.c (dummy_opcode): Delete.
authorRichard Sandiford <rdsandiford@googlemail.com>
Wed, 9 Mar 2005 09:17:02 +0000 (09:17 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Wed, 9 Mar 2005 09:17:02 +0000 (09:17 +0000)
commit1e91584932efd70020c8c98037d0cb93a0552a20
treed2d8e07813c116ab49d9afc0eac38d8e50e8020f
parentbf12938eac60c7a1207ac699627b582ffed0848b
* config/tc-mips.c (dummy_opcode): Delete.
(nop_insn, mips16_nop_insn): New variables.
(NOP_INSN): New macro.
(insn_length, create_insn, install_insn, move_insn, add_fixed_insn)
(add_relaxed_insn, insert_into_history, emit_nop): New functions.
(md_begin): Initialize nop_insn and mips16_nop_insn.
(append_insn): Use the new emit_nop function to add nops, recording
them in the history buffer.  Use add_fixed_insn or add_relaxed_insn
to reserve room for the instruction and install_insn to install the
final form.  Use insert_into_history to record the instruction in
the history buffer.  Use move_insn to do delay slot filling.
(mips_emit_delays): Use add_fixed_insn instead of the emit_nop macro.
(macro_build, mips16_macro_build, macro_build_lui, mips_ip)
(mips16_ip): Use create_insn to initialize mips_cl_insns.
gas/ChangeLog
gas/config/tc-mips.c
This page took 0.025013 seconds and 4 git commands to generate.