This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] The 2nd patch from the fixed-point branch


Hi,

> 2. Merge in fixed-value.h and fixed-value.c to handle fixed-point values.

  This is the 2nd patch from the fixed-point branch.  The structure to
hold fixed-point values and its associated functions are added.
"double_int_scmp" is fixed to correctly compare two double_int values.

  Please review this patch.  Thanks a lot!

Regards,
Chao-ying

2007-06-25  Chao-ying Fu  <fu@mips.com>

	* gengtype.c (main): Handle FIXED_VALUE_TYPE type as scalar typedef.
	* double-int.c (double_int_scmp): Use casts of unsigned HOST_WIDE_INT
	to compare a.low and b.low.
	* fixed-value.c: New file.
	* fixed-value.h: New file.
	* Makefile.in (OBJS-common): Add fixed-value.o.
	(fixed-value.o): New rule.
	(GTFILES): Add fixed-value.h.

Attachment: gcc.diff
Description: gcc.diff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]