Compile Handbrake with AMD FX optimization?

Support for HandBrake on Linux, Solaris, and other Unix-like platforms
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
burliHB
Posts: 6
Joined: Thu Dec 27, 2018 10:37 am

Compile Handbrake with AMD FX optimization?

Post by burliHB » Mon Jul 08, 2019 7:55 am

Hello,
I have a good old AMD FX-6300 CPU and I discovered that GCC can produce optimized code with the -march=bdver2 flag. How can I build Handbrake with this optimizations? Does it makes any difference?

I'm running Ubuntu 18.04

Thanks
Markus

mduell
Veteran User
Posts: 6635
Joined: Sat Apr 21, 2007 8:54 pm

Re: Compile Handbrake with AMD FX optimization?

Post by mduell » Mon Jul 08, 2019 12:13 pm

The performance critical parts of HB are already well optimized with hand-written assembly, so your gcc march is irrelevant.

burliHB
Posts: 6
Joined: Thu Dec 27, 2018 10:37 am

Re: Compile Handbrake with AMD FX optimization?

Post by burliHB » Mon Jul 08, 2019 12:38 pm

Ok, thanks

Post Reply