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/66112] __builtin_mul_overflow for int16_t emits poor code


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

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed May 13 08:09:01 2015
New Revision: 223116

URL: https://gcc.gnu.org/viewcvs?rev=223116&root=gcc&view=rev
Log:
        PR target/66112
        * config/i386/i386.md (mulv<mode>4, umulv<mode>4, *umulv<mode>4):
        Use SWI248 iterator instead of SWI.
        (*mulv<mode>4_1): Use SWI48 instead of SWI.  Simplify output template.
        Use eq_attr "alternative" "0" instead of match_test in
        length_immediate attribute computation.
        (*mulvhi4, *mulvhi4_1): New define_insns.

        * gcc.target/i386/pr66112-2.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr66112-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.md
    trunk/gcc/testsuite/ChangeLog


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