Skip to content

v3d,v3dv: support fsat in Pi5

Iago Toral requested to merge itoral/mesa:v3d_fmov_sat into main

V3D 7.x includes a new unpack modifier to do 32-bit float saturate to the 0-1 range, so we can use that to avoid the nir lowering.

   total instructions in shared programs: 11241106 -> 11047872 (-1.72%)
    instructions in affected programs: 4634458 -> 4441224 (-4.17%)
    helped: 25119
    HURT: 1717
    Instructions are helped.
    
    total threads in shared programs: 425238 -> 425036 (-0.05%)
    threads in affected programs: 878 -> 676 (-23.01%)
    helped: 79
    HURT: 180
    Inconclusive result (%-change mean confidence interval includes 0).
    
    total loops in shared programs: 1968 -> 1933 (-1.78%)
    loops in affected programs: 35 -> 0
    helped: 35
    HURT: 0
    Loops are helped.
    
    total uniforms in shared programs: 3845314 -> 3845219 (<.01%)
    uniforms in affected programs: 213615 -> 213520 (-0.04%)
    helped: 1338
    HURT: 1059
    Inconclusive result (value mean confidence interval includes 0).
    
    total max-temps in shared programs: 2224313 -> 2221507 (-0.13%)
    max-temps in affected programs: 236054 -> 233248 (-1.19%)
    helped: 4863
    HURT: 3357
    Max-temps are helped.
    
    total spills in shared programs: 4264 -> 4294 (0.70%)
    spills in affected programs: 274 -> 304 (10.95%)
    helped: 8
    HURT: 16
    
    total fills in shared programs: 6638 -> 6497 (-2.12%)
    fills in affected programs: 2240 -> 2099 (-6.29%)
    helped: 55
    HURT: 17

    total sfu-stalls in shared programs: 14942 -> 14353 (-3.94%)
    sfu-stalls in affected programs: 4863 -> 4274 (-12.11%)
    helped: 1287
    HURT: 1165
    Sfu-stalls are helped.
    
    total inst-and-stalls in shared programs: 11256048 -> 11062225 (-1.72%)
    inst-and-stalls in affected programs: 4635701 -> 4441878 (-4.18%)
    helped: 25074
    HURT: 1728
    Inst-and-stalls are helped.
    
    total nops in shared programs: 270482 -> 270621 (0.05%)
    nops in affected programs: 27579 -> 27718 (0.50%)
    helped: 1583
    HURT: 1967
    Inconclusive result (value mean confidence interval includes 0).
Edited by Iago Toral

Merge request reports

Loading