This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/79665] gcc's signed (x*x)/200 is slower than clang's


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79665

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
You can put a breakpoint at the new expr.c code and see what both the unsigned
and signed sequences are and see what seq_cost gcc computed.  If the costs
don't match the hw, then it can of course choose a worse sequence.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]