]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix i386 vectorizer cost of FP scalar MAX_EXPR and MIN_EXPR
authorJan Hubicka <hubicka@ucw.cz>
Sat, 26 Apr 2025 20:10:19 +0000 (22:10 +0200)
committerJan Hubicka <hubicka@ucw.cz>
Sat, 26 Apr 2025 20:11:11 +0000 (22:11 +0200)
commit1d635e79b3c2d26f864964b79717132bffbcad20
tree319669f88b441810d2bc916ad07fd1cd6eef4cce
parent0035613389a939043d654aea7a76faae95f69422
Fix i386 vectorizer cost of FP scalar MAX_EXPR and MIN_EXPR

I introduced a bug by last minute cleanups unifying the scalar and vector SSE conditional.
This patch fixes it and restores cost of 1 of SSE scalar MIN/MAX

Bootstrapped/regtested x86_64-linux, comitted.

gcc/ChangeLog:

PR target/105275
* config/i386/i386.cc (ix86_vector_costs::add_stmt_cost): Fix cost of FP scalar
MAX_EXPR and MIN_EXPR
gcc/config/i386/i386.cc