TI中文支持网
TI专业的中文技术问题搜集分享网站

取指包中的分支跳转指令的影响,如何理解?

在sprugh7文档中有这样的描述:

If a branch into the middle of an execute packet occurs, all instructions at lower addresses are ignored. In Example 3-3, if a branch to the address containing instruction D occurs, then only D and E execute. Even though instruction C is in the same execute packet, it is ignored. Instructions A and B are also ignored because they are in earlier execute packets. If your result depends on executing A, B, or C, the branch to the middle of the execute packet will produce an erroneous result.

为什么同一个执行包中在分支语句的低地址部分被忽略,而不是高地址部分?

在同一个取指包中,含分支执行包之前的执行包(即低地址执行包)不应被忽略吧?

chenpjh:

回复 James Li2:

原文没有仔细看,现在明白了。谢谢

赞(0)
未经允许不得转载:TI中文支持网 » 取指包中的分支跳转指令的影响,如何理解?
分享到: 更多 (0)