# HG changeset patch # User michael # Date 1215463563 0 # Node ID 726770da3234ab3b6ea2a5295297dc9f246c1c03 # Parent 48b7054a507ee6a991249b2d1965af323b844ba5 dont use C-asm loops and unroll once float_to_int16_3dnow() 30% faster diff -r 48b7054a507e -r 726770da3234 i386/dsputil_mmx.c --- a/i386/dsputil_mmx.c Mon Jul 07 08:29:08 2008 +0000 +++ b/i386/dsputil_mmx.c Mon Jul 07 20:46:03 2008 +0000 @@ -2024,18 +2024,25 @@ static void float_to_int16_3dnow(int16_t *dst, const float *src, int len){ // not bit-exact: pf2id uses different rounding than C and SSE - int i; - for(i=0; i