[x265] [PATCH] blockcopy_sp_4x16, corrected register count
praveen at multicorewareinc.com
praveen at multicorewareinc.com
Fri Nov 8 11:04:30 CET 2013
# HG changeset patch
# User Praveen Tiwari
# Date 1383905059 -19800
# Node ID eee937070b03167e1f2055620b641957c47a0a5c
# Parent f7b595a4bd0f749ce115ef7f4bf74bd814fa803d
blockcopy_sp_4x16, corrected register count
diff -r f7b595a4bd0f -r eee937070b03 source/common/x86/blockcopy8.asm
--- a/source/common/x86/blockcopy8.asm Fri Nov 08 15:14:12 2013 +0530
+++ b/source/common/x86/blockcopy8.asm Fri Nov 08 15:34:19 2013 +0530
@@ -992,9 +992,9 @@
;-----------------------------------------------------------------------------
%macro BLOCKCOPY_SP_W4_H8 2
INIT_XMM sse2
-cglobal blockcopy_sp_%1x%2, 4, 7, 8, dest, destStride, src, srcStride
+cglobal blockcopy_sp_%1x%2, 4, 5, 8, dest, destStride, src, srcStride
-mov r6d, %2/8
+mov r4d, %2/8
add r3, r3
@@ -1035,7 +1035,7 @@
lea r0, [r0 + 2 * r1]
lea r2, [r2 + 2 * r3]
- dec r6d
+ dec r4d
jnz .loop
RET
@@ -1043,7 +1043,6 @@
BLOCKCOPY_SP_W4_H8 4, 16
-
;-----------------------------------------------------------------------------
; void blockcopy_sp_6x8(pixel *dest, intptr_t destStride, int16_t *src, intptr_t srcStride)
;-----------------------------------------------------------------------------
More information about the x265-devel
mailing list