This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/47000] Major performance regression in parallel SSE2 impl of SHA256 hash algorithm
- From: "jgarzik at pobox dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 18 Dec 2010 18:49:41 +0000
- Subject: [Bug target/47000] Major performance regression in parallel SSE2 impl of SHA256 hash algorithm
- Auto-submitted: auto-generated
- References: <bug-47000-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47000
--- Comment #10 from Jeff Garzik <jgarzik at pobox dot com> 2010-12-18 18:49:35 UTC ---
(In reply to comment #8)
> Can you try
>
> --
> diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
> index af1adf4..dd00de6 100644
> --- a/gcc/tree-inline.c
> +++ b/gcc/tree-inline.c
> @@ -3342,7 +3342,11 @@ estimate_num_insns (gimple stmt, eni_weights *weights)
> if (POINTER_TYPE_P (funtype))
> funtype = TREE_TYPE (funtype);
>
> - if (decl && DECL_BUILT_IN_CLASS (decl) == BUILT_IN_MD)
> + /* Do not special case builtins where we see the body.
> + This just confuse inliner. */
> + if (!decl || cgraph_node (decl)->analyzed)
> + ;
> + else if (decl && DECL_BUILT_IN_CLASS (decl) == BUILT_IN_MD)
> cost = weights->target_builtin_call_cost;
> else
> cost = weights->call_cost;
> ---
ICE appears when attempting to make with gcc 4.5.1 + your patch:
/garz/gcc45/src/gcc-4.5.1.patch1/libgcc/config/libbid/bid128_fma.c:4460:1:
internal compiler error: in estimate_function_body_sizes, at ipa-inline.c:1920
Please submit a full bug report,