Reformat SSE/SSE2 SIMD code to improve readability
This commit is contained in:
@@ -574,7 +574,7 @@ EXTN(jsimd_h2v1_upsample_sse2):
|
||||
; It's still a box filter.
|
||||
;
|
||||
; GLOBAL(void)
|
||||
; jsimd_h2v2_upsample_sse2 (nt max_v_samp_factor,
|
||||
; jsimd_h2v2_upsample_sse2 (int max_v_samp_factor,
|
||||
; JDIMENSION output_width,
|
||||
; JSAMPARRAY input_data,
|
||||
; JSAMPARRAY *output_data_ptr);
|
||||
|
||||
@@ -222,7 +222,8 @@ const_base:
|
||||
; lea ecx, [ecx+ebp*8+(const_base-%%ref)] ; 8D,8C,E9,(offset32)
|
||||
db 0x8D, 0x8C ; 8D,8C
|
||||
jmp near const_base ; E9,(const_base-%%ref)
|
||||
%%ref: mov %1, ecx
|
||||
%%ref:
|
||||
mov %1, ecx
|
||||
%endif ; (%1 == ebx)
|
||||
pop ebp
|
||||
%endmacro
|
||||
@@ -277,7 +278,8 @@ const_base:
|
||||
%define FILLB(b,n) (($$-(b)) & ((n)-1))
|
||||
|
||||
%imacro alignx 1-2.nolist 0xFFFF
|
||||
%%bs: times MSKLE(FILLB(%%bs,%1),%2) & MSKLE(16,FILLB($,%1)) & FILLB($,%1) \
|
||||
%%bs: \
|
||||
times MSKLE(FILLB(%%bs,%1),%2) & MSKLE(16,FILLB($,%1)) & FILLB($,%1) \
|
||||
db 0x90 ; nop
|
||||
times MSKLE(FILLB(%%bs,%1),%2) & FILLB($,%1)/9 \
|
||||
db 0x8D,0x9C,0x23,0x00,0x00,0x00,0x00 ; lea ebx,[ebx+0x00000000]
|
||||
|
||||
Reference in New Issue
Block a user