[Bug target/85950] Unsafe-math-optimizations regresses optimization using SSE4.1 roundss
uros at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 31 22:10:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85950
--- Comment #8 from uros at gcc dot gnu.org ---
Author: uros
Date: Thu May 31 22:09:39 2018
New Revision: 261043
URL: https://gcc.gnu.org/viewcvs?rev=261043&root=gcc&view=rev
Log:
PR target/85950
* config/i386/i386.md (l<rounding_insn><MODEF:mode><SWI48:mode>2):
Enable for TARGET_SSE4_1 and generate rounds{s,d} and cvtts{s,d}2si{,q}
sequence.
(sse4_1_round<mode>2): Use nonimmediate_operand
for operand 1 predicate.
testsuite/ChangeLog:
PR target/85950
* gcc.target/i386/pr85950.c: New test.
Added:
branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/pr85950.c
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/config/i386/i386.md
branches/gcc-8-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list