Page 1 of 1

Compile Handbrake with AMD FX optimization?

Posted: Mon Jul 08, 2019 7:55 am
by burliHB
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

Re: Compile Handbrake with AMD FX optimization?

Posted: Mon Jul 08, 2019 12:13 pm
by mduell
The performance critical parts of HB are already well optimized with hand-written assembly, so your gcc march is irrelevant.

Re: Compile Handbrake with AMD FX optimization?

Posted: Mon Jul 08, 2019 12:38 pm
by burliHB
Ok, thanks