On Fri, Aug 14, 2015 at 11:03 AM, Emil Velikov <emil.l.veli...@gmail.com> wrote:
> Hi Anuj,
>
> On 13 August 2015 at 22:51, Anuj Phogat <anuj.pho...@gmail.com> wrote:
> ...
>> +   if (mt->tr_mode == INTEL_MIPTREE_TRMODE_YS)
>> +      ret_align *= multiplier;
> Out of curiosity, have you noticed if the compiler is clever enough to
> optimise the above multiplication to a shift ?
>
I think compiler will take care of optimizing it. But I haven't seen the
generated machine code.

> Thanks
> Emil
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to