# HG changeset patch # User melanson # Date 1083038784 0 # Node ID b2bc62fdecc086756755367482cedf16a6be2daa # Parent ef919e9ef73e80cb9307e7fcb06ce3a54d63ef6d move the 0x80 vector outside of the function, thus saving the compiler the trouble of having to initialize each byte on the stack individually diff -r ef919e9ef73e -r b2bc62fdecc0 i386/dsputil_mmx.c --- a/i386/dsputil_mmx.c Tue Apr 27 03:58:06 2004 +0000 +++ b/i386/dsputil_mmx.c Tue Apr 27 04:06:24 2004 +0000 @@ -294,11 +294,12 @@ :"memory"); } +static unsigned char __align8 vector128[8] = + { 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 }; + void put_signed_pixels_clamped_mmx(const DCTELEM *block, uint8_t *pixels, int line_size) { int i; - unsigned char __align8 vector128[8] = - { 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 }; movq_m2r(*vector128, mm1); for (i = 0; i < 8; i++) {