diff options
author | Matt Turner <[email protected]> | 2013-08-08 13:50:01 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2013-08-16 13:11:07 -0700 |
commit | 0ae9ca12a887a5aca47edc2a6a99eac4235bf4b0 (patch) | |
tree | ced4276dc96e8b1b21ea1e9dfbff6e5783c5dda8 /src/mesa/drivers/dri/i965/brw_fs.cpp | |
parent | 079bdba05f870807d3ed77fa3093cdb7727aa2fd (diff) |
i965: Emit MOVs for neg/abs.
Necessary to avoid combining a bitcast and a modifier into a single
operation. Otherwise if safe, the MOV should be removed by
copy-propagation or register coalescing.
With this and the next patch, there are only four changes in shader-db:
all a single extra instruction. The code does something like
mov a.w, -b.x
and copy propagation doesn't work because it only handles no-op
swizzles. Seems acceptable, given the known limitation of our copy
propagation.
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.cpp')
0 files changed, 0 insertions, 0 deletions