From: Kaveh R. Ghazi Date: Fri, 12 Oct 2007 15:24:35 +0000 (+0000) Subject: c4x.md (mulqi3, mulhi3): Use optab_libfunc. X-Git-Tag: releases/gcc-4.3.0~2081 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d437e14c53bc595622a3ba4f49887d992c0c2897;p=thirdparty%2Fgcc.git c4x.md (mulqi3, mulhi3): Use optab_libfunc. * config/c4x/c4x.md (mulqi3, mulhi3): Use optab_libfunc. From-SVN: r129263 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7bafdaa2650b..58c283948233 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2007-10-12 Kaveh R. Ghazi + + * config/c4x/c4x.md (mulqi3, mulhi3): Use optab_libfunc. + 2007-10-12 Kenneth Zadeck * global.c (build_insn_chain): Formatting fixes. diff --git a/gcc/config/c4x/c4x.md b/gcc/config/c4x/c4x.md index aab2095aa35b..364457d93477 100644 --- a/gcc/config/c4x/c4x.md +++ b/gcc/config/c4x/c4x.md @@ -2085,7 +2085,7 @@ operands[2])); DONE; } - c4x_emit_libcall3 (smul_optab->handlers[(int) QImode].libfunc, + c4x_emit_libcall3 (optab_libfunc (smul_optab, QImode), MULT, QImode, operands); DONE; } @@ -7157,7 +7157,7 @@ (match_operand:HI 2 "src_operand" ""))) (clobber (reg:CC 21))])] "" - "c4x_emit_libcall3 (smul_optab->handlers[(int) HImode].libfunc, + "c4x_emit_libcall3 (optab_libfunc (smul_optab, HImode), MULT, HImode, operands); DONE;")