Could you fully document qDetectCpuFeatures and qCpuHasFeature?
-
I am porting code which will use SSE42 if there else a C++ equivalent (which is much slower.) It would be very useful to be able to leverage your qDetectCpuFeatures functionality rather than have to write my own.
(fortunately nmmintrin.h seems to be available in VC++, CLang and gcc.)
-
Hi,
I believe those are internal functions. Unlike official public API, internal API isn't documented and doesn't guarantee of source compatibility or binary compatibility across Qt versions.
You can request for those functions to be made public at https://bugreports.qt-project.org/ (this forum is for discussing how to use Qt; feature requests will probably fade into obscurity here)
-
No need to be condescending; I fully understand that it is internal, hence my request to make the API public.
As for your second point, thank you.
-
Sorry, it wasn't my intention to be condescending. I wrote my first paragraph because I understood your request as "please write documentation on how these functions should be used" rather than "please make these functions public".
You're welcome. Please post a link to your request back here, so that others who're interested can follow it.
-
I posted a suggestion on JIRA as suggested by JKSH. The link is: "https://bugreports.qt-project.org/browse/QTBUG-33519":https://bugreports.qt-project.org/browse/QTBUG-33519