This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Another way to tag instructions...
- From: Dan Towner <dant at picochip dot com>
- To: Alan Lehotsky <apl at alum dot mit dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 20 Jun 2002 21:59:43 +0100
- Subject: Re: Another way to tag instructions...
- Organization: picoChip Designs Ltd.
- References: <a05111a0cb937dcd39d51@[63.214.111.119]>
Alan
> Add a new define_insn that uses an UNSPEC (so it can't match anything
> by accident. insert the UNSPEC insns into the instruction stream to
> mark the end of a VLIW schedule group.
>
> This requires NO modification to shared GCC source (all the changes
> are in your target.md and target.c files) but does depend on either
> "look-ahead" (the emitter for the last real instruction has to look
> forward to see if there's a VLIW-barrier immediately following) or on
> whatever semantics you need to indicate the end of a compacted
> instruction being simple enough....
Thanks. How do I insert an instruction into the stream from the DFA
scheduler component, such as SCHED_VARIABLE_ISSUE?
Dan.
=============================================================================
Daniel Towner
picoChip Designs Ltd., Riverside Buildings, 108, Walcot Street, BATH,
BA1 5BG
dant@picochip.com
07786 702589