Am 29.09.2017 14:51 schrieb "Marek Olšák" <mar...@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@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to