This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r121303 - in /branches/fixed-point/gcc: ChangeL...
- From: chaoyingfu at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 29 Jan 2007 20:00:18 -0000
- Subject: r121303 - in /branches/fixed-point/gcc: ChangeL...
Author: chaoyingfu
Date: Mon Jan 29 20:00:17 2007
New Revision: 121303
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121303
Log:
* convert.c (convert_to_fixed): Handle integer_zero_node at first.
* fixed-value.c (check_real_for_fixed_mode): Return 2 if the real
value is greater than the maximum, but not equal to the maximum +
the epsilon.
(do_fixed_add): Fix the overflow checking when subtract_p is true.
* config/mips/mips.c (mips_scalar_mode_supported_p): Declare.
(TARGET_SCALAR_MODE_SUPPORTED_P): Define.
(mips_scalar_mode_supported_p): New function to accept fixed-point
modes if the width is not greater than two BITS_PER_WORD.
Modified:
branches/fixed-point/gcc/ChangeLog
branches/fixed-point/gcc/config/mips/mips.c
branches/fixed-point/gcc/convert.c
branches/fixed-point/gcc/fixed-value.c