OSDN Git Service

i965: Emit proper NOPs.
authorMatt Turner <mattst88@gmail.com>
Sun, 4 Dec 2016 04:14:55 +0000 (20:14 -0800)
committerMatt Turner <mattst88@gmail.com>
Tue, 6 Dec 2016 18:42:46 +0000 (10:42 -0800)
commit43cdbb3e6ab7224278a2c68586b8d1a9cb7429a9
tree01b28a17a7db3da57f0484bc5a2fcd3fed33a299
parent9c95ad24ccc61bcd2792c8bffd0a74355085927f
i965: Emit proper NOPs.

The PRMs for HSW and newer say that other than the opcode and DebugCtrl
bits of the instruction word, the rest must be zero.

By zeroing the instruction word manually, we avoid using any of the
state inherited through brw_codegen.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96959
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_eu_emit.c