[vlc-devel] [PATCH 04/25] cpu: add CPU feature masking
    Rémi Denis-Courmont 
    remi at remlab.net
       
    Tue Apr 14 16:01:23 CEST 2020
    
    
  
Le tiistaina 14. huhtikuuta 2020, 13.40.15 EEST Victorien Le Couviour--Tuffet a 
écrit :
> This is allows to temporarily mask a CPU feature.
> It can for example be useful for testing a function with several
> underlying SIMD implementations.
> 
> It adds vlc_CPU_mask and vlc_CPU_unmask to the core API.
This is neither thread-safe nor compatible with the pure/constant attributes, 
which really should be set on vlc_CPU() (In fact, I thought they already were, 
though it seems they are not).
-- 
Rémi Denis-Courmont
Tapiolan uusi kaupunki, Uudenmaan tasavalta
    
    
More information about the vlc-devel
mailing list