[x265-commits] [x265] rc: test case nit

Steve Borho steve at borho.org
Sat Apr 18 22:12:27 CEST 2015


details:   http://hg.videolan.org/x265/rev/3d6db6c95efe
branches:  
changeset: 10223:3d6db6c95efe
user:      Steve Borho <steve at borho.org>
date:      Sat Apr 18 14:30:09 2015 -0500
description:
rc: test case nit
Subject: [x265] asm: leading space nit

details:   http://hg.videolan.org/x265/rev/5c3443546ccc
branches:  
changeset: 10224:5c3443546ccc
user:      David T Yuen <dtyx265 at gmail.com>
date:      Sat Apr 18 10:02:19 2015 -0700
description:
asm: leading space nit

Added leading 4 spaces to asm instructions

diffstat:

 source/common/x86/ipfilter8.asm    |  3924 ++++++++++++++++++------------------
 source/test/rate-control-tests.txt |     2 +-
 2 files changed, 1963 insertions(+), 1963 deletions(-)

diffs (truncated from 5188 to 300 lines):

diff -r 3ec6052eaf9c -r 5c3443546ccc source/common/x86/ipfilter8.asm
--- a/source/common/x86/ipfilter8.asm	Fri Apr 17 14:02:26 2015 -0700
+++ b/source/common/x86/ipfilter8.asm	Sat Apr 18 10:02:19 2015 -0700
@@ -344,76 +344,76 @@ cextern pw_2000
 ;-----------------------------------------------------------------------------
 INIT_XMM sse3
 cglobal interp_4tap_horiz_pp_2x4, 4, 6, 6, src, srcstride, dst, dststride
-mov         r4d,        r4m
-mova        m5,         [pw_32]
-
-%ifdef PIC
-lea         r5,          [tabw_ChromaCoeff]
-movddup     m4,         [r5 + r4 * 8]
-%else
-movddup     m4,         [tabw_ChromaCoeff + r4 * 8]
-%endif
-
-FILTER_H4_w2_2_sse2
-lea         srcq,       [srcq + srcstrideq * 2]
-lea         dstq,       [dstq + dststrideq * 2]
-FILTER_H4_w2_2_sse2
-
-RET
+    mov         r4d,        r4m
+    mova        m5,         [pw_32]
+
+%ifdef PIC
+    lea         r5,          [tabw_ChromaCoeff]
+    movddup     m4,         [r5 + r4 * 8]
+%else
+    movddup     m4,         [tabw_ChromaCoeff + r4 * 8]
+%endif
+
+    FILTER_H4_w2_2_sse2
+    lea         srcq,       [srcq + srcstrideq * 2]
+    lea         dstq,       [dstq + dststrideq * 2]
+    FILTER_H4_w2_2_sse2
+
+    RET
 
 ;-----------------------------------------------------------------------------
 ; void interp_4tap_horiz_pp_2x8(pixel *src, intptr_t srcStride, pixel *dst, intptr_t dstStride, int coeffIdx)
 ;-----------------------------------------------------------------------------
 INIT_XMM sse3
 cglobal interp_4tap_horiz_pp_2x8, 4, 6, 6, src, srcstride, dst, dststride
-mov         r4d,        r4m
-mova        m5,         [pw_32]
-
-%ifdef PIC
-lea         r5,          [tabw_ChromaCoeff]
-movddup     m4,         [r5 + r4 * 8]
-%else
-movddup     m4,         [tabw_ChromaCoeff + r4 * 8]
+    mov         r4d,        r4m
+    mova        m5,         [pw_32]
+
+%ifdef PIC
+    lea         r5,          [tabw_ChromaCoeff]
+    movddup     m4,         [r5 + r4 * 8]
+%else
+    movddup     m4,         [tabw_ChromaCoeff + r4 * 8]
 %endif
 
 %assign x 1
 %rep 4
-FILTER_H4_w2_2_sse2
+    FILTER_H4_w2_2_sse2
 %if x < 4
-lea         srcq,       [srcq + srcstrideq * 2]
-lea         dstq,       [dstq + dststrideq * 2]
+    lea         srcq,       [srcq + srcstrideq * 2]
+    lea         dstq,       [dstq + dststrideq * 2]
 %endif
 %assign x x+1
 %endrep
 
-RET
+    RET
 
 ;-----------------------------------------------------------------------------
 ; void interp_4tap_horiz_pp_2x16(pixel *src, intptr_t srcStride, pixel *dst, intptr_t dstStride, int coeffIdx)
 ;-----------------------------------------------------------------------------
 INIT_XMM sse3
 cglobal interp_4tap_horiz_pp_2x16, 4, 6, 6, src, srcstride, dst, dststride
-mov         r4d,        r4m
-mova        m5,         [pw_32]
-
-%ifdef PIC
-lea         r5,         [tabw_ChromaCoeff]
-movddup     m4,         [r5 + r4 * 8]
-%else
-movddup     m4,         [tabw_ChromaCoeff + r4 * 8]
+    mov         r4d,        r4m
+    mova        m5,         [pw_32]
+
+%ifdef PIC
+    lea         r5,         [tabw_ChromaCoeff]
+    movddup     m4,         [r5 + r4 * 8]
+%else
+    movddup     m4,         [tabw_ChromaCoeff + r4 * 8]
 %endif
 
 %assign x 1
 %rep 8
-FILTER_H4_w2_2_sse2
+    FILTER_H4_w2_2_sse2
 %if x < 8
-lea         srcq,       [srcq + srcstrideq * 2]
-lea         dstq,       [dstq + dststrideq * 2]
+    lea         srcq,       [srcq + srcstrideq * 2]
+    lea         dstq,       [dstq + dststrideq * 2]
 %endif
 %assign x x+1
 %endrep
 
-RET
+    RET
 
 %macro FILTER_H4_w4_2_sse2 0
     pxor        m5, m5
@@ -461,122 +461,122 @@ RET
 ;-----------------------------------------------------------------------------
 INIT_XMM sse3
 cglobal interp_4tap_horiz_pp_4x2, 4, 6, 8, src, srcstride, dst, dststride
-mov         r4d,        r4m
-mova        m7,         [pw_32]
-
-%ifdef PIC
-lea         r5,         [tabw_ChromaCoeff]
-movddup     m4,         [r5 + r4 * 8]
-%else
-movddup     m4,         [tabw_ChromaCoeff + r4 * 8]
-%endif
-
-FILTER_H4_w4_2_sse2
-
-RET
+    mov         r4d,        r4m
+    mova        m7,         [pw_32]
+
+%ifdef PIC
+    lea         r5,         [tabw_ChromaCoeff]
+    movddup     m4,         [r5 + r4 * 8]
+%else
+    movddup     m4,         [tabw_ChromaCoeff + r4 * 8]
+%endif
+
+    FILTER_H4_w4_2_sse2
+
+    RET
 
 ;-----------------------------------------------------------------------------
 ; void interp_4tap_horiz_pp_4x4(pixel *src, intptr_t srcStride, pixel *dst, intptr_t dstStride, int coeffIdx)
 ;-----------------------------------------------------------------------------
 INIT_XMM sse3
 cglobal interp_4tap_horiz_pp_4x4, 4, 6, 8, src, srcstride, dst, dststride
-mov         r4d,        r4m
-mova        m7,         [pw_32]
-
-%ifdef PIC
-lea         r5,         [tabw_ChromaCoeff]
-movddup     m4,         [r5 + r4 * 8]
-%else
-movddup     m4,         [tabw_ChromaCoeff + r4 * 8]
-%endif
-
-FILTER_H4_w4_2_sse2
-lea         srcq,       [srcq + srcstrideq * 2]
-lea         dstq,       [dstq + dststrideq * 2]
-FILTER_H4_w4_2_sse2
-
-RET
+    mov         r4d,        r4m
+    mova        m7,         [pw_32]
+
+%ifdef PIC
+    lea         r5,         [tabw_ChromaCoeff]
+    movddup     m4,         [r5 + r4 * 8]
+%else
+    movddup     m4,         [tabw_ChromaCoeff + r4 * 8]
+%endif
+
+    FILTER_H4_w4_2_sse2
+    lea         srcq,       [srcq + srcstrideq * 2]
+    lea         dstq,       [dstq + dststrideq * 2]
+    FILTER_H4_w4_2_sse2
+
+    RET
 
 ;-----------------------------------------------------------------------------
 ; void interp_4tap_horiz_pp_4x8(pixel *src, intptr_t srcStride, pixel *dst, intptr_t dstStride, int coeffIdx)
 ;-----------------------------------------------------------------------------
 INIT_XMM sse3
 cglobal interp_4tap_horiz_pp_4x8, 4, 6, 8, src, srcstride, dst, dststride
-mov         r4d,        r4m
-mova        m7,         [pw_32]
-
-%ifdef PIC
-lea         r5,         [tabw_ChromaCoeff]
-movddup     m4,         [r5 + r4 * 8]
-%else
-movddup     m4,         [tabw_ChromaCoeff + r4 * 8]
+    mov         r4d,        r4m
+    mova        m7,         [pw_32]
+
+%ifdef PIC
+    lea         r5,         [tabw_ChromaCoeff]
+    movddup     m4,         [r5 + r4 * 8]
+%else
+    movddup     m4,         [tabw_ChromaCoeff + r4 * 8]
 %endif
 
 %assign x 1
 %rep 4
-FILTER_H4_w4_2_sse2
+    FILTER_H4_w4_2_sse2
 %if x < 4
-lea         srcq,       [srcq + srcstrideq * 2]
-lea         dstq,       [dstq + dststrideq * 2]
+    lea         srcq,       [srcq + srcstrideq * 2]
+    lea         dstq,       [dstq + dststrideq * 2]
 %endif
 %assign x x+1
 %endrep
 
-RET
+    RET
 
 ;-----------------------------------------------------------------------------
 ; void interp_4tap_horiz_pp_4x16(pixel *src, intptr_t srcStride, pixel *dst, intptr_t dstStride, int coeffIdx)
 ;-----------------------------------------------------------------------------
 INIT_XMM sse3
 cglobal interp_4tap_horiz_pp_4x16, 4, 6, 8, src, srcstride, dst, dststride
-mov         r4d,        r4m
-mova        m7,         [pw_32]
-
-%ifdef PIC
-lea         r5,         [tabw_ChromaCoeff]
-movddup     m4,         [r5 + r4 * 8]
-%else
-movddup     m4,         [tabw_ChromaCoeff + r4 * 8]
+    mov         r4d,        r4m
+    mova        m7,         [pw_32]
+
+%ifdef PIC
+    lea         r5,         [tabw_ChromaCoeff]
+    movddup     m4,         [r5 + r4 * 8]
+%else
+    movddup     m4,         [tabw_ChromaCoeff + r4 * 8]
 %endif
 
 %assign x 1
 %rep 8
-FILTER_H4_w4_2_sse2
+    FILTER_H4_w4_2_sse2
 %if x < 8
-lea         srcq,       [srcq + srcstrideq * 2]
-lea         dstq,       [dstq + dststrideq * 2]
+    lea         srcq,       [srcq + srcstrideq * 2]
+    lea         dstq,       [dstq + dststrideq * 2]
 %endif
 %assign x x+1
 %endrep
 
-RET
+    RET
 
 ;-----------------------------------------------------------------------------
 ; void interp_4tap_horiz_pp_4x32(pixel *src, intptr_t srcStride, pixel *dst, intptr_t dstStride, int coeffIdx)
 ;-----------------------------------------------------------------------------
 INIT_XMM sse3
 cglobal interp_4tap_horiz_pp_4x32, 4, 6, 8, src, srcstride, dst, dststride
-mov         r4d,        r4m
-mova        m7,         [pw_32]
-
-%ifdef PIC
-lea         r5,          [tabw_ChromaCoeff]
-movddup     m4,       [r5 + r4 * 8]
-%else
-movddup     m4,       [tabw_ChromaCoeff + r4 * 8]
+    mov         r4d,        r4m
+    mova        m7,         [pw_32]
+
+%ifdef PIC
+    lea         r5,          [tabw_ChromaCoeff]
+    movddup     m4,       [r5 + r4 * 8]
+%else
+    movddup     m4,       [tabw_ChromaCoeff + r4 * 8]
 %endif
 
 %assign x 1
 %rep 16
-FILTER_H4_w4_2_sse2
+    FILTER_H4_w4_2_sse2
 %if x < 16
-lea         srcq,       [srcq + srcstrideq * 2]
-lea         dstq,       [dstq + dststrideq * 2]
+    lea         srcq,       [srcq + srcstrideq * 2]
+    lea         dstq,       [dstq + dststrideq * 2]
 %endif


More information about the x265-commits mailing list