Multiple optimizations

Just starting out? Need help? Post your questions and find answers here.
Fenix
Enthusiast
Enthusiast
Posts: 102
Joined: Wed May 07, 2003 1:45 am
Location: Germany

Multiple optimizations

Post by Fenix »

Hi everyone!


Is it possible to use multiple optimizations (MMX, 3DNow!, SSE, SSE2) in one program?
Pupil
Enthusiast
Enthusiast
Posts: 715
Joined: Fri Apr 25, 2003 3:56 pm

Post by Pupil »

Yes, with the dynamic CPU option in the compiler option window in PBEditor all optimized routines is included in the EXE and the best routine is choosen dynamicly when program is run...

But at this time there are, to my knowledge, no MMX, 3DNow!, SSE or SSE2 optimized routines in the current versions of the PB libraries. But it'll probaly come in future versions..
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Post by Danilo »

Yes, use "Compiler Options > Dynamic CPU".

Dynamic CPU includes all versions and uses the version
that runs on this processor, if available.

Fred can tell you what commands are already optimized.
See the /COMMENTED code if the ASM output is also
optimized with dynamic CPU.
cya,
...Danilo
...:-=< http://codedan.net/work >=-:...
-= FaceBook.com/DaniloKrahn =-
Fenix
Enthusiast
Enthusiast
Posts: 102
Joined: Wed May 07, 2003 1:45 am
Location: Germany

Post by Fenix »

thx guys!
Post Reply