On Fri, Mar 5, 2010 at 7:48 AM, Stephen White
<senor...@google.com> wrote:
Hi Antoine,
Seems like this is going to mean a lot of different ARM binaries. Out of curiosity, would it be worthwhile to make some of these run-time checks? I had to do that for SSE2, so it shouldn't be too hard to do it for neon too.
Stephen
For Chromium OS, we're already committed to having different binaries for different ARM platforms (we do it at the distribution level), so it's not an extra burden. We could use the extra registers and performance boost of using vector instructions when the compiler can do it, even for generic code.
I totally see the advantage of doing run-time checks for distributions, so that they can compile with safe flags, and only enable NEON for specifically optimized code. Mainly skia and ffmpeg are concerned I believe. I haven't done any work to do that yet though.
Antoine