diff options
author | Matt Turner <[email protected]> | 2015-02-09 21:26:14 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-02-19 21:16:43 -0800 |
commit | 30ec53f30ee5813db30777b45dbe456a02c8382e (patch) | |
tree | 5b952a9ff14ca01711b3472751e192d9ae0b08b4 /scons/crossmingw.py | |
parent | 3b7f683f3bbbd93e417a6f42ec7c609465be49de (diff) |
i965/blorp: Optimize clamping tex coords.
Each emit_cond_mov() emits a CMP of its first to arguments using the
specified conditional mod, followed by a predicated MOV of the fifth
argument into the fourth. In all four cases here, it was just
implementing MIN/MAX which we can do in a single SEL instruction.
Also reorder the instructions for a slightly better schedule.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'scons/crossmingw.py')
0 files changed, 0 insertions, 0 deletions