全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Tag, index and offset fields?

又称: offset field · index field · tag field

Definition 12.4 University Computer Science — Year 2 · 第 12 章 — Caches and the Memory Hierarchy

In a cache of SS sets of lines of BB bytes, with SS and BB powers of two, an address is cut into three fields: the offset field, its low log⁡2B\log_2 B bits, which select a byte in the line; the index field, the next log⁡2S\log_2 S bits, which select the set; and the tag field, the remaining high bits, stored beside the line to tell which of the many lines that share the set is there.

在原文中阅读 →