vectorization cost macro TARGET_VECTORIZE_ADD_STMT_COST

2015-08-02 Thread Ajit Kumar Agarwal
All:

The definition of the following macro that determine the statement cost that 
adds to vectorization cost.

#define TARGET_VECTORIZE_ADD_STMT_COST.

In the implementation of the above macro the following is done for many 
vectorization supported architectures like i386, ARM.

if (where == vect_body && stmt_info && stmt_in_inner_loop_p (stmt_info))
count *= 50;  /* FIXME.  */

I have the  following questions.

1. Why the multiplication factor of 50 is choosen?
2. The comment mentions that the inner loop relative to the loop being 
vectorized is added more weight. If more weight is added to
the inner loop for the loop being vectorized, the chances of vectorizing the 
inner loop decreases. Why the inner loop cost is increased
with relative to the loop being vectorized?

Thanks & Regards
Ajit


gcc-6-20150802 is now available

2015-08-02 Thread gccadmin
Snapshot gcc-6-20150802 is now available on
  ftp://gcc.gnu.org/pub/gcc/snapshots/6-20150802/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.

This snapshot has been generated from the GCC 6 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision 226479

You'll find:

 gcc-6-20150802.tar.bz2   Complete GCC

  MD5=025228754bcfdb581af464ba678d57d0
  SHA1=aa72d04095281e1c96840441f5c3c9324a76f232

Diffs from 6-20150726 are available in the diffs/ subdirectory.

When a particular snapshot is ready for public consumption the LATEST-6
link is updated and a message is sent to the gcc list.  Please do not use
a snapshot before it has been announced that way.


Re: Bin Cheng as Loop Induction Variable Optimizations maintainer

2015-08-02 Thread Bin.Cheng
On Sat, Aug 1, 2015 at 5:03 AM, Jeff Law  wrote:
> I am pleased to announce that the GCC Steering Committee has appointed Bin
> Cheng as the IVopts maintainer.
>
> Please join me in congratulating Bin on his new role.
>
> Bin, please update your entry in the MAINTAINERS file.  I also believe you
Done.

Thanks,
bin
> have some patches to self-approve :-)
>
> Thanks,
>
> Jeff