[vlc-devel] [PATCH 04/25] cpu: add CPU feature masking
Victorien Le Couviour
victorien.lecouviour.tuffet at gmail.com
Tue Apr 14 18:23:18 CEST 2020
On Tue, Apr 14, 2020 at 5:54 PM Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le tiistaina 14. huhtikuuta 2020, 18.42.56 EEST Victorien Le Couviour a
> écrit
> :
> > Hi,
> >
> > Doesn't that imply I'd have to write a version per feature I want to
> test?
>
> No but it does imply that you don't kludge the LibVLC run-time to suit
> your
> specific test. Like everybody else who's ever written a test case here.
>
I don't see how this can work.
I'm testing / benching, individual implementions of the same function, this
has to be done incrementally, therefore something like, having no opti,
then just SSE2, the SSSE3, then AVX2.
How can you do that through preproc tricks?
I get your example Thomas, but that's just to test stuff with no opti, it's
one case only, here we want all of them to run in the same program, one
after the other.
In the tests / benchs, I'm disabling everything, and incrementally
re-enabling features.
This kind of things can only be done at run-time.
>
> --
> Rémi Denis-Courmont
> Tapiolan uusi kaupunki, Uudenmaan tasavalta
>
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20200414/2c383196/attachment.html>
More information about the vlc-devel
mailing list