gpt4 book ai didi

multithreading - 什么是FIFO存储缓冲区中的本地旁路?

转载 作者:行者123 更新时间:2023-12-03 13:23:29 25 4
gpt4 key购买 nike

我正在阅读A Primer on Memory Consistency and Cache Coherence书,发现了这个(pp19):

Load-store and store-load reordering. Out-of-order cores may also reorder loads and stores (to different addresses) from the same thread. [...] Note that store-load reorderings may also arise due to local bypassing in the commonly implemented FIFO write buffer, even with a core that executes all instructions in program order.



“写缓冲区中的本地旁路”是什么意思?写缓冲区是存储缓冲区的另一个名称吗?

谢谢

最佳答案

写缓冲区中的本地旁路可能意味着store-to-load forwarding:

Store-to-Load Forwarding

When a load depends on a recent earlier store, the data that should be loaded is not yet in the cache, and needs to be forwarded from the store, through the store queue. This can be done by searching the store queue (like a CAM) for a store whose address matches the load, then retrieving the data from the store queue rather than L1 cache if there is a match.

关于multithreading - 什么是FIFO存储缓冲区中的本地旁路?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62025489/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com