mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 08:50:13 +01:00
nir/load_store_vectorize: remove offset check in try_vectorize_shared2
This doesn't seem useful anymore. fossil-db (gfx1201): Totals from 111 (0.14% of 79839) affected shaders: Instrs: 152356 -> 151883 (-0.31%); split: -0.35%, +0.04% CodeSize: 808484 -> 805584 (-0.36%); split: -0.39%, +0.04% VGPRs: 7880 -> 7844 (-0.46%); split: -0.91%, +0.46% Latency: 4121366 -> 4120648 (-0.02%); split: -0.04%, +0.02% InvThroughput: 814622 -> 815362 (+0.09%); split: -0.02%, +0.11% VClause: 3066 -> 3065 (-0.03%); split: -0.10%, +0.07% SClause: 2594 -> 2593 (-0.04%) Copies: 9412 -> 9447 (+0.37%); split: -0.47%, +0.84% PreSGPRs: 4012 -> 4026 (+0.35%) PreVGPRs: 4025 -> 4070 (+1.12%); split: -0.22%, +1.34% VALU: 80457 -> 81039 (+0.72%); split: -0.08%, +0.80% SALU: 16542 -> 16528 (-0.08%); split: -0.10%, +0.02% VOPD: 39 -> 44 (+12.82%) Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36370>
This commit is contained in:
parent
0f364aded3
commit
c59a85d406
1 changed files with 0 additions and 4 deletions
|
|
@ -1521,10 +1521,6 @@ try_vectorize_shared2(struct vectorize_ctx *ctx,
|
|||
if (diff % stride || diff > 255 * stride)
|
||||
return false;
|
||||
|
||||
/* try to avoid creating accesses we can't combine additions/offsets into */
|
||||
if (high->offset > 255 * stride || (st64 && high->offset % stride))
|
||||
return false;
|
||||
|
||||
if (first->is_store) {
|
||||
if (get_write_mask(low->intrin) != BITFIELD_MASK(low->num_components))
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue