mdk的命令讲解(持续更新)

一、--autoinline, --no_autoinline

These options enable and disable automatic inlining of functions.

The compiler automatically inlines functions at the higher 
optimization levels where it is sensible to do so. The -Ospace 
and -Otime options, together with some other factors such as 
function size, influence how the compiler automatically inlines functions.

Selecting -Otime, in combination with various other factors, 
increases the likelihood that functions are inlined.

In general, when automatic inlining is enabled, the compiler inlines 
any function that is sensible to inline. When automatic inlining is 

disabled, only functions marked as __inline are candidates for inlining.

(如果设置为--no_autoinline,则只有当用户指定__inline关键字,才把

它当做inline函数处理)


Use these options to control the automatic inlining of functions at the 
highest optimization levels (-O2 and -O3).

For optimization levels -O0 and -O1, the default is --no_autoinline.
(如果优化级别是O0和O1,则默认是no_autoinline)

For optimization levels -O2 and -O3, the default is --autoinline.

(如果优化级别是O2和O3,则默认是autoinline)

  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值