On Monday, March 02, 2015 03:03:00 PM Eric Anholt wrote:
> Kenneth Graunke writes:
>
> > Generated by the following Coccinelle semantic patch:
> >
> > @@
> > expression E;
> > @@
> > if (
> > -E
> > +unlikely(E)
> > )
> > { ... _mesa_error(...) ... }
> >
> > Improves performance in OglBatch7 (a
On 03/02/2015 06:56 PM, Matt Turner wrote:
On Mon, Mar 2, 2015 at 4:37 PM, Brian Paul wrote:
On 03/02/2015 04:03 PM, Eric Anholt wrote:
Kenneth Graunke writes:
Generated by the following Coccinelle semantic patch:
@@
expression E;
@@
if (
-E
+unlikely(E)
)
{ ... _mesa_error(...) ... }
On Mon, Mar 2, 2015 at 4:37 PM, Brian Paul wrote:
> On 03/02/2015 04:03 PM, Eric Anholt wrote:
>>
>> Kenneth Graunke writes:
>>
>>> Generated by the following Coccinelle semantic patch:
>>>
>>> @@
>>> expression E;
>>> @@
>>> if (
>>> -E
>>> +unlikely(E)
>>> )
>>> { ... _mesa_error(...) ... }
>
Brian Paul writes:
> On 03/02/2015 04:03 PM, Eric Anholt wrote:
>> Kenneth Graunke writes:
>>
>>> Generated by the following Coccinelle semantic patch:
>>>
>>> @@
>>> expression E;
>>> @@
>>> if (
>>> -E
>>> +unlikely(E)
>>> )
>>> { ... _mesa_error(...) ... }
>>>
>>> Improves performance in Og
On Mon, Mar 2, 2015 at 4:45 PM, Dave Airlie wrote:
> why can't we just do _mesa_error -> __mesa_error, #define _mesa_error
> unlikely(__mesa_error) or some such.
I don't think wrapping the function call in unlikely() does anything.
___
mesa-dev mailing
On 3 March 2015 at 10:37, Brian Paul wrote:
> On 03/02/2015 04:03 PM, Eric Anholt wrote:
>>
>> Kenneth Graunke writes:
>>
>>> Generated by the following Coccinelle semantic patch:
>>>
>>> @@
>>> expression E;
>>> @@
>>> if (
>>> -E
>>> +unlikely(E)
>>> )
>>> { ... _mesa_error(...) ... }
>>>
>>>
On 03/02/2015 04:03 PM, Eric Anholt wrote:
Kenneth Graunke writes:
Generated by the following Coccinelle semantic patch:
@@
expression E;
@@
if (
-E
+unlikely(E)
)
{ ... _mesa_error(...) ... }
Improves performance in OglBatch7 (a CPU-bound microbenchmark) on
an i7 4750HQ (Haswell) by 1.085
On 03/02/2015 03:48 PM, Kenneth Graunke wrote:
Generated by the following Coccinelle semantic patch:
@@
expression E;
@@
if (
-E
+unlikely(E)
)
{ ... _mesa_error(...) ... }
Improves performance in OglBatch7 (a CPU-bound microbenchmark) on
an i7 4750HQ (Haswell) by 1.08546% +/- 0.519734% (n=29
Kenneth Graunke writes:
> Generated by the following Coccinelle semantic patch:
>
> @@
> expression E;
> @@
> if (
> -E
> +unlikely(E)
> )
> { ... _mesa_error(...) ... }
>
> Improves performance in OglBatch7 (a CPU-bound microbenchmark) on
> an i7 4750HQ (Haswell) by 1.08546% +/- 0.519734% (n=29
Generated by the following Coccinelle semantic patch:
@@
expression E;
@@
if (
-E
+unlikely(E)
)
{ ... _mesa_error(...) ... }
Improves performance in OglBatch7 (a CPU-bound microbenchmark) on
an i7 4750HQ (Haswell) by 1.08546% +/- 0.519734% (n=292).
Signed-off-by: Kenneth Graunke
---
Here is
10 matches
Mail list logo