i965/fs: Check ADD/MAD with immediates in satprop unit test
authorMatt Turner <mattst88@gmail.com>
Mon, 20 Nov 2017 22:21:43 +0000 (14:21 -0800)
committerMatt Turner <mattst88@gmail.com>
Tue, 21 Nov 2017 18:13:07 +0000 (10:13 -0800)
commitbeaea7abfa9f25460284f739fa50050a889ce6cd
tree68c8f3d9eaeb1421e5d4d2924f3fcc224f47145a
parenta05af1f7b8f82a38513bba31f9573cd62d82f18d
i965/fs: Check ADD/MAD with immediates in satprop unit test

The gen had to be changed from 4 to 6 so that we could test MAD, which
is new on Gen6.

mad_imm_float_neg_mov_sat tests the case fixed by the previous commit.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/intel/compiler/test_fs_saturate_propagation.cpp