i386.c (ix86_builtin_vectorization_cost): Compute scatter/gather cost correctly.
authorJan Hubicka <hubicka@ucw.cz>
Wed, 25 Oct 2017 19:11:41 +0000 (21:11 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 25 Oct 2017 19:11:41 +0000 (19:11 +0000)
commita4fe6139ab2e39d8b264befaf38f748e5c88d76a
tree1fdc34bd4b0df06c9b3eb2b74007a1d33a27f5b2
parentd185db140ad68f80d134f2f7f254e4ace7f89f24
i386.c (ix86_builtin_vectorization_cost): Compute scatter/gather cost correctly.

* i386.c (ix86_builtin_vectorization_cost): Compute scatter/gather
cost correctly.
* i386.h (processor_costs): Add gather_static, gather_per_elt,
scatter_static, scatter_per_elt.
* x86-tune-costs.h: Add new cost entries.

From-SVN: r254083
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.h
gcc/config/i386/x86-tune-costs.h