[Bug target/50358] AVR: Implement [u]maddqihi4 [u]msubqihi4 patterns on the enhanced core
gjl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 16 19:06:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50358
--- Comment #4 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-09-16 18:27:16 UTC ---
Author: gjl
Date: Fri Sep 16 18:27:10 2011
New Revision: 178912
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178912
Log:
PR target/50358
* config/avr/avr.md (*ashiftqihi2.signx.1): New insn.
(*maddqi4, *maddqi4.const): New insns.
(*msubqi4, *msubqi4.const): New insns.
* config/avr/avr.c (avr_rtx_costs): Record costs of above in cases
PLUS:QI and MINUS:QI. Increase costs of multiply-add/-sub for
HImode by 1 in the case of multiplying with a CONST_INT.
Record cost of *ashiftqihi2.signx.1 in case ASHIFT:QI.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/avr/avr.c
trunk/gcc/config/avr/avr.md
More information about the Gcc-bugs
mailing list