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]

Re: Avoid using of quad on i386


On Fri, Dec 07, 2001 at 11:56:53PM +0100, Jan Hubicka wrote:
> I will update and commit whatever sollution is preferred. Richard, do you
> preffer my patch with FILE descriptors removed and docs updated or the
> alternative patch.  What has been problem with it?

Neither patch was updated for the commentary given.  Dunno
what happened.

I prefer a solution in which we have

	struct asm_out
	{
	...
	  bool (*integer) (rtx x, HOST_WIDE_INT size, bool aligned);
	  const char *int1_op;
	  const char *int2_op;
	  const char *int4_op;
	  const char *int8_op;
	  const char *unaligned_int1_op;
	  const char *unaligned_int2_op;
	  const char *unaligned_int4_op;
	  const char *unaligned_int8_op;
	};

where the default version of the hook uses the intN_op strings.

This will eliminate hordes of duplicate code.


r~


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