Re: [Mesa-dev] suspect rcp code in llvmpipe

2012-11-30 Thread Jose Fonseca
- Original Message - > On 11/30/2012 03:10 AM, Dave Airlie wrote: > > coverity pointed out the below as suspect, since num_iterations = > > 0, > > and we do a loop from 0..0 > > > > Dave. > > > > if (FALSE&& ((util_cpu_caps.has_sse&& type.width == 32&& > > type.length == 4) || > >

Re: [Mesa-dev] suspect rcp code in llvmpipe

2012-11-30 Thread Brian Paul
On 11/30/2012 03:10 AM, Dave Airlie wrote: coverity pointed out the below as suspect, since num_iterations = 0, and we do a loop from 0..0 Dave. if (FALSE&& ((util_cpu_caps.has_sse&& type.width == 32&& type.length == 4) || (util_cpu_caps.has_avx&& type.width == 32&& type.length

[Mesa-dev] suspect rcp code in llvmpipe

2012-11-30 Thread Dave Airlie
coverity pointed out the below as suspect, since num_iterations = 0, and we do a loop from 0..0 Dave. if (FALSE && ((util_cpu_caps.has_sse && type.width == 32 && type.length == 4) || (util_cpu_caps.has_avx && type.width == 32 && type.length == 8))){ const unsigned num_iterations =