Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 065c87ec authored by Steve Kondik's avatar Steve Kondik
Browse files

Vectorize bitmap operations on A15 too

 * Commit a2e20761 enables GCC
   vectorization for bitmap operations on Krait. Enable it on A15 also.

Change-Id: I1f733f5311376deb78782931ea2b83a8d12c2171
parent 3083c3c9
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -230,10 +230,16 @@ ifeq ($(TARGET_ARCH), arm)
    TARGET_arm_CFLAGS += -DUSE_NEON_BITMAP_OPTS -mvectorize-with-neon-quad
    LOCAL_SRC_FILES+= \
		android/graphics/Bitmap.cpp.arm
  else
    ifeq ($(TARGET_ARCH_VARIANT_CPU), cortex-a15)
      TARGET_arm_CFLAGS += -DUSE_NEON_BITMAP_OPTS -mvectorize-with-neon-quad
      LOCAL_SRC_FILES+= \
		android/graphics/Bitmap.cpp.arm
    else
      LOCAL_SRC_FILES+= \
		android/graphics/Bitmap.cpp
    endif
  endif
else
    LOCAL_SRC_FILES+= \
		android/graphics/Bitmap.cpp