[SciPy-user] f2py and ifort flags...

fred fredmfp at gmail.com
Tue Jun 5 06:02:36 EDT 2007


Pearu Peterson a écrit :
> Do you have references how the processor types map to options such as
> -xP, -xT, etc...?
>   
 From the manpage:

 -x<p> (i32 and i32em)
              Generates specialized and optimized code for the processor 
that executes your program.  The  characters
              K, W, N, B, P, and T denote the processor types (<p>).  
The following are -x options:

              · -xK

                Generates code for Intel Pentium III processors and 
compatible Intel processors.

              · -xW

                Generates code for Intel Pentium 4 processors and 
compatible Intel processors.

              · -xN

                Generates  code for Intel Pentium 4 and compatible Intel 
processors with Streaming SIMD Extensions 2.
                The resulting code may contain unconditional use of 
features that are not supported on other  proces-
                sors.

                This  option  also  enables  new  optimizations in 
addition to Intel processor-specific optimizations
                including advanced data layout and code restructuring 
optimizations to improve  memory  accesses  for
                Intel processors.

              · -xB

                Generates  code  for  Intel  Pentium  M processors and 
compatible Intel processors.  Also enables new
                optimizations in addition to Intel processor-specific 
optimizations.

              · -xP

                Generates code for Intel(R) Core(TM) Duo processors, 
Intel(R) Core(TM) Solo processors, Intel(R) Pen-
                tium(R) 4 processors with Streaming SIMD Extensions 3, 
and compatible Intel processors with Streaming
                SIMD Extensions 3. The resulting code may contain 
unconditional use of features  that  are  not  sup-
                ported on other processors.

                This  option  also  enables  new  optimizations in 
addition to Intel processor-specific optimizations
                including advanced data layout and code restructuring 
optimizations to improve  memory  accesses  for
                Intel processors.

              · -xT

                Generates  code for Intel(R) Core(TM)2 Duo processors, 
Intel(R) Core(TM)2 Extreme processors, and the
                Dual-Core Intel(R) Xeon(R) processor 5100 series.

                This option also enables new optimizations in  addition  
to  Intel  processor-specific  optimizations
                including  advanced  data  layout and code restructuring 
optimizations to improve memory accesses for
                Intel processors.

              The only options available on Intel(R) EM64T systems are 
-xW, -xP, and -xT.

              On Mac OS systems, the only valid option is -xP.  On these 
systems, it is the  default  and  is  always
              set.

              If you specify more than one processor value, code is 
generated for only the highest-performing proces-
              sor specified. The highest-performing to lowest-performing 
processor values are: T, P, B, N, W, K.


Cheers,

-- 
http://scipy.org/FredericPetit




More information about the SciPy-User mailing list