RE: [PATCH] default_add_stmt_cost should call target specific builitin_vectorization_cost.

2014-06-06 Thread Bingfeng Mei
Thanks. Committed. Bingfeng -Original Message- From: Richard Biener [mailto:richard.guent...@gmail.com] Sent: 06 June 2014 10:40 To: Bingfeng Mei Cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH] default_add_stmt_cost should call target specific builitin_vectorization_cost. On Fri, Jun

Re: [PATCH] default_add_stmt_cost should call target specific builitin_vectorization_cost.

2014-06-06 Thread Richard Biener
On Fri, Jun 6, 2014 at 10:52 AM, Bingfeng Mei wrote: > Hi, > I came across this issue a while back. My colleague Paulo Matos asked > and it was agreed that this is a bug. But he forgot to submit a patch. > > default_add_stmt_cost should call target specific builtin_vectozriation_cost. > instead of

[PATCH] default_add_stmt_cost should call target specific builitin_vectorization_cost.

2014-06-06 Thread Bingfeng Mei
Hi, I came across this issue a while back. My colleague Paulo Matos asked and it was agreed that this is a bug. But he forgot to submit a patch. default_add_stmt_cost should call target specific builtin_vectozriation_cost. instead of default_builtin_vectorization_cost directly. So if the hook TAR