[Mesa-dev] [PATCH 5/5] i965/fs: Emit a MOV instead of a SEL if the sources are the same.
Matt Turner
mattst88 at gmail.com
Mon Nov 4 19:46:41 CET 2013
On Mon, Nov 4, 2013 at 10:33 AM, Eric Anholt <eric at anholt.net> wrote:
> Matt Turner <mattst88 at gmail.com> writes:
>
>> One program affected.
>>
>> instructions in affected programs: 436 -> 428 (-1.83%)
>>
>> Reviewed-by: Paul Berry <stereotype441 at gmail.com>
>
> Couldn't we just detect this in opt_algebraic() in general?
Yes. Would you prefer to drop this patch and let opt_algebraic()
handle this code generating a SEL with identical sources?
(I'll send an opt_algebraic patch)
More information about the mesa-dev
mailing list