Kompilace kernelu

Divacky Roman xdivac02 at stud.fit.vutbr.cz
Tue Jun 27 11:15:21 CEST 2006


On Tue, Jun 27, 2006 at 01:00:26AM +0200, Pav Lucistnik wrote:
> Jan Dušátko píše v út 27. 06. 2006 v 00:47 +0200:
> 
> > CFLAGS= -O2 -pipe -funroll-loops -ffast-math
> 
> Lidi se nikdy nepouci... 
> 
> [man gcc]
>        -ffast-math
>               This option allows GCC to violate some ANSI or IEEE rules/speci-
>               fications in the interest of optimizing code for speed.  For ex-
>               ample,  it  allows  the compiler to assume arguments to the sqrt
>               function are non-negative numbers.
> 
>               This option should never be turned on by any `-O'  option  since
>               it  can  result in incorrect output for programs which depend on
>               an exact implementation of IEEE or ANSI rules/specifications for
>               math functions.

myslim ze zrovna tohle je dost neskodne v kernelu, pac v kernelu neni moc mist
kde by se pouzivala nejaka zajimava matematika na kterou by se to uplatnilo ;)

neco jineho jsou porty, tam bych breakage ocekaval ale v kernelu pohodicka
(sice je to nanic ale neuskodi to)



More information about the Users-l mailing list