This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Doubt about filling delay slot
"Mohamed Shafi" <shafitvm@gmail.com> writes:
> It is not necessary that a pattern with a single constrain will have
> only one instruction in the template.
> Say if the pattern A have two instructions in the template and pattern
> B has one instruction in the template and the target has only two
> delay slots will i be able to tell gcc that if delay slot 1 is filled
> with pattern A then don't fill the delay slot 2?
If I understand the question, then the answer is yes: write two
different define_delay patterns, one for instructions that match
pattern A and one for instructions that match pattern B.
Ian