2010-02-13 Sebastian Pop <sebastian.pop@amd.com> * config/i386/i386-builtin-types.def (V2DF_FTYPE_V2DF_V2DF_V2DI_INT): Declared. (V4DF_FTYPE_V4DF_V4DF_V4DI_INT): Declared. (V4SF_FTYPE_V4SF_V4SF_V4SI_INT): Declared. (V8SF_FTYPE_V8SF_V8SF_V8SI_INT): Declared. * config/i386/i386.c (enum ix86_builtins): Add IX86_BUILTIN_VPERMIL2PD, IX86_BUILTIN_VPERMIL2PS, IX86_BUILTIN_VPERMIL2PD256, and IX86_BUILTIN_VPERMIL2PS256. (MULTI_ARG_4_DF2_DI_I): Defined. (MULTI_ARG_4_DF2_DI_I1): Defined. (MULTI_ARG_4_SF2_SI_I): Defined. (MULTI_ARG_4_SF2_SI_I1): Defined. (bdesc_multi_arg): Add __builtin_ia32_vpermil2pd, __builtin_ia32_vpermil2ps, __builtin_ia32_vpermil2pd256, and __builtin_ia32_vpermil2ps256. (ix86_expand_multi_arg_builtin): Handle MULTI_ARG_4_DF2_DI_I, MULTI_ARG_4_DF2_DI_I1, MULTI_ARG_4_SF2_SI_I, and MULTI_ARG_4_SF2_SI_I1. Handle builtins with 4 arguments. (ix86_expand_args_builtin): Handle MULTI_ARG_4_DF2_DI_I, MULTI_ARG_4_DF2_DI_I1, MULTI_ARG_4_SF2_SI_I, and MULTI_ARG_4_SF2_SI_I1. Handle CODE_FOR_xop_vpermil2v2df3, CODE_FOR_xop_vpermil2v4sf3, CODE_FOR_xop_vpermil2v4df3, and CODE_FOR_xop_vpermil2v8sf3. * config/i386/i386.md (UNSPEC_VPERMIL2): Declared. * config/i386/sse.md (xop_vpermil2<mode>3): New insn pattern. * config/i386/xopintrin.h (_mm_permute2_pd): New. (_mm256_permute2_pd): New. (_mm_permute2_ps): New. (_mm256_permute2_ps): New. * gcc.target/i386/sse-14.c: Add tests for _mm_permute2_pd, _mm256_permute2_pd, _mm_permute2_ps, and _mm256_permute2_ps. * gcc.target/i386/xop-vpermil2pd-1.c: New. * gcc.target/i386/xop-vpermil2pd-256-1.c: New. * gcc.target/i386/xop-vpermil2ps-1.c: New. * gcc.target/i386/xop-vpermil2ps-256-1.c: New. From-SVN: r156778
Name |
Last commit
|
Last update |
---|---|---|
INSTALL | Loading commit data... | |
boehm-gc | Loading commit data... | |
config | Loading commit data... | |
contrib | Loading commit data... | |
fixincludes | Loading commit data... | |
gcc | Loading commit data... | |
gnattools | Loading commit data... | |
include | Loading commit data... | |
intl | Loading commit data... | |
libada | Loading commit data... | |
libcpp | Loading commit data... | |
libdecnumber | Loading commit data... | |
libffi | Loading commit data... | |
libgcc | Loading commit data... | |
libgfortran | Loading commit data... | |
libgomp | Loading commit data... | |
libiberty | Loading commit data... | |
libjava | Loading commit data... | |
libmudflap | Loading commit data... | |
libobjc | Loading commit data... | |
libssp | Loading commit data... | |
libstdc++-v3 | Loading commit data... | |
lto-plugin | Loading commit data... | |
maintainer-scripts | Loading commit data... | |
zlib | Loading commit data... | |
ABOUT-NLS | Loading commit data... | |
COPYING | Loading commit data... | |
COPYING.LIB | Loading commit data... | |
COPYING.RUNTIME | Loading commit data... | |
COPYING3 | Loading commit data... | |
COPYING3.LIB | Loading commit data... | |
ChangeLog | Loading commit data... | |
ChangeLog.tree-ssa | Loading commit data... | |
MAINTAINERS | Loading commit data... | |
Makefile.def | Loading commit data... | |
Makefile.in | Loading commit data... | |
Makefile.tpl | Loading commit data... | |
README | Loading commit data... | |
compile | Loading commit data... | |
config-ml.in | Loading commit data... | |
config.guess | Loading commit data... | |
config.rpath | Loading commit data... | |
config.sub | Loading commit data... | |
configure | Loading commit data... | |
configure.ac | Loading commit data... | |
depcomp | Loading commit data... | |
install-sh | Loading commit data... | |
libtool-ldflags | Loading commit data... | |
libtool.m4 | Loading commit data... | |
ltgcc.m4 | Loading commit data... | |
ltmain.sh | Loading commit data... | |
ltoptions.m4 | Loading commit data... | |
ltsugar.m4 | Loading commit data... | |
ltversion.m4 | Loading commit data... | |
lt~obsolete.m4 | Loading commit data... | |
missing | Loading commit data... | |
mkdep | Loading commit data... | |
mkinstalldirs | Loading commit data... | |
move-if-change | Loading commit data... | |
symlink-tree | Loading commit data... | |
ylwrap | Loading commit data... |