i965: Allow immediates to be folded into logical and shift instructions.
authorMatt Turner <mattst88@gmail.com>
Mon, 5 Aug 2013 22:17:04 +0000 (15:17 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 9 Sep 2013 22:01:08 +0000 (15:01 -0700)
commit89f5f675ad27bd485d1c1be654ca10c49321957f
tree402d12f2cb8cc2dfe27698e891d900458625953c
parentd83221c2d33dcad3e5d3f8d8fa6abddea63b8817
i965: Allow immediates to be folded into logical and shift instructions.

These instructions will be used with immediate arguments in the upcoming
ldexp lowering pass and frexp implementation.

v2: Add vec4 support as well.
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.cpp