intel/compiler/fs: Don't generate integer DWord multiply on Gen11

Like CHV et al., Gen11 does not support 32x32 -> 32/64-bit integer
multiplies.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Matt Turner
2017-10-23 10:44:39 -07:00
parent 432674ce93
commit 3a584a15c0
3 changed files with 6 additions and 5 deletions

View File

@@ -3549,11 +3549,7 @@ fs_visitor::lower_integer_multiplication()
inst->dst.type != BRW_REGISTER_TYPE_UD))
continue;
/* Gen8's MUL instruction can do a 32-bit x 32-bit -> 32-bit
* operation directly, but CHV/BXT cannot.
*/
if (devinfo->gen >= 8 &&
!devinfo->is_cherryview && !gen_device_info_is_9lp(devinfo))
if (devinfo->has_integer_dword_mul)
continue;
if (inst->src[1].file == IMM &&