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/50358] AVR: Implement [u]maddqihi4 [u]msubqihi4 patterns on the enhanced core


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50358

--- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-09-13 09:23:40 UTC ---
Author: gjl
Date: Tue Sep 13 09:23:36 2011
New Revision: 178806

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178806
Log:

    PR target/50358
    * config/avr/predicates.md (const_1_to_6_operand): New predicate.
    * config/avr/avr.md: (extend_s): New code attribute.
    (mul_r_d): New code attribute.
    (*maddqihi4, *umaddqihi4): New insns.
    (*msubqihi4, *umsubqihi4): New insns.
    (*usmaddqihi4, *sumaddqihi4): New insns.
    (*usmsubqihi4, *susubdqihi4): New insns.
    (*umaddqihi4.uconst, *maddqihi4.sconst): New insn-and-splits.
    (*umsubqihi4.uconst, *msubqihi4.sconst): New insn-and-splits.
    (*umsubqihi4.uconst.ashift): New insn-and-split.
    (*msubqihi4.sconst.ashift): New insn-and-split.
    (*sumaddqihi4.uconst): New insn-and-split.
    (*sumsubqihi4.uconst): New insn-and-split.
    * config/avr/avr.c (avr_rtx_costs): Report costs of above in case
    PLUS:HI and MINUS:HI.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/avr/avr.c
    trunk/gcc/config/avr/avr.md
    trunk/gcc/config/avr/predicates.md


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