Skip to content

Instantly share code, notes, and snippets.

@jvcleave
Last active August 29, 2015 14:16
Show Gist options
  • Save jvcleave/dde4f404a3bfc0d8a497 to your computer and use it in GitHub Desktop.
Save jvcleave/dde4f404a3bfc0d8a497 to your computer and use it in GitHub Desktop.
/ThirdParty/PSCommon/BuildSystem/Platform.Arm
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