summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.cpp
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2013-08-08 13:50:01 -0700
committerIan Romanick <ian.d.romanick@intel.com>2013-08-21 21:11:51 -0700
commitf0bc10679e1d1fa8009c8facd7a3ee87053fb27b (patch)
treeed4c30b0c9e15157e65bb1102274f5dbc87db420 /src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.cpp
parent3f438bfa4c795856d39da79959830483d0b8d362 (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 <ian.d.romanick@intel.com> Reviewed-by: Paul Berry <stereoytpe441@gmail.com> (cherry picked from commit 0ae9ca12a887a5aca47edc2a6a99eac4235bf4b0)
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.cpp')
0 files changed, 0 insertions, 0 deletions