[Mesa-dev] [PATCH 7/8] i965: call next_insn() before referencing a instruction by index

Eric Anholt eric at anholt.net
Fri Dec 23 22:23:58 PST 2011


On Fri, 23 Dec 2011 11:13:09 +0800, Yuanhan Liu <yuanhan.liu at linux.intel.com> wrote:
> Here is the fixed patch:
> 
> From 7c8b8bc87846df9513a0c32cc8a388fb62f5476a Mon Sep 17 00:00:00 2001
> From: Yuanhan Liu <yuanhan.liu at linux.intel.com>
> Date: Wed, 21 Dec 2011 15:32:02 +0800
> Subject: [PATCH] i965: call next_insn() before referencing a instruction by
>  index
> 
> A single next_insn may change the base address of instruction store
> memory(p->store), so call it first before referencing the instruction
> store pointer from an index.
> 
> This the final prepare work to enable the dynamic store size.
> 
> v2: comments from Ken, define emit_endif as bool type

I like this version much better.  Thanks!

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20111223/b8c54bae/attachment.pgp>


More information about the mesa-dev mailing list