Mesa (master): 21 new commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jun 15 18:35:11 UTC 2020


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a02e7f679975bba76ee2a5c64b5b43432619b5a5
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Thu Jun 11 14:06:32 2020 +0100

    aco: fix encoding of certain s_setreg_imm32_b32 instructions
    
    If the mode is too small, the operand will be an inline constant and the
    literal dword won't be written.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=82c265a51467ec8c112146bc7a2875609d5be0cf
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Thu Jun 11 14:22:13 2020 +0100

    aco: improve check for moving temporaries out of fixed definitions
    
    No fossil-db changes.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e9578e303386c22940b62a88ea85cea794124537
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Thu Jun 11 14:05:48 2020 +0100

    aco: allow GFX9 partial writes with instructions which use opsel
    
    Some instructions such as v_mad_f16 can do partial writes on GFX9.
    
    No fossil-db changes.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=82de70d06e1b678aa2426ae647327ca2f418dc0e
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Tue May 19 13:41:43 2020 +0100

    aco: add more opcodes to can_swap_operands
    
    fossil-db (Navi, fp16 enabled):
    Totals from 310 (0.24% of 127638) affected shaders:
    CodeSize: 1290508 -> 1289716 (-0.06%)
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c1b55962e0da924bc96a16689c9421888891959
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Thu Apr 9 16:41:00 2020 +0200

    aco: allow to swap operands for some 16-bit float instructions
    
    No fossil-db changes.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=575b431c80170c2f3234e996947b363c4db5dcb9
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Tue May 19 11:45:12 2020 +0100

    aco: validate sub-dword pseudo instructions
    
    No fossil-db changes.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d16a7190a309ba87dc52760999dd3a6c033143ef
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Fri May 15 20:26:39 2020 +0100

    aco: optimize 16-bit and 64-bit float comparisons
    
    No fossil-db changes.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=22d712273989701c91c50f98e27162aa2a1fb12f
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Mon May 18 19:42:40 2020 +0100

    aco: copy-propagate constants through p_extract_vector/p_split_vector
    
    fossil-db (Navi, fp16 enabled):
    Totals from 1 (0.00% of 127638) affected shaders:
    CodeSize: 4388 -> 4392 (+0.09%)
    VMEM: 465 -> 458 (-1.51%)
    Copies: 54 -> 55 (+1.85%)
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d6f67950d91de1dd50b096de144e504a89ea21d
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Fri May 15 16:28:03 2020 +0100

    aco: improve 8/16-bit constants
    
    fossil-db (Navi, fp16 enabled):
    Totals from 1 (0.00% of 127638) affected shaders:
    CodeSize: 4540 -> 4388 (-3.35%)
    Instrs: 861 -> 830 (-3.60%)
    Cycles: 3444 -> 3320 (-3.60%)
    VMEM: 489 -> 465 (-4.91%)
    SMEM: 107 -> 110 (+2.80%)
    SClause: 31 -> 30 (-3.23%)
    Copies: 58 -> 54 (-6.90%)
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4784111abc113ae64ce1d597407e0c32d6a88160
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Mon Jun 15 14:30:34 2020 +0100

    aco: use 32-bit inline constants for 16-bit integer instructions
    
    See https://reviews.llvm.org/D81841
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dd233455679fe0f0ae441cc5ef3dd366132951e7
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Mon Jun 15 14:21:03 2020 +0100

    aco: fix half_pi constant for 16-bit fsin/fcos
    
    This worked because the optimizer didn't consider that the 16-bit
    instruction would interpret the inline constant differently. This will
    change in the next commit.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b69ed0bb9503befd73e7bfa4867dc431d01e2ee
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Mon May 18 15:26:58 2020 +0100

    aco: improve sub-dword check for sgpr/constant propagation
    
    p_create_vector can have sub-dword operands with a v1 definition.
    
    No fossil-db changes.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1210e0bd6205c5f5365a29c91425dea3e49d89a7
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Fri May 15 15:12:33 2020 +0100

    aco: create 16-bit input and output modifiers
    
    fossil-db (Navi, fp16 enabled):
    Totals from 1 (0.00% of 127638) affected shaders:
    CodeSize: 4552 -> 4540 (-0.26%)
    Instrs: 863 -> 861 (-0.23%)
    Cycles: 3452 -> 3444 (-0.23%)
    VMEM: 490 -> 489 (-0.20%)
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5a5674178f61089ff6d099dfad11b4852a50ad6
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Tue May 19 13:24:45 2020 +0100

    aco: update comment about preserving fp16/fp64 denormals
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f511efa16adb5e820c4535473de9bfb59f5e470
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Thu May 14 21:09:36 2020 +0100

    aco: create 16-bit mad/fma
    
    fossil-db (Navi, fp16 enabled):
    Totals from 1 (0.00% of 127638) affected shaders:
    CodeSize: 4868 -> 4552 (-6.49%)
    Instrs: 956 -> 863 (-9.73%)
    Cycles: 3824 -> 3452 (-9.73%)
    VMEM: 504 -> 490 (-2.78%)
    SMEM: 109 -> 107 (-1.83%)
    VClause: 19 -> 20 (+5.26%)
    Copies: 54 -> 58 (+7.41%)
    PreVGPRs: 43 -> 41 (-4.65%)
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b10764e50998a556e000323c77d4a1632a80dfc
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Fri May 15 14:03:15 2020 +0100

    aco: try to use fma instead of mad when denormals are enabled
    
    v_mad_f32 doesn't support denormals but v_fma_f32 does.
    
    No fossil-db changes.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6cb42cdd8fddb990ee47124c18a510f4da6e99ac
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Fri May 15 14:24:12 2020 +0100

    aco: create mads when signed zeros should be preserved
    
    This check was added because I thought v_mad_f32 didn't preserve the
    signess of zero, but I can't reproduce that and this isn't mentioned
    anywhere in LLVM.
    
    No fossil-db changes.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b6a319c15f3c63acb0384c47a94fb40f2aeb17d
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Fri May 15 13:58:20 2020 +0100

    aco: add and set precise flag
    
    No fossil-db changes.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a8f800a836200f24607065fe172e51045baf9112
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Thu Jun 11 14:35:13 2020 +0100

    aco: use p_as_uniform in emit_vop1_instruction
    
    No fossil-db changes.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b6d9e45f473edf4a3cfa86963b1849365f2297b1
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Tue May 19 11:53:44 2020 +0100

    aco: improve code for f2{i,u}{8,16}
    
    Use sub-dword definitions so that the RA can use SDWA
    
    No fossil-db changes.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=34d481fd1f689805e0f41a8907bd00f96270fbfc
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Tue May 19 13:26:21 2020 +0100

    aco: use num_opcodes instead of last_opcode
    
    No fossil-db changes.
    
    Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
    Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
    Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>



More information about the mesa-commit mailing list