intel/compiler: Don't move immediate in register
authorSagar Ghuge <sagar.ghuge@intel.com>
Tue, 21 May 2019 23:15:16 +0000 (16:15 -0700)
committerSagar Ghuge <sagar.ghuge@intel.com>
Tue, 22 Oct 2019 03:32:43 +0000 (20:32 -0700)
commit18b28b5654e23c074e5158b2ce35c691733d7262
tree12bca86ac152eefe534c6be77762f46dc2e37853
parentbf943bdf24be0e663aa866e26f06f9fddcbef155
intel/compiler: Don't move immediate in register

On Gen12, we support mixed mode HF/F operands, and also 3 source
instruction supports immediate value support, so keep immediate as it
is, if it fits properly in 16 bit field.

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/compiler/brw_fs_combine_constants.cpp