aboutsummaryrefslogtreecommitdiff
path: root/gcc/optabs.c
diff options
context:
space:
mode:
authorBernd Schmidt <bernd.schmidt@analog.com>2005-11-20 18:49:18 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2005-11-20 18:49:18 +0000
commit8b44057d9b7417293c2e9fc81bb0f355cabe83b6 (patch)
treeced326957170072ff9481ff36ed4bba3a5eb7c8e /gcc/optabs.c
parent23ffc23579daf0e63042a4952ff47317125279dd (diff)
downloadgcc-8b44057d9b7417293c2e9fc81bb0f355cabe83b6.zip
gcc-8b44057d9b7417293c2e9fc81bb0f355cabe83b6.tar.gz
gcc-8b44057d9b7417293c2e9fc81bb0f355cabe83b6.tar.bz2
expr.c (expand_expr_real): Use usmul_optab for widening signed * unsigned multiplies.
* expr.c (expand_expr_real): Use usmul_optab for widening signed * unsigned multiplies. * genopinit.c (optabs): Add usmul_widen_optab. * optabs.c (init_optabs): Likewise. * optabs.h (enum optab_index): Add OTI_usmul_widen. (usmul_widen_optab): Define. * config/bfin/bfin.md (usmulhisi3): New pattern. * doc/md.texi (usmulqihi3, usmulhisi3, usmulsidi3): Document. From-SVN: r107258
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r--gcc/optabs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c
index d3e1db6..b10dfa4 100644
--- a/gcc/optabs.c
+++ b/gcc/optabs.c
@@ -5010,6 +5010,7 @@ init_optabs (void)
umul_highpart_optab = init_optab (UNKNOWN);
smul_widen_optab = init_optab (UNKNOWN);
umul_widen_optab = init_optab (UNKNOWN);
+ usmul_widen_optab = init_optab (UNKNOWN);
sdiv_optab = init_optab (DIV);
sdivv_optab = init_optabv (DIV);
sdivmod_optab = init_optab (UNKNOWN);