]> git.ipfire.org Git - thirdparty/gcc.git/commit
tm.texi (Instruction Output): Document TARGET_ASM_FINAL_POSTSCAN_INSN.
authorChao-ying Fu <fu@mips.com>
Fri, 10 Apr 2009 18:20:22 +0000 (18:20 +0000)
committerChao-ying Fu <chaoyingfu@gcc.gnu.org>
Fri, 10 Apr 2009 18:20:22 +0000 (18:20 +0000)
commit1afc5373043f7cc388ceed855be6f7d0f5dc24d1
tree6e37fe7e1f86ddb16c584d6ceb5493f7b05e1620
parentaa070a60c3bdc70201b0fdc44da357cab854a50f
tm.texi (Instruction Output): Document TARGET_ASM_FINAL_POSTSCAN_INSN.

2009-04-10  Chao-ying Fu  <fu@mips.com>

* doc/tm.texi (Instruction Output): Document
TARGET_ASM_FINAL_POSTSCAN_INSN.
* target.h (final_postscan_insn): New field in asm_out.
* target-def.h (TARGET_ASM_FINAL_POSTSCAN_INSN): New define.
(TARGET_ASM_OUT): Add TARGET_ASM_FINAL_POSTSCAN_INSN.
* final.c (final_scan_insn): Call
targetm.asm_out.final_postscan_insn after outputting
an asm macro and a normal instruction.

* config/mips/mips.h (FINAL_PRESCAN_INSN): New define.
* config/mips/mips-protos.h (mips_final_prescan_insn): Declare.
* config/mips/mips.c (mips_at_reg_p): New for_each_rtx callback.
(mips_final_prescan_insn, mips_final_postscan_insn): New functions.
(TARGET_ASM_FINAL_POSTSCAN_INSN): New define.

From-SVN: r145934
gcc/ChangeLog
gcc/config/mips/mips-protos.h
gcc/config/mips/mips.c
gcc/config/mips/mips.h
gcc/doc/tm.texi
gcc/final.c
gcc/target-def.h
gcc/target.h