diff options
author | Ilia Mirkin <[email protected]> | 2018-11-11 10:55:55 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2018-11-16 20:53:33 -0500 |
commit | 799e021894a0e23e3017bf0cbb8780190f3e5646 (patch) | |
tree | daa46b45260faf9d4d53c36f88586c82b01fb21a /src/mesa | |
parent | 955d943c33d55ebb469efaeb5710d42e267b121a (diff) |
nv50/ir/ra: improve condition for short regs, unify with cond for 16-bit
Instead of the size restriction existing in two places, and potentially
being applied twice, we move this together. Ops with 16-bit register
addresses can only take a short reg, and ops with immediates can only
take a short reg.
Of course we leave the immediate 0 in place since we know that it will
be replaced by r63/r127 down the line, so don't treat zeroes as an
immediate.
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Karol Herbst <[email protected]>
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions