[Mesa-dev] [PATCH 4/7] i965/gen9: Reuse YF alignment tables in tr_mode_..._texture_alignment()
Anuj Phogat
anuj.phogat at gmail.com
Fri Aug 14 14:04:40 PDT 2015
On Fri, Aug 14, 2015 at 11:03 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> Hi Anuj,
>
> On 13 August 2015 at 22:51, Anuj Phogat <anuj.phogat at 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
More information about the mesa-dev
mailing list