On Sun, Jan 08, 2012 at 02:43:14PM +0100, Nicolas George wrote:
Le nonidi 19 nivôse, an CCXX, Reimar Döffinger a écrit :
Just to make it clear: Since autodetection is basically not workable on arm, you have to explicitly specify which CPU to build for. -marmv5 is a deprecated way to do it which you should never use as far as I can tell. -march=... would be the replacement, though I though -march shouldn't really be used for ARM either, but you should set -mcpu= accordingly.
Do you by any chance have a pointer to a doc helping to figure out the correct value for -mcpu et -mtune depending on the version of the compiler and the contents of /proc/cpuinfo?
No. I usually experiment wildly until I happen to get something where configure enables NEON and it does not crash. Since I consider a video player without NEON support mildly pointless. I don't know why you ask, but I strongly think that such functionality belongs in gcc and should be triggered by -mcpu=native.