[Mesa-dev] [PATCH 10/14] i965: Add BRW_OPCODE_NENOP for G45.

Matt Turner mattst88 at gmail.com
Wed Sep 24 11:08:21 PDT 2014


On Wed, Sep 24, 2014 at 10:41 AM, Ian Romanick <idr at freedesktop.org> wrote:
> There are a bunch of other places that do special things for
> BRW_OPCODE_NOP.  Do any of those also need changes?

There's really not many. The main use of NOP is when we change the
opcode of an instruction we want to remove to NOP, and then make a
separate pass after the optimization to remove NOP instructions (to
avoid removing things and changing instruction IPs which are used for
liveness checks).

Other than that, there's not really anything else.


More information about the mesa-dev mailing list