This is the mail archive of the gcc@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: USE insn and new register allocator


On Sun, May 11, 2003 at 02:37:43PM +0200, Herman ten Brugge wrote:
> 1) Is this the correct way to implement this in the md file.

No.

> Should we modify the md file?

Yes.

Use two define_expand patterns.  One takes the two arguments
you expect, one takes 10 arguments that you generate.  The
first does 

  emit_insn (gen_adsf (...))
  DONE;

> 2) Should we change genemit.c to remove these USE insns? For example:

No.


r~


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