i386.c (ix86_multiplication_cost, [...]): Break out from ...
authorJan Hubicka <hubicka@ucw.cz>
Fri, 17 Nov 2017 17:53:49 +0000 (18:53 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 17 Nov 2017 17:53:49 +0000 (17:53 +0000)
commit274c2d3f146e70e7205a2472c6f4d9a93380a80b
treef8ed3b7bb47a28a02c067a893caf7a57f28877bd
parent650fe7323c11e5e116e34d88028909b1221e2cc8
i386.c (ix86_multiplication_cost, [...]): Break out from ...

* i386.c (ix86_multiplication_cost, ix86_division_cost,
ix86_shift_rotate_cost): Break out from ...
(ix86_rtx_costs): ... here.
(ix86_add_stmt_cost): Use rtx cost machinery to compute cost of
vector operations.

* gcc.target/i386/xop-imul64-vector.c: Disable vectorizer costmodel.

From-SVN: r254889
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/xop-imul64-vector.c