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/63633] [avr] internal compiler error: unrecognizable insn with mult insns


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

--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Author: gjl
Date: Fri Nov 21 14:04:25 2014
New Revision: 217922

URL: https://gcc.gnu.org/viewcvs?rev=217922&root=gcc&view=rev
Log:
gcc/
    Forward-port from 2014-10-30 4_9-branch r216934
    PR target/63633
    * config/avr/avr-protos.h (regmask): New inline function.
    (avr_fix_inputs, avr_emit3_fix_outputs): New protos.
    * config/avr/avr.c (avr_fix_operands, avr_move_fixed_operands)
    (avr_fix_inputs, avr_emit3_fix_outputs): New functions.
    * config/avr/avr-fixed.md (mulqq3_nomul, muluqq3_nomul)
    (mul<ALL2QA>3, mul<ALL4A>3, <usdiv><ALL1Q>3, <usdiv><ALL2QA>3)
    (<usdiv><ALL4A>3, round<ALL124QA>3): Fix input operands.
    * config/avr/avr-dimode.md (add<ALL8>3, sub<ALL8>3)
    (<ss_addsub><ALL8S>3, <us_addsub><ALL8U>3, cbranch<ALL8>4)
    (<di_shifts><ALL8>3, <any_extend>mulsidi3): Fix input operands.
    * config/avr/avr.md (mulqi3_call, mulhi3_call, mulsi3, mulpsi3)
    (mulu<QIHI>si3, muls<QIHI>si3, mulohisi3, <any_extend>mulhisi3)
    (usmulhisi3, <any_extend>mulhi3_highpart, mulsqipsi3)
    (fmul, fmuls, fmulsu): Fix operands.  Turn insn into expander as
    needed.

gcc/testsuite/
    Forward-port from 2014-10-30 4_9-branch r216934
    PR target/63633
    * gcc.target/avr/torture/pr63633-ice-mult.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/avr/torture/pr63633-ice-mult.c
Modified:
    trunk/gcc/config/avr/avr-dimode.md
    trunk/gcc/config/avr/avr-fixed.md
    trunk/gcc/config/avr/avr-protos.h
    trunk/gcc/config/avr/avr.c
    trunk/gcc/config/avr/avr.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]