发 帖  
原厂入驻New
[问答] 请问virtual registers是什么?
2020-8-28 09:52:26  37 Virtual
分享
Hi tiers:
Porting1.2 to1.32,set Number of virtual registers to 16。

virtual registers是什么,为什么要设置为16呢?
0
2020-8-28 09:52:26   评论 分享淘帖
2 个讨论
请参考这个链接:http://e2e.ti.com/support/low_power_rf/f/538/t/237483.aspx
2020-8-28 10:01:08 评论

举报

bctwerwer 发表于 2020-8-28 10:01
请参考这个链接:http://e2e.ti.com/support/low_power_rf/f/538/t/237483.aspx

<EW8051_CompilerReference.pdf>
 
The compiler uses a set of virtual registers—located in data memory—to be used like any other registers. A minimum of 8 virtual registers are required by the compiler, but as many as 32 can be used. A larger set of virtual registers makes it possible for the compiler to allocate more variables into registers. However, a larger set of virtual registers also requires a larger data memory area. In the Large data model you should probably use a larger number of virtual registers, for example 32, to help the compiler generate better code.
2020-8-28 10:18:33 评论

举报

只有小组成员才能发言,加入小组>>

1450个成员聚集在这个小组

加入小组

创建小组步骤

关闭

站长推荐 上一条 /7 下一条

快速回复 返回顶部 返回列表