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

Commit 9a20a522 authored by Steve Kondik's avatar Steve Kondik
Browse files

Generalize vectorization of Bitmap operation

 * All NEON-capable processors can support this.

Change-Id: I13d448e5864ea804f66cd1bbb93360cb8c0f0806
parent db78c5c7
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -221,12 +221,7 @@ LOCAL_SHARED_LIBRARIES := \
	libz

ifeq ($(TARGET_ARCH), arm)
  ifeq ($(TARGET_USE_KRAIT_BIONIC_OPTIMIZATION), true)
    TARGET_arm_CFLAGS += -DUSE_NEON_BITMAP_OPTS -mvectorize-with-neon-quad
    LOCAL_SRC_FILES+= \
		android/graphics/Bitmap.cpp.arm
  else
    ifeq ($(TARGET_CPU_VARIANT), cortex-a15)
  ifeq ($(ARCH_ARM_HAVE_NEON),true)
    TARGET_arm_CFLAGS += -DUSE_NEON_BITMAP_OPTS -mvectorize-with-neon-quad
    LOCAL_SRC_FILES+= \
		android/graphics/Bitmap.cpp.arm
@@ -234,7 +229,6 @@ ifeq ($(TARGET_ARCH), arm)
    LOCAL_SRC_FILES+= \
		android/graphics/Bitmap.cpp
  endif
  endif
else
    LOCAL_SRC_FILES+= \
		android/graphics/Bitmap.cpp