Re: What CPU extensions can we assume are available by arch?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux