diff options
author | Bernd Schmidt <bernd.schmidt@analog.com> | 2005-11-20 18:49:18 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2005-11-20 18:49:18 +0000 |
commit | 8b44057d9b7417293c2e9fc81bb0f355cabe83b6 (patch) | |
tree | ced326957170072ff9481ff36ed4bba3a5eb7c8e /gcc/doc | |
parent | 23ffc23579daf0e63042a4952ff47317125279dd (diff) | |
download | gcc-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/doc')
-rw-r--r-- | gcc/doc/md.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index 087f444..115de4a 100644 --- a/gcc/doc/md.texi +++ b/gcc/doc/md.texi @@ -3125,6 +3125,14 @@ Similar widening-multiplication instructions of other widths. Similar widening-multiplication instructions that do unsigned multiplication. +@cindex @code{usmulqihi3} instruction pattern +@cindex @code{usmulhisi3} instruction pattern +@cindex @code{usmulsidi3} instruction pattern +@item @samp{usmulqihi3}, @samp{usmulhisi3}, @samp{usmulsidi3} +Similar widening-multiplication instructions that interpret the first +operand as unsigned and the second operand as signed, then do a signed +multiplication. + @cindex @code{smul@var{m}3_highpart} instruction pattern @item @samp{smul@var{m}3_highpart} Perform a signed multiplication of operands 1 and 2, which have mode |