build: Add define for SIMD extensions requiring 16-byte aligned buffers
This commit is contained in:
		
							parent
							
								
									67bc1ba5d7
								
							
						
					
					
						commit
						eba2233b58
					
				
							
								
								
									
										6
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								configure
									
									
									
									
										vendored
									
									
								
							@ -1340,6 +1340,7 @@ ARCH_FEATURES="
 | 
				
			|||||||
    fast_cmov
 | 
					    fast_cmov
 | 
				
			||||||
    local_aligned_8
 | 
					    local_aligned_8
 | 
				
			||||||
    local_aligned_16
 | 
					    local_aligned_16
 | 
				
			||||||
 | 
					    simd_align_16
 | 
				
			||||||
"
 | 
					"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
BUILTIN_LIST="
 | 
					BUILTIN_LIST="
 | 
				
			||||||
@ -1701,8 +1702,7 @@ aligned_stack_if_any="aarch64 ppc x86"
 | 
				
			|||||||
fast_64bit_if_any="aarch64 alpha ia64 mips64 parisc64 ppc64 sparc64 x86_64"
 | 
					fast_64bit_if_any="aarch64 alpha ia64 mips64 parisc64 ppc64 sparc64 x86_64"
 | 
				
			||||||
fast_clz_if_any="aarch64 alpha avr32 mips ppc x86"
 | 
					fast_clz_if_any="aarch64 alpha avr32 mips ppc x86"
 | 
				
			||||||
fast_unaligned_if_any="aarch64 ppc x86"
 | 
					fast_unaligned_if_any="aarch64 ppc x86"
 | 
				
			||||||
 | 
					simd_align_16_if_any="altivec neon sse"
 | 
				
			||||||
need_memalign="altivec neon sse"
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# system capabilities
 | 
					# system capabilities
 | 
				
			||||||
log2_deps="!libc_msvcrt"
 | 
					log2_deps="!libc_msvcrt"
 | 
				
			||||||
@ -4430,7 +4430,7 @@ enabled_all dxva2 CoTaskMemFree &&
 | 
				
			|||||||
    enable dxva2_lib
 | 
					    enable dxva2_lib
 | 
				
			||||||
 | 
					
 | 
				
			||||||
! enabled_any memalign posix_memalign aligned_malloc &&
 | 
					! enabled_any memalign posix_memalign aligned_malloc &&
 | 
				
			||||||
    enabled_any $need_memalign && enable memalign_hack
 | 
					    enabled $simd_align_16 && enable memalign_hack
 | 
				
			||||||
 | 
					
 | 
				
			||||||
map 'enabled $v && intrinsics=${v#intrinsics_}' $INTRINSICS_LIST
 | 
					map 'enabled $v && intrinsics=${v#intrinsics_}' $INTRINSICS_LIST
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -189,7 +189,7 @@ int ff_side_data_update_matrix_encoding(AVFrame *frame,
 | 
				
			|||||||
    return 0;
 | 
					    return 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if HAVE_NEON || ARCH_PPC || HAVE_MMX
 | 
					#if HAVE_SIMD_ALIGN_16
 | 
				
			||||||
#   define STRIDE_ALIGN 16
 | 
					#   define STRIDE_ALIGN 16
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
#   define STRIDE_ALIGN 8
 | 
					#   define STRIDE_ALIGN 8
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user