This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATH: Add type to UNITS_PER_SIMD_WORD
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: "Meissner, Michael" <michael dot meissner at amd dot com>, "Gcc Patch List" <gcc-patches at gcc dot gnu dot org>, dorit at il dot ibm dot com, "Richard Guenther" <rguenther at suse dot de>, "Zdenek Dvorak" <ook at ucw dot cz>, "Ye, Joey" <joey dot ye at intel dot com>, "Guo, Xuepeng" <xuepeng dot guo at intel dot com>
- Date: Mon, 19 May 2008 18:23:22 -0700
- Subject: Re: PATH: Add type to UNITS_PER_SIMD_WORD
- References: <6dc9ffc80805191755v4bea176ct30d7ed8f4717b5c6@mail.gmail.com>
On Mon, May 19, 2008 at 5:55 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
>> My second patch will change UNITS_PER_SIMD_WORD.
>> Adding UNITS_PER_SIMD_WORD_TYPE means we
>> have 2 ways to define the same value. It isn't my preference.
>> But I can go either way.
>
> Hi,
>
> This patch adds type to UNITS_PER_SIMD_WORD. It is needed by
> AVX:
>
> http://gcc.gnu.org/ml/gcc-patches/2008-05/msg01133.html
>
> OK for trunk after testing on Linux/ia32, Linux/ia64 and Linux/Intel64?
I think the following FIXME should be kept though:
- /* FORNOW: Only a single vector size per target (UNITS_PER_SIMD_WORD)
- is expected. */
But changed to be per type instead of per target.
Thanks,
Andrew Pinski