Last active
August 29, 2015 14:16
-
-
Save jvcleave/dde4f404a3bfc0d8a497 to your computer and use it in GitHub Desktop.
/ThirdParty/PSCommon/BuildSystem/Platform.Arm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ifeq "$(CFG)" "Release" | |
# Hardware specifying flags | |
CFLAGS += -march=armv7-a -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a8 | |
# Optimization level, minus currently buggy optimizing methods (which break bit-exact) | |
CFLAGS += -O3 -fno-tree-pre -fno-strict-aliasing | |
# More optimization flags | |
CFLAGS += -ftree-vectorize -ffast-math -funsafe-math-optimizations #-fsingle-precision-constant | |
DEFINES += XN_NEON | |
CFLAGS += -flax-vector-conversions | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment