What is the executable format option's point and why this default?

Everything else that doesn't fall into one of the other PB categories.
Rinzwind
Enthusiast
Enthusiast
Posts: 638
Joined: Wed Mar 11, 2009 4:06 pm
Location: NL

What is the executable format option's point and why this default?

Post by Rinzwind »

Is it me or is that dropdown quite useless nowadays and should it always select CPU with SSE2 as default since any processor released in the last (almost) 2 decades support it? Weird the default is to not use it and newer extensions didn't get support. Also wonder what exactly in PB takes advantage of it?

ps wikipedia: "SSE2 is also a requirement for installing Windows 8[3] (and later) or Microsoft Office 2013 (and later) "to enhance the reliability of third-party apps and drivers running in Windows 8"
User avatar
chi
Addict
Addict
Posts: 1034
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: What is the executable format option's point and why this default?

Post by chi »

Help wrote:Cpu Optimisation (next to Executable format)
This setting allows to include Cpu optimised PB functions in your executable:
All CPU : The generic functions are included that run on all CPUs.
Dynamic CPU : The generic functions as well as any available CPU specific function are included. The function to execute is decided at runtime. This creates a bigger executable, but it will run as fast as possible on all CPUs.
All other options : Include only the functions for a specific CPU. The executable will not run on any Cpu that does not support this feature.

Note: No PB functions actually support this feature for now (it is ignored for them). However, some User Libraries include such optimisations.
Note the note :wink:
Et cetera is my worst enemy
Rinzwind
Enthusiast
Enthusiast
Posts: 638
Joined: Wed Mar 11, 2009 4:06 pm
Location: NL

Re: What is the executable format option's point and why this default?

Post by Rinzwind »

Then its complete bullocks. That dropdown was added in 2003 according to change history and has zero purpose since then. OK. Clear.
BarryG
Addict
Addict
Posts: 3318
Joined: Thu Apr 18, 2019 8:17 am

Re: What is the executable format option's point and why this default?

Post by BarryG »

Rinzwind wrote: Tue Nov 09, 2021 1:06 pmThen its complete bullocks. That dropdown was added in 2003 according to change history and has zero purpose since then.
Not zero purpose. The manual clearly says: "some User Libraries include such optimisations". I guess it was more useful when user libraries created with Tailbite were a big thing.
User_Russian
Addict
Addict
Posts: 1443
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: What is the executable format option's point and why this default?

Post by User_Russian »

Rinzwind
Enthusiast
Enthusiast
Posts: 638
Joined: Wed Mar 11, 2009 4:06 pm
Location: NL

Re: What is the executable format option's point and why this default?

Post by Rinzwind »

Post Reply