[x265] [PATCH] fix asm cvt32to16_s wrong XMM register number
Min Chen
chenm003 at 163.com
Mon Apr 21 12:33:43 CEST 2014
# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1398076412 -28800
# Node ID 1ad7f1d2a700d370f8e8509048de0e1304ad8f43
# Parent 78c1f43f12f57ba60e63cb79ce567065c700483e
fix asm cvt32to16_s wrong XMM register number
diff -r 78c1f43f12f5 -r 1ad7f1d2a700 source/common/x86/blockcopy8.asm
--- a/source/common/x86/blockcopy8.asm Thu Apr 17 16:32:16 2014 -0500
+++ b/source/common/x86/blockcopy8.asm Mon Apr 21 18:33:32 2014 +0800
@@ -2988,9 +2988,9 @@
; void cvt32to16_shr(short *dst, int *src, intptr_t stride, int shift, int size)
;-----------------------------------------------------------------------------
INIT_XMM sse2
-cglobal cvt32to16_shr, 5, 7, 1, dst, src, stride
-%define rnd m7
-%define shift m6
+cglobal cvt32to16_shr, 5, 7, 3, dst, src, stride
+%define rnd m2
+%define shift m1
; make shift
mov r5d, r3m
More information about the x265-devel
mailing list