Opened 16 years ago

Last modified 8 years ago

#13914 closed enhancement

x264 G5 variant — at Initial Version

Reported by: jmcintyre Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: x264 G5 Cc:
Port:

Description

G5 based computers see a significant performance boost in x264 if the compiler is told to build specifically for it. I've created a simple variant for the G5.

variant G5 {

configure.cflags-append "-mcpu=970 -mtune=970 -mpowerpc64 -mpowerpc-gpopt -fast -mabi=altivec -maltivec"

}

Most of the improvements come from the first four parameters. You could argue that -fast isn't really a G5 specific tag, so it shouldn't be here, but since this is trying to tune as tightly for performance, I think it is worth having. I can make a patch file if it is needed.

Change History (0)

Note: See TracTickets for help on using tickets.