This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH i386 AVX512] [83/n] Add scatter built-ins.


On Wed, Oct 22, 2014 at 2:19 PM, Kirill Yukhin <kirill.yukhin@gmail.com> wrote:
> Hello,
> This patch adds built-ins for scatter insns.
>
> Bootstrapped.
> AVX-512* tests on top of patch-set all pass
> under simulator.
>
> Is it ok for trunk?
>
> gcc/
>         * config/i386/i386.c
>         (ix86_init_mmx_sse_builtins):
>         Define __builtin_ia32_gather3siv2df, __builtin_ia32_gather3siv4df,
>         __builtin_ia32_gather3div2df, __builtin_ia32_gather3div4df,
>         __builtin_ia32_gather3siv4sf, __builtin_ia32_gather3siv8sf,
>         __builtin_ia32_gather3div4sf, __builtin_ia32_gather3div8sf,
>         __builtin_ia32_gather3siv2di, __builtin_ia32_gather3siv4di,
>         __builtin_ia32_gather3div2di, __builtin_ia32_gather3div4di,
>         __builtin_ia32_gather3siv4si, __builtin_ia32_gather3siv8si,
>         __builtin_ia32_gather3div4si, __builtin_ia32_gather3div8si,
>         __builtin_ia32_gather3altsiv4df, __builtin_ia32_gather3altdiv8sf,
>         __builtin_ia32_gather3altsiv4di, __builtin_ia32_gather3altdiv8si,
>         __builtin_ia32_scattersiv8sf, __builtin_ia32_scattersiv4sf,
>         __builtin_ia32_scattersiv4df, __builtin_ia32_scattersiv2df,
>         __builtin_ia32_scatterdiv8sf, __builtin_ia32_scatterdiv4sf,
>         __builtin_ia32_scatterdiv4df, __builtin_ia32_scatterdiv2df,
>         __builtin_ia32_scattersiv8si, __builtin_ia32_scattersiv4si,
>         __builtin_ia32_scattersiv4di, __builtin_ia32_scattersiv2di,
>         __builtin_ia32_scatterdiv8si, __builtin_ia32_scatterdiv4si,
>         __builtin_ia32_scatterdiv4di, __builtin_ia32_scatterdiv2di.

OK.

Thanks,
Uros.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]