Re: [Mesa-dev] [PATCH] R600/SI: Make sure M0 is always initialized when DS instructions are used

2014-02-09 Thread Michel Dänzer
On Fre, 2014-02-07 at 13:54 -0800, Tom Stellard wrote: On Fri, Feb 07, 2014 at 11:46:55AM +0900, Michel Dänzer wrote: On Don, 2014-02-06 at 09:40 -0800, Tom Stellard wrote: From: Tom Stellard thomas.stell...@amd.com DS instructions that access local memory can only uses addresses that

Re: [Mesa-dev] [PATCH] R600/SI: Make sure M0 is always initialized when DS instructions are used

2014-02-07 Thread Tom Stellard
On Fri, Feb 07, 2014 at 11:46:55AM +0900, Michel Dänzer wrote: On Don, 2014-02-06 at 09:40 -0800, Tom Stellard wrote: From: Tom Stellard thomas.stell...@amd.com DS instructions that access local memory can only uses addresses that are less than or equal to the value of M0. When M0 is

[Mesa-dev] [PATCH] R600/SI: Make sure M0 is always initialized when DS instructions are used

2014-02-06 Thread Tom Stellard
From: Tom Stellard thomas.stell...@amd.com DS instructions that access local memory can only uses addresses that are less than or equal to the value of M0. When M0 is uninitialized, then we experience undefined behavior. --- lib/Target/R600/SIInstrInfo.cpp| 12

Re: [Mesa-dev] [PATCH] R600/SI: Make sure M0 is always initialized when DS instructions are used

2014-02-06 Thread Michel Dänzer
On Don, 2014-02-06 at 09:40 -0800, Tom Stellard wrote: From: Tom Stellard thomas.stell...@amd.com DS instructions that access local memory can only uses addresses that are less than or equal to the value of M0. When M0 is uninitialized, then we experience undefined behavior. [...] @@