Dave Love wrote:
> As far as I can tell, it doesn't do dynamic dispatch.  Experimentally,
> if you build with -mavx2 and run on ivybridge (or for skx and run on
> haswell), the test code generates illegal instruction errors.  It's some
> time ago since I looked at it, and I don't remember, but that's probably
> why I thought it wasn't very useful, apart from only having x86 and arm
> support.

That's because it is a header-only library. It is either hard (and non-
portable) or impossible to do dynamic dispatch in a header-only library, 
depending on the compiler and compiler version. (At least in past GCC 
versions, it was impossible. This may or may not have improved since.) 
Hence, dynamic dispatch, if desired, is left to the client application. And 
I agree that this makes the library mostly useless.

You need an actual shared object with actual functions to do dynamic 
dispatch nicely and transparently.

        Kevin Kofler
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to