From: Georg-Johann Lay Date: Tue, 21 Jul 2015 17:25:48 +0000 (+0000) Subject: re PR target/66956 ([avr] Using 32*32=64 multiplicatiion (umulsidi3) for 32=32*32... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1f82f1245db9096c1fe53acc763fdfacdba2a440;p=gcc.git re PR target/66956 ([avr] Using 32*32=64 multiplicatiion (umulsidi3) for 32=32*32 without MUL.) PR target/66956 * config/avr/avr-dimode.md (mulsidi3_insn) (mulsidi3): Don't use if !AVR_HAVE_MUL. From-SVN: r226046 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fa9d3ef40e8..8e25b9a0640 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-07-21 Georg-Johann Lay + + PR target/66956 + * config/avr/avr-dimode.md (mulsidi3_insn) + (mulsidi3): Don't use if !AVR_HAVE_MUL. + 2015-07-21 Richard Biener PR tree-optimization/66948 diff --git a/gcc/config/avr/avr-dimode.md b/gcc/config/avr/avr-dimode.md index 1243360eedb..a1cd6d91c6d 100644 --- a/gcc/config/avr/avr-dimode.md +++ b/gcc/config/avr/avr-dimode.md @@ -461,7 +461,8 @@ (match_operand:SI 2 "general_operand" "") ;; Just to mention the iterator (clobber (any_extend:SI (match_dup 1)))])] - "avr_have_dimode" + "avr_have_dimode + && AVR_HAVE_MUL" { avr_fix_inputs (operands, 1 << 2, regmask (SImode, 22)); emit_move_insn (gen_rtx_REG (SImode, 22), operands[1]); @@ -480,7 +481,8 @@ (any_extend:DI (reg:SI 22)))) (clobber (reg:HI REG_X)) (clobber (reg:HI REG_Z))] - "avr_have_dimode" + "avr_have_dimode + && AVR_HAVE_MUL" "%~call __mulsidi3" [(set_attr "adjust_len" "call") (set_attr "cc" "clobber")])