Cross platform SSE/MMX capabilities detection
I think the title says it all. Is there a way to do this with Qt?
I find it already difficult to do this for windows only (found some obscure asm calls that sometime do the job and most of the time fail)
There is no way to check that with Qt.
This is platform and/or processor specific.
I know no other way then to do this in asm :-(
Could you advise some asm magical that work on linux? Thanks a lot
Again, not really specific to Qt. Probably not going to find a lot of answers here, unfortunately. If so, great, but the best I can suggest is: http://lmgtfy.com/?q=detect+MMX+SSE+linux
I found those one each time I got asm related compilation errors.
In the mean time I found this: http://qt.gitorious.org/qt/qt/blobs/fac68dca46131d63f11c37210834073848f5a93d/src/corelib/tools/qsimd_p.h
Are there any x86 processors without SSE still? Maybe a few antiques that are hardly worth the consideration. All x86 processors, manufactured the last 11 years are at least SSE2 capable.