[x265] [PATCH 20 of 20] x86inc: Cleanup indentation and give proper assertion
vignesh at multicorewareinc.com
vignesh at multicorewareinc.com
Mon Jun 12 07:38:02 CEST 2017
# HG changeset patch
# User Vignesh Vijayakumar
# Date 1496835417 -19800
# Wed Jun 07 17:06:57 2017 +0530
# Node ID 89e923da9eb9196d743546cb996112bde4828e47
# Parent 7d5dad48e96f576e34c7fee96e39d8005c15dca3
x86inc: Cleanup indentation and give proper assertion
diff -r 7d5dad48e96f -r 89e923da9eb9 source/common/x86/x86inc.asm
--- a/source/common/x86/x86inc.asm Wed Jun 07 16:37:26 2017 +0530
+++ b/source/common/x86/x86inc.asm Wed Jun 07 17:06:57 2017 +0530
@@ -161,7 +161,7 @@
%define r%1b %2
%define e%1b %2
%if ARCH_X86_64 == 0
- %define r%1 e%1
+ %define r%1 e%1
%endif
%endmacro
@@ -272,7 +272,7 @@
%macro ASSERT 1
%if (%1) == 0
- %error assert failed
+ %error assertion ``%1'' failed
%endif
%endmacro
@@ -850,7 +850,7 @@
%define mmsize 16
%define num_mmregs 8
%if ARCH_X86_64
- %define num_mmregs 16
+ %define num_mmregs 16
%endif
%define mova movdqa
%define movu movdqu
@@ -858,9 +858,9 @@
%define movnta movntdq
%assign %%i 0
%rep num_mmregs
- CAT_XDEFINE m, %%i, xmm %+ %%i
- CAT_XDEFINE nnxmm, %%i, %%i
- %assign %%i %%i+1
+ CAT_XDEFINE m, %%i, xmm %+ %%i
+ CAT_XDEFINE nnxmm, %%i, %%i
+ %assign %%i %%i+1
%endrep
INIT_CPUFLAGS %1
%endmacro
@@ -898,8 +898,6 @@
%define ymmmm%1 mm%1
%define ymmxmm%1 xmm%1
%define ymmymm%1 ymm%1
- %define ymm%1xmm xmm%1
- %define xmm%1ymm ymm%1
%define xm%1 xmm %+ m%1
%define ym%1 ymm %+ m%1
%endmacro
@@ -1088,8 +1086,8 @@
%ifdef cpuname
%if notcpuflag(%2)
%error use of ``%1'' %2 instruction in cpuname function: current_function
- %elif cpuflags_%2 < cpuflags_sse && notcpuflag(sse2) && __sizeofreg > 8
- %error use of ``%1'' sse2 instruction in cpuname function: current_function
+ %elif cpuflags_%2 < cpuflags_sse && notcpuflag(sse2) && __sizeofreg > 8
+ %error use of ``%1'' sse2 instruction in cpuname function: current_function
%endif
%endif
%endif
More information about the x265-devel
mailing list