diff options
author | Roy Spliet <[email protected]> | 2015-02-06 22:46:56 +0100 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-02-10 08:02:13 -0500 |
commit | 09ee907266f315300a7856b55e50e74dce8e946f (patch) | |
tree | 287917eedab74d16ee18b168242e3552746437d6 /src/mesa/main | |
parent | 3dc39d0bca0f06454cb5cddf7571facb7671767a (diff) |
nv50/ir: Fold IMM into MAD
Add a specific optimisation pass for NV50 to check whether SRC0 or SRC1 is
a MOV dst, IMM. If so: fold the IMM in and try to drop the MOV. Must be
done post-RA because it requires that SDST == SSRC2.
V2: improve readability and add comments to clarify decisions
V3: Remove redundant code... compiler already attempts to put the IMM in
SSRC1
Signed-off-by: Roy Spliet <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mesa/main')
0 files changed, 0 insertions, 0 deletions