Branch: Tag:

1999-08-12

1999-08-12 00:08:55 by Per Hedbor <ph@opera.com>

optimizations

Rev: src/modules/Image/layer_channel.h:1.3
Rev: src/modules/Image/layer_oper.h:1.5
Rev: src/modules/Image/layers.c:1.35

1:   /*   **! module Image   **! note - **! $Id: layers.c,v 1.34 1999/08/11 22:13:30 hubbe Exp $ + **! $Id: layers.c,v 1.35 1999/08/12 00:08:55 per Exp $   **! class Layer   **! see also: layers   **!
203:      #include <math.h> /* floor */    - RCSID("$Id: layers.c,v 1.34 1999/08/11 22:13:30 hubbe Exp $"); + RCSID("$Id: layers.c,v 1.35 1999/08/12 00:08:55 per Exp $");      #include "image_machine.h"   
1470: Inside #if defined(TRY_USE_MMX)
   dest+=8;    num-=16;    } +  if (num > 8) +  { +  movq_m2r(*source, mm0); +  source+=8; +  paddusb_m2r(*sourcel, mm0); +  sourcel+=8; +  movq_r2m(mm0,*dest); +  dest+=8; +  num-=8; +  }    emms();    while (num-->0)    {