[Mesa-dev] [PATCH 6/8] i965: get the jmp distance by instruction index
eric at anholt.net
Wed Dec 21 05:57:35 PST 2011
On Wed, 21 Dec 2011 17:33:41 +0800, Yuanhan Liu <yuanhan.liu at linux.intel.com> wrote:
> If dynamic instruction store size is enabled, while after the brw_JMPI()
> and before the brw_land_fwd_jump() function, the eu instruction store
> base address(p->store) may change. Thus, the safe way to reference the
> jmp instruction is by index instead of by the instruction address.
Our other instructions return the instruction pointer, I don't think
jmpi should be special in that respect.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the mesa-dev