[Mesa-dev] [PATCH 00/11] Gallium/RadeonSI: Allow any 1D register as a TGSI address operand

Gert Wollny gw.fossdev at gmail.com
Fri Sep 29 13:33:05 UTC 2017


Am 29.09.2017 14:51 schrieb "Marek Olšák" <maraeo at gmail.com>:

>
> If all requirements are met, UARL isn't emitted and the source operand
> of UARL is folded into the instruction where ADDR would normally be
> used.
I only skimmed over the patches, but this will need tracking  reladdr* in
the temporary register  lifetime estimation that is called by
merge_registers, which is not yet done (unless I missed a patch in the last
few days or I didn't see it in this set).

AFAIR radeonsi doesn't use it, but at least r600g does, for which you also
enabled this new behaviour.

On Monday I can have a closer look at it.

best,
gert

>
> The use case that we primarily care about is to get SV[i].x in address
> operands to help us generate better code in radeonsi.
>
> Please review.
>
> Thanks,
> Marek
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170929/f618a78d/attachment.html>


More information about the mesa-dev mailing list