(Android x86) Compile with SIMD x86 for OwlResampler

(PS3) Enable Altivec SIMD for OwlResampler
This commit is contained in:
twinaphex 2014-04-26 20:01:31 +02:00
parent 07be3049ca
commit 200c8cb61a
2 changed files with 4 additions and 3 deletions

View File

@ -408,7 +408,7 @@ else ifeq ($(platform), ps3)
AR = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-ar.exe
ENDIANNESS_DEFINES := -DMSB_FIRST -DBYTE_ORDER=BIG_ENDIAN
OLD_GCC := 1
FLAGS += -DHAVE_MKDIR
FLAGS += -DHAVE_MKDIR -DARCH_POWERPC_ALTIVEC
STATIC_LINKING = 1
else ifeq ($(platform), sncps3)
TARGET := $(TARGET_NAME)_ps3.a
@ -419,7 +419,7 @@ else ifeq ($(platform), sncps3)
CXXFLAGS += -Xc+=exceptions
OLD_GCC := 1
NO_GCC := 1
FLAGS += -DHAVE_MKDIR
FLAGS += -DHAVE_MKDIR -DARCH_POWERPC_ALTIVEC
STATIC_LINKING = 1
else ifeq ($(platform), psl1ght)
TARGET := $(TARGET_NAME)_psl1ght.a
@ -427,7 +427,7 @@ else ifeq ($(platform), psl1ght)
CXX = $(PS3DEV)/ppu/bin/ppu-g++$(EXE_EXT)
AR = $(PS3DEV)/ppu/bin/ppu-ar$(EXE_EXT)
ENDIANNESS_DEFINES := -DMSB_FIRST -DBYTE_ORDER=BIG_ENDIAN
FLAGS += -DHAVE_MKDIR
FLAGS += -DHAVE_MKDIR -DBYTE_ORDER=BIG_ENDIAN
STATIC_LINKING = 1
else ifeq ($(platform), psp1)
TARGET := $(TARGET_NAME)_psp1.a

View File

@ -14,6 +14,7 @@ endif
ifeq ($(TARGET_ARCH),x86)
LOCAL_CXXFLAGS += -DANDROID_X86
LOCAL_CFLAGS += -DANDROID_X86
IS_X86 = 1
endif
ifeq ($(TARGET_ARCH),mips)