This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TMS570LC4357:如何在不执行指令的情况下将指令分配到缓存中?

Guru**** 2479285 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/988409/tms570lc4357-how-allocate-instructions-into-the-cache-without-executing-them

器件型号:TMS570LC4357

早上好!

如果可高速缓冲区的大小限制为指令高速缓存的大小(即32KB)、则在将所有指令分配给指令高速缓存后、不应发生高速缓存缺失。 遗憾的是、内核不提供触摸指令、这意味着所有可缓存指令都必须在软件初始化期间执行才能分配到缓存中。

您是否知道在不执行可高速缓存指令的情况下将可高速缓存指令分配到高速缓存中的方法?

谢谢你

Mathieu

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Mathieu、

    指令高速缓存由预取单元(PFU)访问。 该指令仅由 PFU 和高速缓存控制器加载和逐出。 我认为我们不能在不执行指令的情况下将指令加载到缓存中。