参数资料
型号: SW006015
厂商: Microchip Technology
文件页数: 35/120页
文件大小: 0K
描述: C COMPILER MPLAB C32
标准包装: 1
类型: 编译器
适用于相关产品: PIC32
产品目录页面: 659 (CN2011-ZH PDF)
Language Specifics
Options of the form -f flag specify machine-independent flags. Most flags have both
positive and negative forms. The negative form of -ffoo would be -fno-foo . In the
table below, only one of the forms is listed (the one that is not the default.)
TABLE 1-10:
MACHINE-INDEPENDENT OPTIMIZATION OPTIONS
Option
-fforce-mem
-finline-functions
-finline-limit= n
-fkeep-inline-functions
-fkeep-static-consts
-fno-function-cse
? 2007 Microchip Technology Inc.
Definition
Force memory operands to be copied into registers
before doing arithmetic on them. This produces better
code by making all memory references potential common
subexpressions. When they are not common
subexpressions, instruction combination should eliminate
the separate register-load. The -O2 option turns on this
option.
Integrate all simple functions into their callers. The
compiler heuristically decides which functions are simple
enough to be worth integrating in this way. If all calls to a
given function are integrated, and the function is declared
static , then the function is normally not output as
assembler code in its own right.
By default, MPLAB C32 C compiler limits the size of
functions that can be inlined. This flag allows the control
of this limit for functions that are explicitly marked as
inline (i.e., marked with the inline keyword). n is the
size of functions that can be inlined in number of pseudo
instructions (not counting parameter handling). The
default value of n is 10000. Increasing this value can
result in more inlined code at the cost of compilation time
and memory consumption.
Decreasing usually makes the compilation faster and less
code is inlined (which presumably means slower
programs). This option is particularly useful for programs
that use inlining.
Note: Pseudo instruction represents, in this particular
context, an abstract measurement of function's size. In no
way does it represent a count of assembly instructions
and as such, its exact meaning might change from one
release of the compiler to an another.
Even if all calls to a given function are integrated, and the
function is declared static , output a separate runtime
callable version of the function. This switch does not
affect extern inline functions.
Emit variables declared static const when optimization
isn't turned on, even if the variables are not referenced.
MPLAB C32 C compiler enables this option by default. If
you want to force the compiler to check if the variable was
referenced, regardless of whether or not optimization is
turned on, use the -fno-keep-static-consts option.
Do not put function addresses in registers. Make each
instruction that calls a constant function contain the
function's address explicitly.
This option results in less efficient code, but some
strange hacks that alter the assembler output may be
confused by the optimizations performed when this option
is not used.
DS51686A-page 31
相关PDF资料
PDF描述
SW300003-EVAL LIBRARY SOFT MODEM-EVAL ONLY
SW300010-EVAL SPEECH RECOG LIBRARY-EVAL ONLY
SW300040-EVAL LIBRARY NOISE SUPPR-EVAL ONLY
SW300060-EVAL LIBRARY ACOUSTIC ECHO-EVAL ONLY
SW300070-EVAL SOFTWARE LIBR ENC/DEC EVAL ONLY
相关代理商/技术参数
参数描述
SW006021-1 制造商:Microchip Technology 功能描述:MPLAB XC8 STANDARD COMPILER 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 STD 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 STANDARD 制造商:Microchip Technology Inc 功能描述:COMPILER, MPLAB XC8, STANDARD 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 ANSI C Compiler for the PIC10 (12),(16),(18) (Workstation License) 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 Standard Compiler 制造商:Microchip Technology Inc 功能描述:OPTOCOUPLERS; Core Architecture:PIC; Software Edition:Standard
SW006021-1N 制造商:Microchip Technology 功能描述:MPLAB XC8 STANDARD COMPILER (F 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 STANDARD COMPILER (FLOATING LICENSE) - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 STD FLOAT LIC 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 Standard Compiler (Fltng Lic)
SW006021-2 制造商:Microchip Technology 功能描述:MPLAB XC8 PRO COMPILER WORKSTATION LICENSE 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 PRO COMPILER - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 PRO 制造商:Microchip Technology Inc 功能描述:COMPILER, MPLAB XC8, PRO 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 ANSI PRO Compiler for the PIC10 (12),(16),(18) (Workstation License) 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 PRO Compiler 制造商:Microchip Technology Inc 功能描述:SOFTWARE TOOL, MPLAB XC8 PRO COMPILER; Core Architecture:PIC; Supported Families:PIC10, PIC16, PIC18; Software Edition:Linux; License Type:Floating - node; No. of User Licenses:1; Supported Hosts:-
SW006021-2C 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 PRO CHI
SW006021-2N 功能描述:开发软件 MPLAB XC8 PRO Compiler (Fltng Lic) RoHS:否 制造商:Atollic Inc. 产品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors