[MacPorts] #13914: x264 G5 variant

MacPorts trac at macosforge.org
Sun Jan 13 21:11:07 PST 2008


#13914: x264 G5 variant
---------------------------------------+------------------------------------
  Reporter:  jmcintyre at dfsoftware.com  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  enhancement               |      Status:  new                                  
  Priority:  Normal                    |   Milestone:  Port Enhancements                    
 Component:  ports                     |     Version:  1.6.0                                
Resolution:                            |    Keywords:  x264 G5                              
---------------------------------------+------------------------------------
Changes (by jmpp at macports.org):

  * milestone:  => Port Enhancements

Old 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.

New 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.

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13914#comment:1>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list