1 Star 0 Fork 0

zhangdaolong/speccpu2006-config-flags

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Intel-ic91-flags.20090715.01.xml 18.22 KB
一键复制 编辑 原始数据 按行查看 历史
zhangdaolong 提交于 2024-04-07 09:28 . add flag file
<?xml version="1.0"?>
<!DOCTYPE flagsdescription SYSTEM "http://www.spec.org/dtd/cpuflags1.dtd">
<flagsdescription>
<!-- filename to begin with "Intel-ic91-flags-file" -->
<filename>Intel-ic91-flags-file-20060622.xml</filename>
<title>SPEC CPU2006 Flag Description for the Intel(R) C++ Compiler 9.1
for 32-bit applications and Intel(R) Fortran Compiler 9.1 for 32-bit
applications</title>
<header>
<![CDATA[
<p style="text-align: left; color: red; font-size: larger; background-color: black">
Copyright &copy; 2006 Intel Corporation. All Rights Reserved.</p>
]]>
</header>
<platform_settings>
<![CDATA[
<p> Memory Array Setting:<br />
High Redundant Bit Steering (RBS)(default setting):<br />
This option enables Memory ProteXion and is the default/standard setting.<br />
Select RBS if you are not using mirroring, hot-swap, or hot-add. Redundant <br />
bit steering is the technical term for Memory ProteXion.<br />
When a single bit in a memory DIMM fails, the function known as redundant bit<br />
steering (RBS) automatically moves the affected bit to an unused bit in the<br />
memory array, removing the need to perform the ECC correction and thereby<br />
returning the memory subsystem to peak performance. The number of RBS<br />
actions that can be performed depends on the type of DIMMs installed in the<br />
server<br />
Full Array Memory Mirroring (FAMM):<br />
Select FAMM to enable memory mirroring (and to enable hot-swap).<br />
Memory mirroring reduces the amount of addressable memory by half on<br />
each chassis in the partition, but provides complete redundancy of all<br />
addressable memory. RBS is available in this mode.<br />
Hot-Add Memory (HAM):<br />
Select HAM to enable the use of the hot-add in the future.<br />
HAM provides an array layout that supports runtime hot memory add within<br />
an OS that supports that feature. This setting has lower performance and may<br />
also restrict the amount of memory that can be installed in each chassis, as<br />
addressable ranges must be reserved on each chassis for the hot add<br />
function. RBS is available in this mode.<br />
High Performance Memory Array (HPMA):<br />
HPMA optimizes the installed memory array on each chassis in the partition<br />
for maximum memory performance. Hardware correction (ECC) of a single<br />
correctable error per chip select group (CSG) is provided, but RBS is not<br />
available.<br />
Hardware Prefetch:<br />
Enables a processor mechanism that automatically fetches<br />
data and instructions into the unified second-level cache.<br />
Enabling this feature can result in higher performance on<br />
some applications and operating systems. Disabled by default. </p>
]]>
</platform_settings>
<!--
******************************************************************************************************
* Compilers
******************************************************************************************************
-->
<flag name="intel_icl" class="compiler" regexp="(?:/\S+/)?icl\b">
<![CDATA[
<p>Invoke the Intel C++ compiler for 32 bit applications </p>
]]>
</flag>
<flag name="intel_ifort" class="compiler" regexp="(?:/\S+/)?ifort\b">
Invoke the Intel Fortran compiler for 32 bit applications
</flag>
<flag name="intel_compiler_c99_mode" class="compiler" regexp="(?:/\S+/)?-Qc99\b">
Invoke the Intel C++ compiler in C99 mode
</flag>
<flag name="intel_ms.net2003_compatibility" class="compiler" regexp="(?:/\S+/)?-Qvc7.1\b">
Invoke the Intel C++ compiler in .Net 2003 compatibility mode
</flag>
<!--
******************************************************************************************************
* Portability
******************************************************************************************************
-->
<flag name="lowercase_routine_name" class="portability" regexp="(?:/\S+/)?-Qlowercase\b">
<![CDATA[
<p>For mixed-language benchmarks, tell the compiler to convert routine names to
lowercase for compatibility</p>
]]>
</flag>
<flag name="add-underscore_to_routine_name" class="portability" regexp="(?:/\S+/)?\/assume\:underscore\b">
<![CDATA[
<p>For mixed-language benchmarks, tell the compiler to assume that routine
names end with an underscore</p>
]]>
</flag>
<flag name="assume_cplusplus_sources" class="portability" regexp="(?:/\S+/)?-TP\b">
Tell the compiler to treat source files as C++ regardless of the file extension
</flag>
<!--
******************************************************************************************************
* Optimizations
******************************************************************************************************
-->
<flag name="f-O1" class="optimization" regexp="-O1\b">
<![CDATA[
<p>Enables optimizations for speed and disables some optimizations that <br />
increase code size and affect speed. <br />
To limit code size, this option: <br />
- Enables global optimization; this includes data-flow analysis,
code motion, strength reduction and test replacement, split-lifetime
analysis, and instruction scheduling. <br />
- Disables intrinsic recognition and intrinsics inlining. <br />
The O1 option may improve performance for applications with very large
code size, many branches, and execution time not dominated by code within loops. <br />
On IA-32 Windows platforms, -O1 sets the following:</p>
<p style="margin-left: 25px">
/Qunroll0, /Oi-, /Op-, /Oy, /Gy, /Os, /GF (/Qvc7 and above),
/Gf (/Qvc6 and below), /Ob2, and /Og</p>
]]>
<include flag="f-Qunroll_n"/>
<include flag="f-Oi-"/>
<include flag="f-Op-"/>
<include flag="f-Oy"/>
<include flag="f-Gy"/>
<include flag="f-Os"/>
<include flag="f-GF"/>
<include flag="f-Gf"/>
<include flag="f-Ob_n"/>
<include flag="f-Og"/>
</flag>
<flag name="f-O2" class="optimization" regexp="-O2\b">
<![CDATA[
<p>Enables optimizations for speed. This is the generally recommended
optimization level. This option also enables: <br />
- Inlining of intrinsics<br />
- Intra-file interprocedural optimizations, which include: <br />
- inlining<br />
- constant propagation<br />
- forward substitution<br />
- routine attribute propagation<br />
- variable address-taken analysis<br />
- dead static function elimination<br />
- removal of unreferenced variables<br />
- The following capabilities for performance gain: <br />
- constant propagation<br />
- copy propagation<br />
- dead-code elimination<br />
- global register allocation<br />
- global instruction scheduling and control speculation<br />
- loop unrolling<br />
- optimized code selection<br />
- partial redundancy elimination<br />
- strength reduction/induction variable simplification<br />
- variable renaming<br />
- exception handling optimizations<br />
- tail recursions<br />
- peephole optimizations<br />
- structure assignment lowering and optimizations<br />
- dead store elimination<br />
</p>
<p>On IA-32 Windows platforms, -O2 sets the following:</p>
<p style="margin-left: 25px">
/Og, /Oi-, /Os, /Oy, /Ob2, /GF (/Qvc7 and above), /Gf (/Qvc6
and below), /Gs, and /Gy.</p>
]]>
<include flag="f-Oi-"/>
<include flag="f-Gs"/>
<include flag="f-Oy"/>
<include flag="f-Gy"/>
<include flag="f-Os"/>
<include flag="f-GF"/>
<include flag="f-Gf"/>
<include flag="f-Ob_n"/>
<include flag="f-Og"/>
<include flag="f-O1"/>
</flag>
<flag name="f-O3" class="optimization" regexp="-O3\b">
<![CDATA[
<p>Enables O2 optimizations plus more aggressive optimizations,
such as prefetching, scalar replacement, and loop and memory
access transformations. Enables optimizations for maximum speed,
such as: <br />
- Loop unrolling, including instruction scheduling<br />
- Code replication to eliminate branches<br />
- Padding the size of certain power-of-two arrays to allow
more efficient cache use.<br />
On IA-32 and Intel EM64T processors, when O3 is used with options
-ax or -x (Linux) or with options /Qax or /Qx (Windows), the compiler
performs more aggressive data dependency analysis than for O2, which
may result in longer compilation times. <br />
The O3 optimizations may not cause higher performance unless loop and
memory access transformations take place. The optimizations may slow
down code in some cases compared to O2 optimizations. <br />
The O3 option is recommended for applications that have loops that heavily
use floating-point calculations and process large data sets. On IA-32
Windows platforms, -O3 sets the following:</p>
<p style="margin-left: 25px">
/GF (/Qvc7 and above), /Gf (/Qvc6 and below), and /Ob2</p>
]]>
<include flag="f-GF"/>
<include flag="f-Gf"/>
<include flag="f-Ob_n"/>
<include flag="f-O2"/>
</flag>
<flag name="f-Qip" class="optimization" regexp="-Qip\b">
This option enables additional interprocedural optimizations for single
file compilation. These optimizations are a subset of full intra-file
interprocedural optimizations. One of these optimizations enables the
compiler to perform inline function expansion for calls to functions
defined within the current source file.
</flag>
<flag name="f-Qipo" class="optimization" regexp="-Qipo\b">
<![CDATA[
<p>Multi-file ip optimizations that includes:<br />
- inline function expansion<br />
- interprocedural constant propogation<br />
- dead code elimination<br />
- propagation of function characteristics<br />
- passing arguments in registers<br />
- loop-invariant code motion</p>
]]>
</flag>
<flag name="f-fast" class="optimization" regexp="-fast\b">
<![CDATA[
<p>The -fast option enhances execution speed across the entire program
by including the following options that can improve run-time performance:</p>
<p style="text-indent: -45px;margin-left: 45px">
-O3&nbsp;&nbsp;&nbsp;(maximum speed and high-level optimizations)</p>
<p style="text-indent: -45px;margin-left: 45px">
-Qipo&nbsp;(enables interprocedural optimizations across files)</p>
<p style="text-indent: -45px;margin-left: 45px">
-QxP&nbsp;&nbsp;(generate code specialized for Intel Pentium 4 processor
and compatible Intel processors with Streaming SIMD Extensions 3)</p>
<p style="text-indent: -45px;margin-left: 45px">
-Qprec-div-&nbsp;(disable -Qprec-div)
where -Qprec-div improves precision of FP divides (some speed impact)</p>
<p>To override one of the options set by /fast, specify that option after the
-fast option on the command line. The exception is the xP or QxP option
which can't be overridden. The options set by /fast may change from
release to release.</p>
]]>
<include flag="f-O3"/>
<include flag="f-Qipo"/>
<include flag="f-QxP"/>
<include flag="f-Qprec-div-"/>
</flag>
<flag name="f-QxP" class="optimization" regexp="-QxP\b">
<![CDATA[
<p>Code is optimized for Intel Core Duo processors, Intel Core Solo
processors, Intel Pentium 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 supported
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.</p>
<p> Do not use this option if you are executing a program on a processor that
is not an Intel processor. If you use this option on a non-compatible processor
to compile the main program (in Fortran) or the function main() in C/C++, the
program will display a fatal run-time error if they are executed on unsupported
processors. </p>
]]>
</flag>
<flag name="f-archSSE2" class="optimization" regexp="-arch\:SSE2\b">
<![CDATA[
<p> Optimizes for Intel Pentium 4 and compatible processors with Streaming SIMD Extensions 2 (SSE2).
]]>
</flag>
<flag name="f-Qprec-div-" class="optimization" regexp="-Qprec-div-">
(disable/enable[default] -Qprec-div[-])
<![CDATA[
<p>-Qprec-dev improves precision of floating-point divides. It has a slight
impact on speed. -Qprec-dev- disables this option and enables
optimizations that give slightly less precise results than full IEEE
division.</p>
<p>When you specify -Qprec-dev- along with some optimizations, such as
-xN and -xB (Linux) or /QxN and /QxB (Windows),
the compiler may change floating-point division computations into multiplication
by the reciprocal of the denominator.
For example, A/B is computed as A * (1/B) to improve the speed of the
computation.</p>
<p>However, sometimes the value produced by this transformation is
not as accurate as full IEEE division. When it is important to have fully
precise IEEE division, do not use -Qprec-dev- which will enable the
default -Qprec-dev and the result is more accurate, with some
loss of performance.</p>
]]>
</flag>
<flag name="prof_gen" class="optimization" regexp="-Qprof_gen\b">
<![CDATA[
<p>Instrument program for profiling for the first phase of
two-phase profile guided otimization. This instrumentation gathers information
about a program's execution paths and data values but does not gather
information from hardware performance counters. The profile instrumentation
also gathers data for optimizations which are unique to profile-feedback
optimization.</p>
]]>
</flag>
<flag name="prof_use" class="optimization" regexp="-Qprof_use\b">
<![CDATA[
<p>Instructs the compiler to produce a profile-optimized
executable and merges available dynamic information (.dyn)
files into a pgopti.dpi file. If you perform multiple
executions of the instrumented program, -Qprof_use merges
the dynamic information files again and overwrites the
previous pgopti.dpi file.<br />
Without any other options, the current directory is
searched for .dyn files</p>
]]>
</flag>
<flag name="f-Qcxx_features" class="optimization" regexp="-Qcxx_features\b">
<![CDATA[
<p>Enable C++ Exception Handling and RTTI<br />
This option has the same effect as specifying /GX /GR.</p>
]]>
<include flag="f-GX"/>
<include flag="f-GR"/>
</flag>
<flag name="f-GX" class="optimization" regexp="-GX\b">
This option enables C++ exception handling.
</flag>
<flag name="f-GR" class="optimization" regexp="-GR\b">
Enables C++ Run Time Type Information (RTTI).
</flag>
<flag name="link_force_multiple1" class="optimization" regexp="\b\-Fe\$\@\-link\b">
<![CDATA[
<p>Enable SmartHeap library usage by forcing the linker to
ignore multiple definitions</p>
]]>
</flag>
<flag name="link_force_multiple2" class="optimization" regexp=".*FORCE.*MULTIPLE\b">
<![CDATA[
<p>Enable SmartHeap library usage by forcing the linker to
ignore multiple definitions</p>
]]>
</flag>
<flag name="SmartHeap" class="optimization" regexp="shlw32m.lib\b">
<![CDATA[
<p>MicroQuill SmartHeap Library 8.0 available from http://www.microquill.com/</p>
]]>
</flag>
<flag name="set_stack_space" class="optimization" regexp="(?:/\S+/)?/F\d*">
set the stack reserve amount specified to the linker
</flag>
<flag name="f-Qunroll_n" class="optimization" regexp="-Qunroll\d+\b">
Tells the compiler the maximum number of times to unroll loops.
</flag>
<flag name="f-Oi-" class="optimization" regexp="-Oi-">
Disables inline expansion of all intrinsic functions.
</flag>
<flag name="f-Op-" class="optimization" regexp="-Op-\b">
<![CDATA[
<p>Disables conformance to the ANSI C and IEEE 754 standards for
floating-point arithmetic.</p>
]]>
</flag>
<flag name="f-Oy" class="optimization" regexp="-Oy\b">
Allows use of EBP as a general-purpose register in optimizations.
</flag>
<flag name="f-Os" class="optimization" regexp="-Os\b">
<![CDATA[
<p>This option enables most speed optimizations, but disables some
that increase code size for a small speed benefit.</p>
]]>
</flag>
<flag name="f-Og" class="optimization" regexp="-Og\b">
This option enables global optimizations.
</flag>
<flag name="f-Ob_n" class="optimization" regexp="-Ob(0|1|2)\b">
<![CDATA[
<p>Specifies the level of inline function expansion.</p>
<p style="text-indent: -45px;margin-left: 45px">
Ob0 - Disables inlining of user-defined functions. Note that
statement functions are always inlined.</p>
<p style="text-indent: -45px;margin-left: 45px">
Ob1 - Enables inlining when an inline keyword or an inline
attribute is specified. Also enables inlining according
to the C++ language.</p>
<p style="text-indent: -45px;margin-left: 45px">
Ob2 - Enables inlining of any function at the compiler's
discretion. </p>
]]>
</flag>
<flag name="f-Gy" class="optimization" regexp="-Gy\b">
<![CDATA[
<p>This option tells the compiler to separate functions into COMDATs
for the linker.</p>
]]>
</flag>
<flag name="f-GF" class="optimization" regexp="-GF\b">
This option enables read only string-pooling optimization.
</flag>
<flag name="f-Gf" class="optimization" regexp="-Gf\b">
This option enables read/write string-pooling optimization.
</flag>
<flag name="f-Gs" class="optimization" regexp="-Gs\b">
<![CDATA[
<p>This option disables stack-checking for routines with 4096 bytes
of local variables and compiler temporaries.</p>
]]>
</flag>
</flagsdescription>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhangdaolong/speccpu2006-config-flags.git
[email protected]:zhangdaolong/speccpu2006-config-flags.git
zhangdaolong
speccpu2006-config-flags
speccpu2006-config-flags
master

搜索帮助