[Mesa-dev] [PATCH v3] R600/SI: Add pattern for AMDGPUurecip
Christian König
deathsimple at vodafone.de
Thu Apr 11 01:12:01 PDT 2013
Am 10.04.2013 18:50, schrieb Tom Stellard:
> On Wed, Apr 10, 2013 at 05:59:48PM +0200, Michel Dänzer wrote:
>> [SNIP]
> We should start using the updated pattern syntax for all new patterns.
> This means replacing register classes with types for the input patterns
> and omitting the type in the output pattern:
>
> def : Pat <
> (AMDGPUurecip i32:$src0),
> (V_CVT_U32_F32_e32
> (V_MUL_F32_e32 CONST.FP_UINT_MAX_PLUS_1,
> (V_RCP_IFLAG_F32_e32 (V_CVT_F32_U32_e32 $src0))))
>
> With that change:
>
> Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
BTW: I created the attached patches two weeks ago. They rework most of
the existing patterns on SI to use the new format, but I currently don't
have time to rebase, test & commit them. They shouldn't change anything
in functionality, so if you guys think they are ok then please review
and commit them.
Thanks,
Christian.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-R600-SI-remove-nonsense-select-pattern.patch
Type: text/x-diff
Size: 1496 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130411/c017d03a/attachment-0009.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-R600-SI-start-reworking-patterns.patch
Type: text/x-diff
Size: 3255 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130411/c017d03a/attachment-0010.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-R600-SI-remove-reg-classes-from-constant-load-patter.patch
Type: text/x-diff
Size: 1787 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130411/c017d03a/attachment-0011.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-R600-SI-remove-reg-classes-from-VOP3-patterns.patch
Type: text/x-diff
Size: 1226 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130411/c017d03a/attachment-0012.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-R600-SI-remove-reg-classes-from-instrinsic-patterns.patch
Type: text/x-diff
Size: 4597 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130411/c017d03a/attachment-0013.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-R600-SI-remove-reg-classes-from-interpolation-patter.patch
Type: text/x-diff
Size: 1852 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130411/c017d03a/attachment-0014.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-R600-SI-remove-register-classes-from-modifier-patter.patch
Type: text/x-diff
Size: 1576 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130411/c017d03a/attachment-0015.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-R600-SI-remove-register-classes-from-image-sampling-.patch
Type: text/x-diff
Size: 6891 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130411/c017d03a/attachment-0016.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-R600-SI-remove-register-classes-from-the-remaining-p.patch
Type: text/x-diff
Size: 4125 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130411/c017d03a/attachment-0017.patch>
More information about the mesa-dev
mailing list