diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2014-09-01 10:55:27 -0400 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2014-09-02 13:35:01 +0100 |
commit | a70892679293b3056475beaee4681294966d1698 (patch) | |
tree | 8905b9d732b8d9028ee533f0dfba9bab077b79bb /.gitattributes | |
parent | 2a967f712897d6dcd33e9d37e6c7a399580a2d8c (diff) |
nv50/ir: avoid creating instructions that can't be emitted
When constant folding a MAD operation, we first fold the multiply and
generate an ADD. However we do so without making sure that the immediate
can be handled in the saturate case. If it can't, load the immediate in
a separate instruction.
Reported-by: Tiziano Bacocco <tizbac2@gmail.com>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.2 10.3" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 6c2b079231f84b09b3f35183930afe522baee168)
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions