re PR target/84986 (Performance regression: loop no longer vectorized (x86-64))
authorRichard Biener <rguenther@suse.de>
Tue, 20 Mar 2018 14:35:46 +0000 (14:35 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 20 Mar 2018 14:35:46 +0000 (14:35 +0000)
commitb6c1e0329bb7c7b511d685ebb17ab4f2c515a75a
tree6d8ccb344664032f07be3292d7f39feb55b9835a
parent14b05bee0ccd7a6a9d7c6d498121caa4d6f9e23d
re PR target/84986 (Performance regression: loop no longer vectorized (x86-64))

2018-03-20  Richard Biener  <rguenther@suse.de>

PR target/84986
* config/i386/i386.c (ix86_add_stmt_cost): Only cost
sign-conversions as zero, fall back to standard scalar_stmt
cost for the rest.

* gcc.dg/vect/costmodel/x86_64/costmodel-pr84986.c: New testcase.

From-SVN: r258684
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-pr84986.c [new file with mode: 0644]