diff options
| author | Peter Fors <peter.fors@mindkiller.com> | 2025-11-14 22:17:03 +0100 |
|---|---|---|
| committer | Peter Fors <peter.fors@mindkiller.com> | 2025-11-14 22:17:03 +0100 |
| commit | 2174b3f369e59286ccd10348117a16e08c412508 (patch) | |
| tree | 8ff6c7d02da221aad45fcdb03b22f09080a9c9aa /build.sh | |
| parent | 46d0f6aeb1588b85852487e581a8b4c9c2401646 (diff) | |
Rearranged the ppu_state to be even more cacheline aware, gained another 1% performance
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -16,6 +16,8 @@ WIN_CC=x86_64-w64-mingw32-gcc # Base configuration common to all builds CFLAGS="-std=gnu11 -mtune=generic " # -fdump-tree-alias " +CFLAGS+="-falign-functions=32 -falign-loops=32 " +CFLAGS+="-finline-limit=800 " CFLAGS+="-mbmi -fno-argument-alias " CFLAGS+="-mfunction-return=keep -mindirect-branch=keep " CFLAGS+="-fwrapv -ffast-math -fno-trapping-math -fvisibility=hidden " @@ -93,7 +95,7 @@ set -e # Build Linux version ( - $CC $CFLAGS ${PROJECT_NAME}_sdl.c -o ${PROJECT_NAME} $INCLUDE_PATHS $LINUX_INCLUDE $LDFLAGS $LINUX_LIBS + $CC $CFLAGS ${PROJECT_NAME}.c -o ${PROJECT_NAME} $INCLUDE_PATHS $LINUX_INCLUDE $LDFLAGS $LINUX_LIBS objdump -d -Mintel mknes > mknes.s ) & |
