intel/compiler: remove the operand restriction for src1 on GLK
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 1 Nov 2019 21:28:48 +0000 (14:28 -0700)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 5 Nov 2019 00:08:34 +0000 (00:08 +0000)
commitb57383a9445eae153fbf91fad8592d273b14e546
tree5586dd78db1b91962bfa9303fa96e05c36b9fd0a
parent4319cc8c0f51a9e103167b35c02d9460a9840170
intel/compiler: remove the operand restriction for src1 on GLK

Commit 5847de6e9afe implemented a restriction that applies to ICL, but
wrongly marked it as also applying to GLK. Reviewers or MR !1125
pointed this, and the commit history shows removal of GLK to parts of
the patch, but it turns there was still a left-over GLK check in the
code.

This code was breaking some of the i8vec2 tests on GLK, for example:
  dEQP-VK.subgroups.arithmetic.compute.subgroupadd_i8vec2

Removing the GLK check solves the issue for GLK. I don't see a reason
on why implementing this restriction would actually break GLK, so
there's still more to investigate here since this bug may be affecting
ICL+, but let's apply the real GLK fix while we analyze and discuss
the other possible issues.

Fixes: 5847de6e9afe ("intel/compiler: don't use byte operands for src1
on ICL")
BSpec: 3017
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
src/intel/compiler/brw_fs_builder.h