Re: [Mesa-dev] [PATCH] Better GPU program optimization in Mesa front end

2010-07-26 Thread Segovia, Benjamin
: Segovia, Benjamin Cc: Eric Anholt; mesa-dev@lists.freedesktop.org Subject: Re: [Mesa-dev] [PATCH] Better GPU program optimization in Mesa front end mov dst.xz src.yyww The second and y and w can be anything. Cheers Jakob. On 26 jul 2010, at 17.14, Segovia, Benjamin wrote: > So basically, >

Re: [Mesa-dev] [PATCH] Better GPU program optimization in Mesa front end

2010-07-26 Thread Jakob Bornecrantz
ovia=intel@lists.freedesktop.org [mesa-dev-bounces+benjamin.segovia=intel@lists.freedesktop.org] On Behalf Of Segovia, Benjamin [benjamin.sego...@intel.com] Sent: Monday, July 26, 2010 6:13 PM To: Eric Anholt; mesa-dev@lists.freedesktop.org Subject: Re: [Mesa-dev] [PATCH] Better GPU program op

Re: [Mesa-dev] [PATCH] Better GPU program optimization in Mesa front end

2010-07-26 Thread Segovia, Benjamin
, Benjamin [benjamin.sego...@intel.com] Sent: Monday, July 26, 2010 6:13 PM To: Eric Anholt; mesa-dev@lists.freedesktop.org Subject: Re: [Mesa-dev] [PATCH] Better GPU program optimization in Mesa front end - Hmm, first bug is clearly something I misunderstood. You say: in "mov dst.xz src" src will

Re: [Mesa-dev] [PATCH] Better GPU program optimization in Mesa front end

2010-07-26 Thread Segovia, Benjamin
n. - For bit_scan, bit_cound, what would you prefer? Cheers, Ben From: Eric Anholt [e...@anholt.net] Sent: Monday, July 26, 2010 6:03 PM To: Segovia, Benjamin; mesa-dev@lists.freedesktop.org Subject: Re: [Mesa-dev] [PATCH] Better GPU program optimizati

Re: [Mesa-dev] [PATCH] Better GPU program optimization in Mesa front end

2010-07-26 Thread Eric Anholt
On Mon, 19 Jul 2010 16:01:02 -0700, Benjamin Segovia wrote: > - Improved optimization of GPU programs. Now, swizzling is taken into account > and swizzles are properly transformed while removing mov instructions. > Removals of mov instructions are now much more effective > > - Analysis of co

Re: [Mesa-dev] [PATCH] Better GPU program optimization in Mesa front end

2010-07-19 Thread Tom Stellard
On Mon, Jul 19, 2010 at 04:01:02PM -0700, Benjamin Segovia wrote: > - Improved optimization of GPU programs. Now, swizzling is taken into account > and swizzles are properly transformed while removing mov instructions. > Removals of mov instructions are now much more effective > > - Analysis o

[Mesa-dev] [PATCH] Better GPU program optimization in Mesa front end

2010-07-19 Thread Benjamin Segovia
- Improved optimization of GPU programs. Now, swizzling is taken into account and swizzles are properly transformed while removing mov instructions. Removals of mov instructions are now much more effective - Analysis of control flows is still very primitive and far more too conservative. Sha