[Mesa-dev] [PATCH 3/5] i965/vs: Add src_reg::negative_equals method

Matt Turner mattst88 at gmail.com
Thu Apr 9 09:36:11 PDT 2015


On Thu, Apr 9, 2015 at 9:31 AM, Matt Turner <mattst88 at gmail.com> wrote:
> I think the function does what it advertises. I just don't think that
> happens to be the thing you really want. See next patch's reply.

Oh, never mind. I missed the non-immediate case.

Even still, I guess I expected your more general case to do more than
mine, like recognize -a + -b and a + b are negations of one another,
but that's not possible with a src_reg method.

Reviewed-by: Matt Turner <mattst88 at gmail.com>


More information about the mesa-dev mailing list