Re: [Mesa-dev] [PATCH 1/2] radeonsi: Cache LLVMTargetMachine object in si_screen

2015-01-16 Thread Tom Stellard
On Wed, Jan 14, 2015 at 11:06:50AM +0900, Michel Dänzer wrote: > On 14.01.2015 04:07, Tom Stellard wrote: > > On Tue, Jan 13, 2015 at 06:47:00PM +0900, Michel Dänzer wrote: > >> On 07.01.2015 10:10, Michel Dänzer wrote: > >>> On 07.01.2015 06:33, Tom Stellard wrote: > On Wed, Dec 24, 2014 at 1

Re: [Mesa-dev] [PATCH 1/2] radeonsi: Cache LLVMTargetMachine object in si_screen

2015-01-13 Thread Michel Dänzer
On 14.01.2015 04:07, Tom Stellard wrote: > On Tue, Jan 13, 2015 at 06:47:00PM +0900, Michel Dänzer wrote: >> On 07.01.2015 10:10, Michel Dänzer wrote: >>> On 07.01.2015 06:33, Tom Stellard wrote: On Wed, Dec 24, 2014 at 12:48:31PM +0900, Michel Dänzer wrote: > On 24.12.2014 02:49, Tom Stel

Re: [Mesa-dev] [PATCH 1/2] radeonsi: Cache LLVMTargetMachine object in si_screen

2015-01-13 Thread Tom Stellard
On Tue, Jan 13, 2015 at 06:47:00PM +0900, Michel Dänzer wrote: > On 07.01.2015 10:10, Michel Dänzer wrote: > > On 07.01.2015 06:33, Tom Stellard wrote: > >> On Wed, Dec 24, 2014 at 12:48:31PM +0900, Michel Dänzer wrote: > >>> On 24.12.2014 02:49, Tom Stellard wrote: > Rather than building a ne

Re: [Mesa-dev] [PATCH 1/2] radeonsi: Cache LLVMTargetMachine object in si_screen

2015-01-13 Thread Michel Dänzer
On 07.01.2015 10:10, Michel Dänzer wrote: > On 07.01.2015 06:33, Tom Stellard wrote: >> On Wed, Dec 24, 2014 at 12:48:31PM +0900, Michel Dänzer wrote: >>> On 24.12.2014 02:49, Tom Stellard wrote: Rather than building a new one every compile. This should reduce some of the overhead of com

Re: [Mesa-dev] [PATCH 1/2] radeonsi: Cache LLVMTargetMachine object in si_screen

2015-01-06 Thread Michel Dänzer
On 07.01.2015 06:33, Tom Stellard wrote: > On Wed, Dec 24, 2014 at 12:48:31PM +0900, Michel Dänzer wrote: >> On 24.12.2014 02:49, Tom Stellard wrote: >>> Rather than building a new one every compile. This should reduce some >>> of the overhead of compiling shaders. >> >> Thanks, though unfortunate

Re: [Mesa-dev] [PATCH 1/2] radeonsi: Cache LLVMTargetMachine object in si_screen

2015-01-06 Thread Tom Stellard
On Wed, Dec 24, 2014 at 12:48:31PM +0900, Michel Dänzer wrote: > On 24.12.2014 02:49, Tom Stellard wrote: > > Rather than building a new one every compile. This should reduce some > > of the overhead of compiling shaders. > > Thanks, though unfortunately it doesn't seem to make much difference fo

Re: [Mesa-dev] [PATCH 1/2] radeonsi: Cache LLVMTargetMachine object in si_screen

2014-12-23 Thread Michel Dänzer
On 24.12.2014 02:49, Tom Stellard wrote: > Rather than building a new one every compile. This should reduce some > of the overhead of compiling shaders. Thanks, though unfortunately it doesn't seem to make much difference for piglit for me. > One consequence of this change is that we lose the M

[Mesa-dev] [PATCH 1/2] radeonsi: Cache LLVMTargetMachine object in si_screen

2014-12-23 Thread Tom Stellard
Rather than building a new one every compile. This should reduce some of the overhead of compiling shaders. One consequence of this change is that we lose the MachineInstrs dumps when dumping the shaders via R600_DEBUG. The LLVM IR and assembly is still dumped, and if you still want to see the M