Re: [Mesa-dev] [PATCH v2 3/6] i965/vec4: Don't emit scratch reads for a spilled register we have just written

2015-08-06 Thread Francisco Jerez
Francisco Jerez curroje...@riseup.net writes: Iago Toral ito...@igalia.com writes: On Fri, 2015-07-31 at 13:12 +0300, Francisco Jerez wrote: Iago Toral ito...@igalia.com writes: On Thu, 2015-07-30 at 17:08 +0300, Francisco Jerez wrote: Iago Toral Quiroga ito...@igalia.com writes:

Re: [Mesa-dev] [PATCH v2 3/6] i965/vec4: Don't emit scratch reads for a spilled register we have just written

2015-08-04 Thread Iago Toral
On Fri, 2015-07-31 at 13:12 +0300, Francisco Jerez wrote: Iago Toral ito...@igalia.com writes: On Thu, 2015-07-30 at 17:08 +0300, Francisco Jerez wrote: Iago Toral Quiroga ito...@igalia.com writes: When we have code such as this: mov vgrf1.0.x:F, vgrf2.:F mov vgrf3.0.x:F,

Re: [Mesa-dev] [PATCH v2 3/6] i965/vec4: Don't emit scratch reads for a spilled register we have just written

2015-08-04 Thread Francisco Jerez
Iago Toral ito...@igalia.com writes: On Fri, 2015-07-31 at 13:12 +0300, Francisco Jerez wrote: Iago Toral ito...@igalia.com writes: On Thu, 2015-07-30 at 17:08 +0300, Francisco Jerez wrote: Iago Toral Quiroga ito...@igalia.com writes: When we have code such as this: mov

Re: [Mesa-dev] [PATCH v2 3/6] i965/vec4: Don't emit scratch reads for a spilled register we have just written

2015-08-04 Thread Francisco Jerez
Iago Toral ito...@igalia.com writes: On Thu, 2015-07-30 at 17:08 +0300, Francisco Jerez wrote: Iago Toral Quiroga ito...@igalia.com writes: When we have code such as this: mov vgrf1.0.x:F, vgrf2.:F mov vgrf3.0.x:F, vgrf1.:F ... mov vgrf3.0.x:F, vgrf1.:F And vgrf1

Re: [Mesa-dev] [PATCH v2 3/6] i965/vec4: Don't emit scratch reads for a spilled register we have just written

2015-08-04 Thread Iago Toral
On Thu, 2015-07-30 at 17:08 +0300, Francisco Jerez wrote: Iago Toral Quiroga ito...@igalia.com writes: When we have code such as this: mov vgrf1.0.x:F, vgrf2.:F mov vgrf3.0.x:F, vgrf1.:F ... mov vgrf3.0.x:F, vgrf1.:F And vgrf1 is chosen for spilling, we can emit

Re: [Mesa-dev] [PATCH v2 3/6] i965/vec4: Don't emit scratch reads for a spilled register we have just written

2015-07-31 Thread Iago Toral
On Thu, 2015-07-30 at 17:08 +0300, Francisco Jerez wrote: Iago Toral Quiroga ito...@igalia.com writes: When we have code such as this: mov vgrf1.0.x:F, vgrf2.:F mov vgrf3.0.x:F, vgrf1.:F ... mov vgrf3.0.x:F, vgrf1.:F And vgrf1 is chosen for spilling, we can emit

Re: [Mesa-dev] [PATCH v2 3/6] i965/vec4: Don't emit scratch reads for a spilled register we have just written

2015-07-31 Thread Iago Toral
On Thu, 2015-07-30 at 17:14 +0300, Francisco Jerez wrote: Francisco Jerez curroje...@riseup.net writes: Iago Toral Quiroga ito...@igalia.com writes: When we have code such as this: mov vgrf1.0.x:F, vgrf2.:F mov vgrf3.0.x:F, vgrf1.:F ... mov vgrf3.0.x:F, vgrf1.:F

Re: [Mesa-dev] [PATCH v2 3/6] i965/vec4: Don't emit scratch reads for a spilled register we have just written

2015-07-31 Thread Francisco Jerez
Iago Toral ito...@igalia.com writes: On Thu, 2015-07-30 at 17:14 +0300, Francisco Jerez wrote: Francisco Jerez curroje...@riseup.net writes: Iago Toral Quiroga ito...@igalia.com writes: When we have code such as this: mov vgrf1.0.x:F, vgrf2.:F mov vgrf3.0.x:F, vgrf1.:F

Re: [Mesa-dev] [PATCH v2 3/6] i965/vec4: Don't emit scratch reads for a spilled register we have just written

2015-07-31 Thread Francisco Jerez
Iago Toral ito...@igalia.com writes: On Thu, 2015-07-30 at 17:08 +0300, Francisco Jerez wrote: Iago Toral Quiroga ito...@igalia.com writes: When we have code such as this: mov vgrf1.0.x:F, vgrf2.:F mov vgrf3.0.x:F, vgrf1.:F ... mov vgrf3.0.x:F, vgrf1.:F And vgrf1

Re: [Mesa-dev] [PATCH v2 3/6] i965/vec4: Don't emit scratch reads for a spilled register we have just written

2015-07-31 Thread Francisco Jerez
Francisco Jerez curroje...@riseup.net writes: Iago Toral ito...@igalia.com writes: On Thu, 2015-07-30 at 17:08 +0300, Francisco Jerez wrote: Iago Toral Quiroga ito...@igalia.com writes: When we have code such as this: mov vgrf1.0.x:F, vgrf2.:F mov vgrf3.0.x:F, vgrf1.:F ...

Re: [Mesa-dev] [PATCH v2 3/6] i965/vec4: Don't emit scratch reads for a spilled register we have just written

2015-07-31 Thread Iago Toral
On Fri, 2015-07-31 at 13:12 +0300, Francisco Jerez wrote: Iago Toral ito...@igalia.com writes: On Thu, 2015-07-30 at 17:08 +0300, Francisco Jerez wrote: Iago Toral Quiroga ito...@igalia.com writes: When we have code such as this: mov vgrf1.0.x:F, vgrf2.:F mov vgrf3.0.x:F,

Re: [Mesa-dev] [PATCH v2 3/6] i965/vec4: Don't emit scratch reads for a spilled register we have just written

2015-07-30 Thread Francisco Jerez
Iago Toral Quiroga ito...@igalia.com writes: When we have code such as this: mov vgrf1.0.x:F, vgrf2.:F mov vgrf3.0.x:F, vgrf1.:F ... mov vgrf3.0.x:F, vgrf1.:F And vgrf1 is chosen for spilling, we can emit this: mov vgrf1.0.x:F, vgrf2.:F gen4_scratch_write hw_reg0:F,

Re: [Mesa-dev] [PATCH v2 3/6] i965/vec4: Don't emit scratch reads for a spilled register we have just written

2015-07-30 Thread Francisco Jerez
Francisco Jerez curroje...@riseup.net writes: Iago Toral Quiroga ito...@igalia.com writes: When we have code such as this: mov vgrf1.0.x:F, vgrf2.:F mov vgrf3.0.x:F, vgrf1.:F ... mov vgrf3.0.x:F, vgrf1.:F And vgrf1 is chosen for spilling, we can emit this: mov vgrf1.0.x:F,

[Mesa-dev] [PATCH v2 3/6] i965/vec4: Don't emit scratch reads for a spilled register we have just written

2015-07-28 Thread Iago Toral Quiroga
When we have code such as this: mov vgrf1.0.x:F, vgrf2.:F mov vgrf3.0.x:F, vgrf1.:F ... mov vgrf3.0.x:F, vgrf1.:F And vgrf1 is chosen for spilling, we can emit this: mov vgrf1.0.x:F, vgrf2.:F gen4_scratch_write hw_reg0:F, vgrf1.:D, 22D mov vgrf3.0.x:F, vgrf1.:F ...