i965/fs: Set execution controls correctly in lower_integer_multiplication().
lower_integer_multiplication() was ignoring the execution controls of the original MUL instruction. Fix it by using the new fs_builder constructor. Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
This commit is contained in:
parent
ce90227c71
commit
ff463af436
|
@ -3139,7 +3139,7 @@ fs_visitor::lower_integer_multiplication()
|
||||||
inst->dst.type != BRW_REGISTER_TYPE_UD))
|
inst->dst.type != BRW_REGISTER_TYPE_UD))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
const fs_builder ibld = bld.at(block, inst);
|
const fs_builder ibld(this, block, inst);
|
||||||
|
|
||||||
/* The MUL instruction isn't commutative. On Gen <= 6, only the low
|
/* The MUL instruction isn't commutative. On Gen <= 6, only the low
|
||||||
* 16-bits of src0 are read, and on Gen >= 7 only the low 16-bits of
|
* 16-bits of src0 are read, and on Gen >= 7 only the low 16-bits of
|
||||||
|
|
Loading…
Reference in New Issue