[Mesa-dev] [PATCH] r600g: Check for reduction instructions when merging instruction groups

Christian König deathsimple at vodafone.de
Wed Oct 5 10:25:42 PDT 2011


Am Mittwoch, den 05.10.2011, 10:57 -0400 schrieb Tom Stellard:
> Reduction instructions can't share an instruction group with other
> instructions, so we need to check for them when trying to merge
> instruction groups. 

Hui? Where do you got that info?

I especially created that code to let a DOT4 and an ADD instruction
share the same instruction group in the first place, so I'm pretty sure
that it work.

It is indeed not possible to have a reduction instruction + something
else in the vector slots, but since a reduction instruction should
always take all four vector slots that shouldn't be a problem.

So what is the reason/problem behind it?

Regards,
Christian.



More information about the mesa-dev mailing list