Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: P4 Optimized... (Read 3543 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

P4 Optimized...

I noticed a lot of encoders on RareWares (including flac) that are optimized for different processors.  What are the advantages and disadvantages of using an optimized encoder verses the encoder that you download from the main development site?

Also, does anyone know where the Pentium-M fits in?  Can I run the P4 optimized flac encoder on a laptop with a PM (not P4-M) chip or am I better off sticking to the original?

P4 Optimized...

Reply #1
Quote
I noticed a lot of encoders on RareWares (including flac) that are optimized for different processors.  What are the advantages and disadvantages of using an optimized encoder verses the encoder that you download from the main development site?

Also, does anyone know where the Pentium-M fits in?  Can I run the P4 optimized flac encoder on a laptop with a PM (not P4-M) chip or am I better off sticking to the original?
[a href="index.php?act=findpost&pid=244941"][{POST_SNAPBACK}][/a]



Generally the optimized versions will run faster than their non-optimized counterparts.

Pentium-M CPUs (Banias or Dotham core) are based on the old Pentium III Tualatin core.

As to the flac encoder binary, it might run... it depends on what exactly "P4" optimizations mean. If it's just SSE2, then that should run on the Banias/Dotham chips as well. Your best bet it just just try. If the binary segfaults, well then it didn't work 

 

P4 Optimized...

Reply #2
You will have to try both. P4 requires some odd optimisations that might slow things down on an older core (like your PIII-M). Your best bet is to download both the Pentium 4 and generic versions and see which is faster.

For FLAC the advantage of an optimised encoder is increased speed. There are no disadvantages (unless your hardware is flaky in which case the optimised version is more likely to not work).

P4 Optimized...

Reply #3
I'm using the P4 optimized flac.exe.  It might be faster, but it's not anything that makes me go wow!
------- Rick -------
--------------------

P4 Optimized...

Reply #4
you'll only get so much from a mmx/sse-aware compiler.  most of the gains probably come from the few hand-written asm routines in libFLAC.  there are mmx and sse versions of some functions, but no sse2.

Josh

edit: maybe the small difference is because the official win32 flac binary release is already compiled with mmx support, (but not sse since that requires OS support for it).

P4 Optimized...

Reply #5
:deleted: