ffmpeg/libavcodec
James Almer 518cbf9b4a x86/dsputil: fix VECTOR_CLIP_INT32 macro
The inline loop was incrementing and using the value of %%i
the wrong way.

Disassembly of ff_vector_clip_int32_sse2 before and after
this patch:

    movdqa (%rdx),%xmm0      |  movdqa (%rdx),%xmm0
    movdqa 0x10(%rdx),%xmm1  |  movdqa 0x10(%rdx),%xmm1
    movdqa 0x20(%rdx),%xmm2  |  movdqa 0x20(%rdx),%xmm2
    movdqa 0x30(%rdx),%xmm3  |  movdqa 0x30(%rdx),%xmm3
[...]                        |
    movdqa %xmm0,(%rcx)      |  movdqa %xmm0,(%rcx)
    movdqa %xmm1,0x10(%rcx)  |  movdqa %xmm1,0x10(%rcx)
    movdqa %xmm2,0x20(%rcx)  |  movdqa %xmm2,0x20(%rcx)
    movdqa %xmm3,0x30(%rcx)  |  movdqa %xmm3,0x30(%rcx)
    movdqa (%rdx),%xmm0      |  movdqa 0x40(%rdx),%xmm0
    movdqa 0x20(%rdx),%xmm1  |  movdqa 0x50(%rdx),%xmm1
    movdqa 0x40(%rdx),%xmm2  |  movdqa 0x60(%rdx),%xmm2
    movdqa 0x60(%rdx),%xmm3  |  movdqa 0x70(%rdx),%xmm3
[...]                        |
    movdqa %xmm0,(%rcx)      |  movdqa %xmm0,0x40(%rcx)
    movdqa %xmm1,0x20(%rcx)  |  movdqa %xmm1,0x50(%rcx)
    movdqa %xmm2,0x40(%rcx)  |  movdqa %xmm2,0x60(%rcx)
    movdqa %xmm3,0x60(%rcx)  |  movdqa %xmm3,0x70(%rcx)
    add    $0x80,%rdx        |  add    $0x80,%rdx
    add    $0x80,%rcx        |  add    $0x80,%rcx

Other versions were unaffected.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-23 22:59:55 +02:00
..
2014-02-17 20:50:33 +01:00
2014-04-22 20:44:31 +02:00
2014-01-09 19:33:07 +01:00
2013-12-15 16:53:32 +01:00
2013-11-16 17:43:05 +01:00
2014-05-16 03:13:27 +02:00
2013-11-16 12:48:25 +01:00
2014-04-22 02:38:03 +02:00
2014-04-22 20:08:30 +02:00
2014-05-17 15:51:49 +02:00
2014-05-11 20:06:45 +02:00
2014-04-22 20:44:31 +02:00
2014-04-22 20:44:31 +02:00
2013-11-16 17:43:36 +01:00
2014-04-22 20:08:30 +02:00
2014-04-01 00:10:15 +02:00
2014-04-01 00:10:15 +02:00
2014-04-12 05:40:37 +02:00
2014-02-07 19:32:16 +00:00
2014-04-20 17:02:16 +02:00
2014-04-05 03:32:11 +02:00
2014-04-22 20:44:31 +02:00
2014-05-17 15:51:49 +02:00
2014-04-12 15:41:00 +02:00
2014-04-27 14:50:14 +02:00
2014-02-06 02:51:19 +01:00
2014-04-28 00:22:38 +02:00
2014-04-04 04:00:11 +02:00
2014-05-17 01:14:51 +02:00
2014-05-19 07:10:03 +02:00
2014-05-06 18:23:36 +02:00
2014-05-06 18:23:36 +02:00
2013-11-21 20:53:06 +01:00
2014-01-02 22:07:09 +01:00
2014-04-01 13:43:44 +02:00
2014-05-17 15:51:49 +02:00
2013-12-31 12:19:59 +01:00
2013-12-31 12:19:59 +01:00
2014-01-31 18:34:14 +01:00
2014-05-09 16:07:15 +02:00
2013-12-09 08:41:20 +01:00
2013-12-09 08:41:20 +01:00
2014-02-21 16:57:26 -03:00
2014-02-21 16:57:26 -03:00
2013-11-16 12:49:18 +01:00
2014-02-10 21:45:55 +01:00
2014-02-10 21:45:55 +01:00
2014-04-22 20:44:31 +02:00
2014-01-04 04:16:46 +01:00
2014-04-27 13:03:28 +02:00
2013-12-10 16:18:51 +01:00
2014-04-30 17:41:31 +02:00
2014-04-18 15:19:09 +02:00
2014-04-25 15:04:42 +02:00
2014-04-16 19:45:43 +02:00
2013-12-22 14:59:31 +01:00
2014-05-12 03:27:04 +02:00
2014-05-03 18:25:17 +02:00
2013-11-15 10:16:28 +01:00
2013-11-15 10:16:28 +01:00
2014-03-29 18:13:15 +01:00
2014-04-20 17:35:19 +02:00
2014-04-22 02:41:05 +02:00
2014-03-27 23:57:51 +01:00
2013-12-22 22:03:47 +01:00
2013-12-22 22:03:47 +01:00