Re: Patch: Optimizing Matrix routines by hand

2011-02-03 Thread Kristian Høgsberg
On Mon, Jan 31, 2011 at 1:15 PM, Carl-Philip Haensch wrote: > Hi, > > I wrote a patch that optimizes matrix scale and translate because i doubt > gcc will find the shortest path through an invocation, three loops and a > memory writeback per strcpy by itself. These matrix routines aren't a perfor

Patch: Optimizing Matrix routines by hand

2011-01-31 Thread Carl-Philip Haensch
Hi, I wrote a patch that optimizes matrix scale and translate because i doubt gcc will find the shortest path through an invocation, three loops and a memory writeback per strcpy by itself. diff --git a/compositor/compositor.c b/compositor/compositor.c index 9d7c330..e571b12 100644 --- a/co