Skip to content
  • Emma Anholt's avatar
    freedreno/ir3: Stop doing b2n on the SEL condition. · 82375cca
    Emma Anholt authored
    SEL_B32 (and presumably B16) checks for 0 or nonzero in the condition
    (tested by just stuffing a uniform's value into it), so there's no need to
    do ir3_b2n() on it, or any preceding ir3_n2b().
    
    instructions in affected programs: 664444 -> 659927 (-0.68%)
    nops in affected programs: 267898 -> 266312 (-0.59%)
    non-nops in affected programs: 420260 -> 417329 (-0.70%)
    dwords in affected programs: 144032 -> 137568 (-4.49%)
    last-baryf in affected programs: 10801 -> 10321 (-4.44%)
    full in affected programs: 2003 -> 2002 (-0.05%)
    sstall in affected programs: 76670 -> 77405 (0.96%)
    (ss) in affected programs: 4515 -> 4525 (0.22%)
    (sy) in affected programs: 612 -> 604 (-1.31%)
    
    Part-of: <mesa!4516>
    82375cca