[Mesa-dev] [PATCH 2/3] i965/fs: Allow CSE to handle MULs with negated arguments.
Matt Turner
mattst88 at gmail.com
Tue Mar 31 14:50:47 PDT 2015
On Wed, Feb 11, 2015 at 2:54 PM, Matt Turner <mattst88 at gmail.com> wrote:
> mul x, -y is equivalent to mul -x, y; and mul x, y is the negation of
> mul x, -y.
>
> total instructions in shared programs: 5937689 -> 5929512 (-0.14%)
> instructions in affected programs: 871152 -> 862975 (-0.94%)
> helped: 4228
> HURT: 17
> GAINED: 12
Tomorrow, this patch will have been on the list for seven weeks (this
thread is a resend). I'm tired of waiting for review, so I've gone
ahead and pushed it.
The updated shader-db stats are:
With NIR:
total instructions in shared programs: 6167779 -> 6161193 (-0.11%)
instructions in affected programs: 983511 -> 976925 (-0.67%)
helped: 4106
HURT: 16
GAINED: 18
LOST: 7
Without NIR:
total instructions in shared programs: 6192323 -> 6185299 (-0.11%)
instructions in affected programs: 987875 -> 980851 (-0.71%)
helped: 4146
HURT: 16
GAINED: 16
LOST: 0
More information about the mesa-dev
mailing list