From 8b4e7143550cd1f3f4b1dca005a5e656506979d9 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Tue, 28 May 2019 13:37:15 +0000 Subject: Remove obsolete comment about use_thunk * config/alpha/alpha.c [TARGET_ABI_OSF] (alpha_output_mi_thunk_osf): Remove obsolete use_thunk reference. * config/i386/i386.c (x86_output_mi_thunk): Likewise. * config/ia64/ia64.c (ia64_output_mi_thunk): Likewise. * config/nios2/nios2.c (nios2_asm_output_mi_thunk): Likewise. * config/or1k/or1k.c (or1k_output_mi_thunk): Likewise. * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise. * config/sh/sh.c (sh_output_mi_thunk): Likewise. * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise. * config/tilegx/tilegx.c (tilegx_output_mi_thunk): Likewise. * config/tilepro/tilepro.c (tilepro_asm_output_mi_thunk): Likewise. From-SVN: r271703 --- gcc/config/alpha/alpha.c | 3 +-- gcc/config/i386/i386.c | 3 +-- gcc/config/ia64/ia64.c | 3 +-- gcc/config/nios2/nios2.c | 3 +-- gcc/config/or1k/or1k.c | 3 +-- gcc/config/rs6000/rs6000.c | 3 +-- gcc/config/sh/sh.c | 3 +-- gcc/config/sparc/sparc.c | 3 +-- gcc/config/tilegx/tilegx.c | 3 +-- gcc/config/tilepro/tilepro.c | 3 +-- 10 files changed, 10 insertions(+), 20 deletions(-) (limited to 'gcc/config') diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index 5cf8d48..2e1de39 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -8514,8 +8514,7 @@ alpha_output_mi_thunk_osf (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED, /* Run just enough of rest_of_compilation to get the insns emitted. There's not really enough bulk here to make other passes such as - instruction scheduling worth while. Note that use_thunk calls - assemble_start_function and assemble_end_function. */ + instruction scheduling worth while. */ insn = get_insns (); shorten_branches (insn); assemble_start_function (thunk_fndecl, fnname); diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 72e5941..2eddea5 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -19972,8 +19972,7 @@ x86_output_mi_thunk (FILE *file, tree thunk_fndecl, HOST_WIDE_INT delta, } emit_barrier (); - /* Emit just enough of rest_of_compilation to get the insns emitted. - Note that use_thunk calls assemble_start_function et al. */ + /* Emit just enough of rest_of_compilation to get the insns emitted. */ insn = get_insns (); shorten_branches (insn); assemble_start_function (thunk_fndecl, fnname); diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index e4dcd34..a2a6c5c 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -11033,8 +11033,7 @@ ia64_output_mi_thunk (FILE *file, tree thunk ATTRIBUTE_UNUSED, /* Run just enough of rest_of_compilation to get the insns emitted. There's not really enough bulk here to make other passes such as - instruction scheduling worth while. Note that use_thunk calls - assemble_start_function and assemble_end_function. */ + instruction scheduling worth while. */ emit_all_insn_group_barriers (NULL); insn = get_insns (); diff --git a/gcc/config/nios2/nios2.c b/gcc/config/nios2/nios2.c index 541e514..250c6ac 100644 --- a/gcc/config/nios2/nios2.c +++ b/gcc/config/nios2/nios2.c @@ -4519,8 +4519,7 @@ nios2_asm_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED, /* Run just enough of rest_of_compilation to get the insns emitted. There's not really enough bulk here to make other passes such as - instruction scheduling worth while. Note that use_thunk calls - assemble_start_function and assemble_end_function. */ + instruction scheduling worth while. */ insn = get_insns (); shorten_branches (insn); assemble_start_function (thunk_fndecl, fnname); diff --git a/gcc/config/or1k/or1k.c b/gcc/config/or1k/or1k.c index 5e79b30..54c9e80 100644 --- a/gcc/config/or1k/or1k.c +++ b/gcc/config/or1k/or1k.c @@ -2112,8 +2112,7 @@ or1k_output_mi_thunk (FILE *file, tree thunk_fndecl, /* Run just enough of rest_of_compilation to get the insns emitted. There's not really enough bulk here to make other passes such as - instruction scheduling worth while. Note that use_thunk calls - assemble_start_function and assemble_end_function. */ + instruction scheduling worth while. */ insn = get_insns (); shorten_branches (insn); assemble_start_function (thunk_fndecl, fnname); diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 3d5cf9e..5e861f2 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -29296,8 +29296,7 @@ rs6000_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED, /* Run just enough of rest_of_compilation to get the insns emitted. There's not really enough bulk here to make other passes such as - instruction scheduling worth while. Note that use_thunk calls - assemble_start_function and assemble_end_function. */ + instruction scheduling worth while. */ insn = get_insns (); shorten_branches (insn); assemble_start_function (thunk_fndecl, fnname); diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index b715307..07d5b3c 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -10940,8 +10940,7 @@ sh_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED, emit_barrier (); /* Run just enough of rest_of_compilation to do scheduling and get - the insns emitted. Note that use_thunk calls - assemble_start_function and assemble_end_function. */ + the insns emitted. */ insns = get_insns (); diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index cba3a56..6d52f83 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -12462,8 +12462,7 @@ sparc_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED, /* Run just enough of rest_of_compilation to get the insns emitted. There's not really enough bulk here to make other passes such as - instruction scheduling worth while. Note that use_thunk calls - assemble_start_function and assemble_end_function. */ + instruction scheduling worth while. */ insn = get_insns (); shorten_branches (insn); assemble_start_function (thunk_fndecl, fnname); diff --git a/gcc/config/tilegx/tilegx.c b/gcc/config/tilegx/tilegx.c index 513c81c..6da9139 100644 --- a/gcc/config/tilegx/tilegx.c +++ b/gcc/config/tilegx/tilegx.c @@ -4993,8 +4993,7 @@ tilegx_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED, /* Run just enough of rest_of_compilation to get the insns emitted. There's not really enough bulk here to make other passes such as - instruction scheduling worth while. Note that use_thunk calls - assemble_start_function and assemble_end_function. + instruction scheduling worth while. We don't currently bundle, but the instruciton sequence is all serial except for the tail call, so we're only wasting one cycle. diff --git a/gcc/config/tilepro/tilepro.c b/gcc/config/tilepro/tilepro.c index 7e24902..f86461f 100644 --- a/gcc/config/tilepro/tilepro.c +++ b/gcc/config/tilepro/tilepro.c @@ -4416,8 +4416,7 @@ tilepro_asm_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED, /* Run just enough of rest_of_compilation to get the insns emitted. There's not really enough bulk here to make other passes such as - instruction scheduling worth while. Note that use_thunk calls - assemble_start_function and assemble_end_function. + instruction scheduling worth while. We don't currently bundle, but the instruciton sequence is all serial except for the tail call, so we're only wasting one cycle. -- cgit v1.1