i965: Remove NOP insertion kludge in scheduler.
authorMatt Turner <mattst88@gmail.com>
Mon, 15 Feb 2016 18:43:39 +0000 (10:43 -0800)
committerMatt Turner <mattst88@gmail.com>
Thu, 31 Mar 2016 02:54:30 +0000 (19:54 -0700)
commitb4e223cfbf4d46e2ca4c7313f4ebd52798d21551
tree0ef2c0a890f9869c399802417744cc84f50051be
parenta607f4aa57def51236687ec17d7a6391fb147333
i965: Remove NOP insertion kludge in scheduler.

Instead of removing every instruction in add_insts_from_block(), just
move the instruction to its scheduled location. This is a step towards
doing both bottom-up and top-down scheduling without conflicts.

Note that this patch changes cycle counts for programs because it begins
including control flow instructions in the estimates.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp