Attempt to enable to SSE and MMX build options...

BlitzMax Forums/BlitzMax Programming/Attempt to enable to SSE and MMX build options...

Arowx(Posted 2010) [#1]
In theory this looked easy, change the PC build option in bmk_util.bmx to 'pentium-m' to get SSE and MMX enhancements to the build and get faster code for free!

Rebuild bmk, drop it in the bin directory... rebuild modules.

Issue with libpng not building so download the latest version and drop it in libpng.mod folder and rebuild...

Yeah it built! ;o)

Now test it on a game to see if there are any speed improvemnts from this build...

libpng warning: Application was compiled with png.h from libpng-1.2.12
libpng warning: Application  is  running with png.c from libpng-1.4.1
libpng warning: Incompatible libpng version in application and library


Oops, now as I have rebuilt all the modules how come something is still expecting libpng 1.2.12?


GW(Posted 2010) [#2]
What i and others had to do in the past is copy all the image modules before you rebuild with the new flags, then restore all the image modules. (png,jpg, etc)

I wish there was a way that you could specify the compiler flags in the module directly or with an argument to BMK.