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-04-05 19:05:00 +02:00
2014-04-05 19:36:21 +02:00
2014-05-07 15:02:45 +02:00
2014-05-21 03:25:08 +02:00
2014-03-17 00:48:09 +01:00
2014-02-19 15:44:48 +01:00
2014-04-05 13:55:59 +02:00
2014-04-06 18:31:22 +02:00
2014-03-13 23:59:56 +01:00
2014-05-23 15:02:42 +02:00
2014-03-27 23:16:17 +01:00
2014-03-27 23:16:17 +01:00
2014-05-23 00:08:21 +02:00
2014-05-23 15:02:42 +02:00
2014-03-26 14:50:55 +01:00
2014-05-21 23:33:45 +02:00
2014-05-23 22:59:55 +02:00
2014-04-05 19:16:39 +02:00
2014-03-20 22:36:40 +01:00
2014-03-13 23:59:56 +01:00
2014-02-16 12:06:04 +01:00
2014-02-24 08:30:19 +01:00
2014-03-14 00:01:30 +01:00
2014-05-21 03:25:08 +02:00
2014-03-22 23:08:22 +01:00
2014-03-14 00:01:30 +01:00
2014-03-14 00:01:30 +01:00
2014-03-14 00:01:30 +01:00
2014-03-14 00:01:30 +01:00
2014-03-14 00:01:30 +01:00
2014-05-07 15:02:45 +02:00
2014-03-14 00:01:30 +01:00
2014-03-14 00:01:30 +01:00
2014-04-17 14:15:09 +02:00
2014-04-04 14:46:10 +02:00
2014-03-14 00:01:30 +01:00
2014-03-14 00:01:30 +01:00
2014-05-21 03:25:08 +02:00
2014-03-14 00:01:30 +01:00
2014-03-14 00:01:30 +01:00
2014-04-05 19:16:39 +02:00
2014-04-05 19:05:00 +02:00
2014-05-19 23:09:33 +02:00
2014-05-18 16:23:58 +02:00
2014-05-16 21:11:03 +02:00
2014-05-10 18:23:30 +02:00
2014-05-22 20:17:49 +02:00
2014-03-26 14:50:55 +01:00
2014-05-22 20:17:49 +02:00
2014-03-22 23:21:54 +01:00
2014-05-07 15:02:45 +02:00
2014-02-27 23:28:15 +01:00
2014-03-22 22:11:27 +01:00
2014-05-05 05:49:18 +02:00
2014-02-15 06:41:38 +01:00
2014-05-07 15:02:45 +02:00
2014-05-22 20:17:40 +02:00
2014-04-19 09:56:01 +02:00
2014-03-18 23:37:50 +01:00
2014-03-22 14:07:03 +01:00
2014-03-14 00:01:30 +01:00
2014-05-06 14:15:02 +02:00
2014-04-05 19:05:00 +02:00
2014-03-26 14:50:55 +01:00
2014-04-19 09:56:01 +02:00
2014-02-28 17:13:00 +01:00
2014-03-14 00:01:30 +01:00
2014-03-14 00:01:30 +01:00
2014-03-22 22:11:27 +01:00
2014-03-22 23:21:54 +01:00
2014-03-14 00:01:30 +01:00
2014-05-15 23:11:18 +02:00
2014-05-15 23:11:18 +02:00
2014-03-18 23:39:30 +01:00
2014-04-19 09:56:01 +02:00
2014-02-17 13:51:19 +01:00
2014-02-17 13:51:19 +01:00
2014-04-22 14:01:53 +02:00
2014-05-21 03:25:08 +02:00
2014-01-31 14:30:30 +01:00
2014-04-05 19:16:39 +02:00
2014-04-19 09:56:01 +02:00
2014-04-04 14:46:10 +02:00
2014-03-14 00:01:30 +01:00
2014-03-14 00:01:30 +01:00
2014-03-29 18:13:15 +01:00
2014-02-18 17:20:14 +01:00
2014-04-20 21:33:58 +02:00
2014-03-29 18:13:15 +01:00
2014-04-19 09:56:01 +02:00