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 target/67089] [4.9/5/6 Regression] Integer overflow checks not optimized on x86/x86_64


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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 36830
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36830&action=edit
gcc6-pr67089.patch

Untested patch for matching hand written unsigned addition/subtraction overflow
checks as {ADD,SUB}_OVERFLOW if target has u{add,sub}v4 optabs.

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