是否有任何此类处理器具有绕过缓存的指令? [英] Are there any such processors which have instructions to bypass the cache?

查看:98
本文介绍了是否有任何此类处理器具有绕过缓存的指令?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何这样的处理器,它们有指令绕过特定数据的缓存? 这个问题也有一个答案,表明SSE4.2指令确实绕过了缓存.有人可以启发我吗?

Are there any such processors which have instructions to bypass the cache for a specific data? This question also has an answer which suggests that SSE4.2 instructions do bypass the cache. Can somebody enlighten me on that?

推荐答案

通常,缓存策略由内存管理单元(MMU)控制.对于每个地址范围,都会确定一个缓存策略.这些表由OS管理,并且在系统空间中可用. 作为对您可能要问的问题的补充说明,对于具有高速缓存的体系结构,通常有CPU命令可用于同步/无效/刷新高速缓存.但是,与MMU表一样,这些命令也仅在系统空间中可用.

In general, the caching policy is controlled by the Memory Management Unit (MMU). For each address range, a caching policy is decided upon. These tables are managed by the OS and are available in system space. As a sidebar answer to a question that you may have intended to ask, for architectures that have a cache, there are usually CPU commands available for synchronizing/invalidating/flushing the cache. However, much as the MMU tables, these commands are also available only in system space.

这篇关于是否有任何此类处理器具有绕过缓存的指令?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆