XiangShan
XiangShan copied to clipboard
Question about virtual address forwarding failure mentioned in LDQ
文档中有提到说在很罕见的情况下会发现在数据前递时虚地址和实地址会匹配到不同的项,此时认为存在前递失败,因此需要进行重定向。 但是到底是怎样的一种罕见情况下会出现这种前递失败呢,文档里好像没有说明?当虚实地址的映射关系改变的时候难道不会清空store buffer/store Queue吗?能否具体说明一下?
[TRANSLATION] The documentation mentions that in rare cases, the virtual address and the real address match different items during data forwarding, in which case a forwarding failure is considered and a redirect is required.
But what is the rare case in which this lookahead fails, and it doesn't seem to be documented? Doesn't it clear the store buffer/store Queue when the mapping between real and virtual addresses changes? Can you explain it in detail?