Closed GoogleCodeExporter closed 9 years ago
You can find code for detecting processor support for SSE here:
http://stackoverflow.com/questions/6121792/how-to-programmically-check-if-a-cpu-
supports-sse3/7495023#7495023
Original comment by keith3...@rocketmail.com
on 22 Jan 2013 at 1:25
The link I gave is only for Windows. The following link includes cpuid code
that apparently works on Windows, Mac and Linux
http://stackoverflow.com/questions/1666093/cpuid-implementations-in-c/4823889#48
23889
Original comment by keith3...@rocketmail.com
on 22 Jan 2013 at 1:49
I think this would really hurt auto-inlining.
Original comment by vaddi...@gmail.com
on 21 Mar 2013 at 1:55
What do you mean?
Could be implemented as construction of a struct in an unnamed namespace:
namespace
{
cpuinfo = getcpuinfo();
}
Or maybe as a simple const variable in the main namespace (I don't know the
current design in the project but I will look into this if I have time, maybe
post a pull request). It won't have any more overhead than a simple if (no
wrong branch predictions since the values won't change I assume).
Original comment by fasdfas...@gmail.com
on 23 Jul 2013 at 9:17
I just noticed the project is dead, the maintainer is on the wind, is that
right?
Original comment by fasdfas...@gmail.com
on 23 Jul 2013 at 9:20
[deleted comment]
This will not be implemented due to the following reason:
* runtime overhead (e.g. function pointer, unable to inline)
* Issue #104 causes that user may need to add paddings if using SIMD
acceleration on some platforms.
Original comment by milo...@gmail.com
on 30 Jun 2014 at 10:13
Original issue reported on code.google.com by
keith3...@rocketmail.com
on 21 Jan 2013 at 11:38