Changeset 2039

Show
Ignore:
Timestamp:
05/11/08 10:36:16 (4 months ago)
Author:
peter
Message:

source/cpu.cpp:

Update comment about disabling gradual underflow on Ultrasparc.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/cpu.cpp

    r2024 r2039  
    359359 
    360360        /* >>chng 01 oct 09, disable gradual underflow on ultrasparc whith g++ 
    361          * (only needed for versions prior to 3.1, see Note 1). 
     361         * (only needed for versions < 3.1 or >= 4.3.0, see Note 1). 
    362362         * 
    363363         * compile this module with: 
    364          *     g++ [ other options... ] -I<include-dir> -DHAVE_SUNMATH -c setfpenv.c 
     364         *     g++ [ other options... ] -I<include-dir> -DHAVE_SUNMATH -c cpu.cpp 
    365365         * link the program with: 
    366366         *     g++ -L<library-dir> -o cloudy.exe *.o -lsunmath 
     
    379379         * g++ [ other options... ] -funsafe-math-optimizations -c *.c 
    380380         * g++ [ other options... ] -funsafe-math-optimizations -o cloudy.exe *.o 
     381         * 
     382         * Starting with g++ 4.3.0 the -funsafe-math-optimizations option can no longer be 
     383         * used as it implicitly enables -fno-trapping-math, which is unsafe for Cloudy 
     384         * because we do trap floating point exceptions. 
    381385         * 
    382386         * Note 2: Don't use nonstandard_arithmetic() with CC (the SunWorks/Forte compiler);