U-boot-1.1.6-2008R1到vdsp5(bf561)的移植记录(4):提示信息

本文介绍了解决Blackfin编译器STALL警告的方法。STALL警告源于指令间的数据依赖导致额外周期的停顿,文章提供了具体的代码示例并解释如何通过调整编译选项来消除这些警告。
 
  
在编译start.s时,有这样的提示信息:
[Informational ea1056] "../../cpu/blackfin/start.S":165 Preg read after write which requires 4 extra cycles
查ea1056的解释:
ea1056
 
[Information ea1056] "<filename>"<line> <message>
 
Description:
 
This message constitutes advice from the assembler that the instruction indicated by <line> will stall the indicated number of cycles. <message> will describe the cause and duration of the stall.
 
Severity:
 
Information
 
Example:
 
Given the following sequence in file exception.asm, lines 131 and 132:
 
RETI = R0;
RTI;
 
When the default level of stall checking is active, the Blackfin assembler will produce:
 
[Informational ea1056] "./exception.asm":132 Sysreg read
after write which requires 4 extra cycle
 
How to fix:
 
No action is necessary, the message simply identifies code that will require extra cycles.
 
All stall messages may be suppressed in the Blackfin assembler by using the command-line switch:
-stallcheck=none
既然是No action is necessary,那就好办了,直接在project options->assemble->additional中加上-stallcheck=none
免得干扰!
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

嵌云阁主

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值