Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <A1703E5D-0776-4084-B1BC-75CAB5D9F497@erols.com>
Date: Mon, 4 Dec 2006 09:44:48 -0500
From: Erik Winkler <ewinkler@...ls.com>
To: john-users@...ts.openwall.com
Subject: Re: build options for macosx-ppc32-altivec


On Dec 3, 2006, at 10:15 PM, Olivier Meyer wrote:

> With this patch to the Makefile, I can get much higher performance.
> Will anyone add cpu detection to set the -mcpu arg. It can be done
> with /usr/bin/machine on osx.
> 496,497c496,497
> <               OPT_NORMAL="-fast -mcpu=7400 -faltivec -O6" \
> <               OPT_INLINE="-fast -mcpu=7400 -faltivec -O6 -finline- 
> limit=4000"
> ---
>>               OPT_NORMAL="-fast -mcpu=7450" \
>>               OPT_INLINE="-fast -mcpu=7450 -finline-limit=4000"

Actually, gcc-3.3 generates faster code on the powerpc than gcc-4.0.   
With Apple's move to Intel processors, don't expect future versions  
of gcc to improve on powerpc code generation.  I use the following  
for my powerbook G4 and found it generates code that is 10-15% faster  
than the same code generated with gcc-4.0.1.

CPP=gcc-3.3 CC=gcc-3.3 AS=gcc-3.3 LD=gcc-3.3 \
-----
OPT_NORMAL="-O3 -mcpu=7400 -mtune=7400 -fstrict-aliasing -funroll- 
loops -ffast-math -mdynamic-no-pic" \
OPT_INLINE="-O3 -mcpu=7400 -mtune=7400 -fstrict-aliasing -funroll- 
loops -ffast-math -mdynamic-no-pic -finline-limit=4000"

Erik

>
> -- 
> -----------------------
> Olivier V. Meyer
> Congress shall make no law respecting an establishment of religion, or
> prohibiting the free exercise thereof; or abridging the freedom of
> speech, or of the press; or the right of the people peaceably to
> assemble, and to petition the government for a redress of grievances.
>
> -- 
> To unsubscribe, e-mail john-users-unsubscribe@...ts.openwall.com  
> and reply
> to the automated confirmation request that will be sent to you.

-- 
To unsubscribe, e-mail john-users-unsubscribe@...ts.openwall.com and reply
to the automated confirmation request that will be sent to you.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.