Comment 32 for bug 383240

Revision history for this message
Loïc Minier (lool) wrote :

Replying to self:
> NB: I used -mcpu=armv7-a instead of -mcpu=cortex-a8 because cortex implies the fast_unaligned ffmpeg flag. Could you confirm that implementing NEON implies fast_unaligned?

I pulled r19308 (ARM: enable fast_unaligned when --cpu=armv[67] is specified):
--- a/configure
+++ b/configure
@@ -1792,6 +1792,10 @@ if test $cpu != "generic"; then
             add_cflags -mcpu=$cpu
             enable fast_unaligned
         ;;
+ armv[67]*)
+ add_cflags -march=$cpu
+ enable fast_unaligned
+ ;;
         armv*)
             add_cflags -march=$cpu
         ;;

so it's effectively identical to --cpu=cortex*.