Re: [Mesa-dev] RFC: r300 compiler loop emulation

2010-06-10 Thread Tom Stellard
On Mon, Jun 07, 2010 at 01:00:29AM +0200, Marek Olšák wrote: > On Sun, Jun 6, 2010 at 10:53 AM, Tom Stellard wrote: > > > Hi, > > > > I have just published a branch with loop emulation for the r300 > > compiler here: > > http://cgit.freedesktop.org/~tstellar/mesa/

Re: [Mesa-dev] RFC: r300 compiler loop emulation

2010-06-10 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric Anholt wrote: > Parser is at 338/363 testcases passing earlier today (way more than Mesa > master) without the preprocessor integrated. > > - I need to get texture intructions into the Mesa IR codegen > - glue it into Mesa and test that codegen a

Re: [Mesa-dev] RFC: r300 compiler loop emulation

2010-06-09 Thread Eric Anholt
On Wed, 09 Jun 2010 08:01:42 -0600, Brian Paul wrote: > Jakob Bornecrantz wrote: > > On Wed, Jun 9, 2010 at 3:51 PM, Brian Paul wrote: > >> Tom Stellard wrote: > >>> On Tue, Jun 08, 2010 at 09:16:06AM -0600, Brian Paul wrote: > Tom Stellard wrote: > > On Mon, Jun 07, 2010 at 08:38:15AM -

Re: [Mesa-dev] RFC: r300 compiler loop emulation

2010-06-09 Thread Brian Paul
Jakob Bornecrantz wrote: On Wed, Jun 9, 2010 at 3:51 PM, Brian Paul wrote: Tom Stellard wrote: On Tue, Jun 08, 2010 at 09:16:06AM -0600, Brian Paul wrote: Tom Stellard wrote: On Mon, Jun 07, 2010 at 08:38:15AM -0600, Brian Paul wrote: Tom Stellard wrote: Hi, I have just published a branch

Re: [Mesa-dev] RFC: r300 compiler loop emulation

2010-06-09 Thread Jakob Bornecrantz
On Wed, Jun 9, 2010 at 3:51 PM, Brian Paul wrote: > Tom Stellard wrote: >> >> On Tue, Jun 08, 2010 at 09:16:06AM -0600, Brian Paul wrote: >>> >>> Tom Stellard wrote: On Mon, Jun 07, 2010 at 08:38:15AM -0600, Brian Paul wrote: > > Tom Stellard wrote: >> >> Hi, >> >

Re: [Mesa-dev] RFC: r300 compiler loop emulation

2010-06-09 Thread Brian Paul
Tom Stellard wrote: On Tue, Jun 08, 2010 at 09:16:06AM -0600, Brian Paul wrote: Tom Stellard wrote: On Mon, Jun 07, 2010 at 08:38:15AM -0600, Brian Paul wrote: Tom Stellard wrote: Hi, I have just published a branch with loop emulation for the r300 compiler here: http://cgit.freedesktop.org/~

Re: [Mesa-dev] RFC: r300 compiler loop emulation

2010-06-09 Thread Tom Stellard
On Tue, Jun 08, 2010 at 09:16:06AM -0600, Brian Paul wrote: > Tom Stellard wrote: > > On Mon, Jun 07, 2010 at 08:38:15AM -0600, Brian Paul wrote: > >> Tom Stellard wrote: > >>> Hi, > >>> > >>> I have just published a branch with loop emulation for the r300 > >>> compiler here: http://cgit.freedeskt

Re: [Mesa-dev] RFC: r300 compiler loop emulation

2010-06-08 Thread Brian Paul
Tom Stellard wrote: On Mon, Jun 07, 2010 at 08:38:15AM -0600, Brian Paul wrote: Tom Stellard wrote: Hi, I have just published a branch with loop emulation for the r300 compiler here: http://cgit.freedesktop.org/~tstellar/mesa/ This adds support for unrolling of loops that have a constant nu

Re: [Mesa-dev] RFC: r300 compiler loop emulation

2010-06-07 Thread Tom Stellard
On Mon, Jun 07, 2010 at 08:38:15AM -0600, Brian Paul wrote: > Tom Stellard wrote: > > Hi, > > > > I have just published a branch with loop emulation for the r300 > > compiler here: http://cgit.freedesktop.org/~tstellar/mesa/ > > > > This adds support for unrolling of loops that have a constant n

Re: [Mesa-dev] RFC: r300 compiler loop emulation

2010-06-07 Thread Brian Paul
Tom Stellard wrote: Hi, I have just published a branch with loop emulation for the r300 compiler here: http://cgit.freedesktop.org/~tstellar/mesa/ This adds support for unrolling of loops that have a constant number of iterations (e.g. for(i=0; i<10; i++) or for(i=10; i>0; i--) It only handle

Re: [Mesa-dev] RFC: r300 compiler loop emulation

2010-06-06 Thread Marek Olšák
On Sun, Jun 6, 2010 at 10:53 AM, Tom Stellard wrote: > Hi, > > I have just published a branch with loop emulation for the r300 > compiler here: > http://cgit.freedesktop.org/~tstellar/mesa/ > > This adds support for unrolling of loops that have a co

[Mesa-dev] RFC: r300 compiler loop emulation

2010-06-06 Thread Tom Stellard
Hi, I have just published a branch with loop emulation for the r300 compiler here: http://cgit.freedesktop.org/~tstellar/mesa/ This adds support for unrolling of loops that have a constant number of iterations (e.g. for(i=0; i<10; i++) or for(i=10; i>0; i--) It only handles cases where the count