Re: [Mesa-dev] i965: overwriting parts of a register and optimization passes

2014-07-09 Thread Iago Toral
Hi Kenneth, El 2014-07-09 17:19, Kenneth Graunke escribió: On Tuesday, July 08, 2014 11:19:38 AM Iago Toral wrote: Hi, I have some code that first initializes a register and then overwrites a specific subregister. However, after the optimization passes in brw_vec4.cpp the initiali

Re: [Mesa-dev] i965: overwriting parts of a register and optimization passes

2014-07-09 Thread Kristian Høgsberg
On Wed, Jul 9, 2014 at 8:19 AM, Kenneth Graunke wrote: > On Tuesday, July 08, 2014 11:19:38 AM Iago Toral wrote: > >> Hi, > >> > >> I have some code that first initializes a register and then overwrites a > >> specific subregister. However, after the optimization passes in > >> brw_vec4.cpp the in

Re: [Mesa-dev] i965: overwriting parts of a register and optimization passes

2014-07-09 Thread Kenneth Graunke
On Tuesday, July 08, 2014 11:19:38 AM Iago Toral wrote: > Hi, > > I have some code that first initializes a register and then overwrites a > specific subregister. However, after the optimization passes in > brw_vec4.cpp the initialization instruction goes away. I see that live > intervals are compu

[Mesa-dev] i965: overwriting parts of a register and optimization passes

2014-07-08 Thread Iago Toral
Hi, I have some code that first initializes a register and then overwrites a specific subregister. However, after the optimization passes in brw_vec4.cpp the initialization instruction goes away. I see that live intervals are computed for the destination register without considering if we are