r124397 - in /branches/fixed-point/gcc: ChangeL...

chaoyingfu@gcc.gnu.org chaoyingfu@gcc.gnu.org
Thu May 3 23:36:00 GMT 2007


Author: chaoyingfu
Date: Thu May  3 23:36:32 2007
New Revision: 124397

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124397
Log:
* doc/md.texi (madd@var{m}@var{n}4): Extend to fixed-point modes.
(ssmadd@var{m}@var{n}4, usmadd@var{m}@var{n}4): Document.
* optabs.c (init_optabs): Initialize ssmadd_widen_optab and
usmadd_widen_optab.
* optabs.h (OTI_ssmadd_widen, OTI_usmadd_widen): New optab_indexes.
(ssmadd_widen_optab, usmadd_widen_optab): Define.
* genopinit.c (optabs): Fill in ssmadd_widen_optab and
usmadd_widen_optab.
* tree.h (NON_SAT_FIXED_POINT_TYPE_P, SAT_FIXED_POINT_TYPE_P,
FIXED_POINT_TYPE_P): Define.
* expr.c (expand_expr_real_1): Support saturating and non-saturating
multiply and add for fixed-point types.
* c-typeck.c (c_common_type): Initialize mclass to 0 to avoid warnings.
* tree-ssa-reassoc.c (break_up_subtract_bb): We can do reassociation
for non-saturating fixed-point types
(reassociate_bb): Likewise.
* config/mips/mips-fixed.md (ssmaddsqdq4): New instruction.
* config/mips/mips.c (mips_pass_by_reference): Pass DQ, UDQ, DA, and
UDA modes in registers.

Modified:
    branches/fixed-point/gcc/ChangeLog
    branches/fixed-point/gcc/c-typeck.c
    branches/fixed-point/gcc/config/mips/mips-fixed.md
    branches/fixed-point/gcc/config/mips/mips.c
    branches/fixed-point/gcc/doc/md.texi
    branches/fixed-point/gcc/expr.c
    branches/fixed-point/gcc/genopinit.c
    branches/fixed-point/gcc/optabs.c
    branches/fixed-point/gcc/optabs.h
    branches/fixed-point/gcc/tree-ssa-reassoc.c
    branches/fixed-point/gcc/tree.h



More information about the Gcc-cvs mailing list