JP2014085890A - メモリ装置、演算処理装置、及びキャッシュメモリ制御方法 - Google Patents
メモリ装置、演算処理装置、及びキャッシュメモリ制御方法 Download PDFInfo
- Publication number
- JP2014085890A JP2014085890A JP2012235109A JP2012235109A JP2014085890A JP 2014085890 A JP2014085890 A JP 2014085890A JP 2012235109 A JP2012235109 A JP 2012235109A JP 2012235109 A JP2012235109 A JP 2012235109A JP 2014085890 A JP2014085890 A JP 2014085890A
- Authority
- JP
- Japan
- Prior art keywords
- ways
- way
- access
- cache
- hit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/0802—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F12/0893—Caches characterised by their organisation or structure
- G06F12/0895—Caches characterised by their organisation or structure of parts of caches, e.g. directory or tag array
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
- G06F1/3275—Power saving in memory, e.g. RAM, cache
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/0802—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F12/0864—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches using pseudo-associative means, e.g. set-associative or hashing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/10—Providing a specific technical effect
- G06F2212/1028—Power efficiency
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/50—Control mechanisms for virtual memory, cache or TLB
- G06F2212/502—Control mechanisms for virtual memory, cache or TLB using adaptive policy
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/60—Details of cache memory
- G06F2212/601—Reconfiguration of cache memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/60—Details of cache memory
- G06F2212/608—Details relating to cache mapping
- G06F2212/6082—Way prediction in set-associative cache
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Abstract
【解決手段】メモリ装置は、複数のウェイと、複数のウェイへのアクセス履歴を保持するレジスタと、アクセスリクエストとアクセス履歴とに応じて複数のウェイのうちの1つ又は複数のウェイを選択し、選択したウェイを動作させ且つ選択したウェイ以外のウェイを非動作とするウェイ制御部とを含み、ウェイ制御部は、選択するウェイの数をアクセスリクエストに応じて動的に変化させることを特徴とする。
【選択図】図2
Description
11 命令制御部
12 命令キャッシュ
13 データキャッシュ
14 2次キャッシュ
15 主記憶装置
21 ポート
22 セレクタ
23 TLB部
24 タグ部
25 一致判定部
26 ウェイ予測部
27 予測ヒット判定部
28 パワーセーブ部
29 アボート通知部
30−1乃至30−4 キャッシュRAM
31 セレクタ
32 命令バッファ
Claims (6)
- 複数のウェイと、
前記複数のウェイへのアクセス履歴を保持するレジスタと、
アクセスリクエストと前記アクセス履歴とに応じて前記複数のウェイのうちの1つ又は複数のウェイを選択し、前記選択したウェイを動作させ且つ前記選択したウェイ以外のウェイを非動作とするウェイ制御部と
を含み、前記ウェイ制御部は、前記選択するウェイの数を前記アクセスリクエストに応じて動的に変化させることを特徴とするメモリ装置。 - 前記アクセスリクエストに応じて前記複数のウェイのうちでアクセス先に一致するヒットウェイを特定する一致判定部と、
前記アクセス履歴と前記ヒットウェイとに応じて前記選択するウェイの数を決定するモード決定部と
を更に含むことを特徴とする請求項1記載のメモリ装置。 - 前記アクセス履歴は、各ウェイが最後にアクセスされた時刻の順に前記複数のウェイを並べた場合の並び順を示す並び順情報を含み、
前記モード決定部は、前記ヒットウェイが前記並び順において時刻の新しい方から何個目のウェイであるかを特定し、前記特定された個数を前記選択するウェイの数とする
ことを特徴とする請求項2記載のメモリ装置。 - 前記1つ又は複数のウェイを選択する動作は、前記ヒットウェイを特定する動作よりも前に実行されることを特徴とする請求項2又は3記載のメモリ装置。
- 命令制御部と、
演算器と、
キャッシュメモリと
を含む演算処理装置であって、前記キャッシュメモリは、
複数のウェイと、
前記複数のウェイへのアクセス履歴を保持するレジスタと、
前記命令制御部からのアクセスリクエストと前記アクセス履歴とに応じて前記複数のウェイのうちの1つ又は複数のウェイを選択し、前記選択したウェイを動作させ且つ前記選択したウェイ以外のウェイを非動作とするウェイ制御部と
を含み、前記ウェイ制御部は、前記選択するウェイの数を前記アクセスリクエストに応じて動的に変化させることを特徴とする演算処理装置。 - 複数のウェイへの過去のアクセスの履歴をインデックス毎に示したデータから、アクセス対象インデックスに対応するアクセス履歴を取り出し、
前記アクセス履歴に基づいて前記複数のウェイのうちの1つ又は複数のウェイを選択し、
前記選択した1つ又は複数のウェイを動作状態とし且つ前記選択した1つ又は複数のウェイ以外のウェイを非動作とし、
前記動作状態の1つ又は複数のウェイから1つ又は複数のデータをそれぞれ読み出し、
前記アクセス対象インデックスに応じてタグを参照してヒットウェイを特定し、
前記読み出された1つ又は複数のデータのうち1つのデータを前記特定されたヒットウェイに応じて選択し、
前記選択するウェイの数を前記ヒットウェイに応じて変化させる
各段階を含むことを特徴とするキャッシュメモリ制御方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012235109A JP5954112B2 (ja) | 2012-10-24 | 2012-10-24 | メモリ装置、演算処理装置、及びキャッシュメモリ制御方法 |
US14/018,464 US20140115264A1 (en) | 2012-10-24 | 2013-09-05 | Memory device, processor, and cache memory control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012235109A JP5954112B2 (ja) | 2012-10-24 | 2012-10-24 | メモリ装置、演算処理装置、及びキャッシュメモリ制御方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014085890A true JP2014085890A (ja) | 2014-05-12 |
JP5954112B2 JP5954112B2 (ja) | 2016-07-20 |
Family
ID=50486427
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012235109A Active JP5954112B2 (ja) | 2012-10-24 | 2012-10-24 | メモリ装置、演算処理装置、及びキャッシュメモリ制御方法 |
Country Status (2)
Country | Link |
---|---|
US (1) | US20140115264A1 (ja) |
JP (1) | JP5954112B2 (ja) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016505971A (ja) * | 2012-12-20 | 2016-02-25 | クアルコム,インコーポレイテッド | マルチビットウェイ予測マスクを有する命令キャッシュ |
JP2018190372A (ja) * | 2017-05-09 | 2018-11-29 | 晶心科技股▲ふん▼有限公司Andes Technology Corporation | プロセッサおよびそのウェイ予測方法 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10324850B2 (en) | 2016-11-11 | 2019-06-18 | Microsoft Technology Licensing, Llc | Serial lookup of tag ways |
US10565122B2 (en) * | 2017-05-30 | 2020-02-18 | Microsoft Technology Licensing, Llc | Serial tag lookup with way-prediction |
US10229061B2 (en) | 2017-07-14 | 2019-03-12 | International Business Machines Corporation | Method and arrangement for saving cache power |
US10684951B2 (en) * | 2017-08-04 | 2020-06-16 | International Business Machines Corporation | Minimizing cache latencies using set predictors |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000099399A (ja) * | 1998-09-19 | 2000-04-07 | Apriori Micro Systems:Kk | ウェイ予測型キャッシュメモリとそのアクセス方法 |
US20020112126A1 (en) * | 2001-02-13 | 2002-08-15 | Fujitsu Limited | Cache memory system |
US20020161976A1 (en) * | 2001-04-27 | 2002-10-31 | Masayuki Ito | Data processor |
US20050246499A1 (en) * | 2004-04-30 | 2005-11-03 | Nec Corporation | Cache memory with the number of operated ways being changed according to access pattern |
US20070113013A1 (en) * | 2005-11-15 | 2007-05-17 | Mips Technologies, Inc. | Microprocessor having a power-saving instruction cache way predictor and instruction replacement scheme |
WO2011151944A1 (ja) * | 2010-06-04 | 2011-12-08 | パナソニック株式会社 | キャッシュメモリ装置、プログラム変換装置、キャッシュメモリ制御方法及びプログラム変換方法 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8225046B2 (en) * | 2006-09-29 | 2012-07-17 | Intel Corporation | Method and apparatus for saving power by efficiently disabling ways for a set-associative cache |
JP4980751B2 (ja) * | 2007-03-02 | 2012-07-18 | 富士通セミコンダクター株式会社 | データ処理装置、およびメモリのリードアクティブ制御方法。 |
-
2012
- 2012-10-24 JP JP2012235109A patent/JP5954112B2/ja active Active
-
2013
- 2013-09-05 US US14/018,464 patent/US20140115264A1/en not_active Abandoned
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000099399A (ja) * | 1998-09-19 | 2000-04-07 | Apriori Micro Systems:Kk | ウェイ予測型キャッシュメモリとそのアクセス方法 |
US20020112126A1 (en) * | 2001-02-13 | 2002-08-15 | Fujitsu Limited | Cache memory system |
JP2002236616A (ja) * | 2001-02-13 | 2002-08-23 | Fujitsu Ltd | キャッシュメモリシステム |
US20020161976A1 (en) * | 2001-04-27 | 2002-10-31 | Masayuki Ito | Data processor |
JP2002328839A (ja) * | 2001-04-27 | 2002-11-15 | Hitachi Ltd | データ処理装置及びデータプロセッサ |
US20050246499A1 (en) * | 2004-04-30 | 2005-11-03 | Nec Corporation | Cache memory with the number of operated ways being changed according to access pattern |
JP2005316842A (ja) * | 2004-04-30 | 2005-11-10 | Nec Corp | キャッシュメモリおよびキャッシュ制御方法 |
US20070113013A1 (en) * | 2005-11-15 | 2007-05-17 | Mips Technologies, Inc. | Microprocessor having a power-saving instruction cache way predictor and instruction replacement scheme |
WO2011151944A1 (ja) * | 2010-06-04 | 2011-12-08 | パナソニック株式会社 | キャッシュメモリ装置、プログラム変換装置、キャッシュメモリ制御方法及びプログラム変換方法 |
JP2011257800A (ja) * | 2010-06-04 | 2011-12-22 | Panasonic Corp | キャッシュメモリ装置、プログラム変換装置、キャッシュメモリ制御方法及びプログラム変換方法 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016505971A (ja) * | 2012-12-20 | 2016-02-25 | クアルコム,インコーポレイテッド | マルチビットウェイ予測マスクを有する命令キャッシュ |
JP2018190372A (ja) * | 2017-05-09 | 2018-11-29 | 晶心科技股▲ふん▼有限公司Andes Technology Corporation | プロセッサおよびそのウェイ予測方法 |
US11281586B2 (en) | 2017-05-09 | 2022-03-22 | Andes Technology Corporation | Processor and way prediction method thereof |
Also Published As
Publication number | Publication date |
---|---|
JP5954112B2 (ja) | 2016-07-20 |
US20140115264A1 (en) | 2014-04-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5954112B2 (ja) | メモリ装置、演算処理装置、及びキャッシュメモリ制御方法 | |
US8966232B2 (en) | Data processing system operable in single and multi-thread modes and having multiple caches and method of operation | |
US7594131B2 (en) | Processing apparatus | |
US10146545B2 (en) | Translation address cache for a microprocessor | |
US6427188B1 (en) | Method and system for early tag accesses for lower-level caches in parallel with first-level cache | |
US9396117B2 (en) | Instruction cache power reduction | |
KR20150016278A (ko) | 캐시 및 변환 색인 버퍼를 갖는 데이터 처리장치 | |
US6356990B1 (en) | Set-associative cache memory having a built-in set prediction array | |
US11829763B2 (en) | Early load execution via constant address and stride prediction | |
US7836253B2 (en) | Cache memory having pipeline structure and method for controlling the same | |
CN105446900A (zh) | 处理器和区分系统管理模式条目的方法 | |
US11579879B2 (en) | Processing pipeline with first and second processing modes having different performance or energy consumption characteristics | |
CN103365627A (zh) | 执行单元内的数据转发系统和方法 | |
JP2000231549A (ja) | マイクロプロセッサ | |
US9424190B2 (en) | Data processing system operable in single and multi-thread modes and having multiple caches and method of operation | |
JP2002007210A (ja) | デジタルデータ処理システム、それに使用される集積回路キャッシュメモリ装置およびキャッシュメモリの動作方法 | |
US9009413B2 (en) | Method and apparatus to implement lazy flush in a virtually tagged cache memory | |
KR20160016737A (ko) | 다중 페이지 크기 변환 색인 버퍼(tlb)용 장치 및 방법 | |
US20220066947A1 (en) | Translation Lookaside Buffer Striping for Efficient Invalidation Operations | |
US6898671B2 (en) | Data processor for reducing set-associative cache energy via selective way prediction | |
US10719327B1 (en) | Branch prediction system | |
US11327768B2 (en) | Arithmetic processing apparatus and memory apparatus | |
Bardizbanyan et al. | Speculative tag access for reduced energy dissipation in set-associative L1 data caches | |
WO2006038258A1 (ja) | データプロセッサ | |
US10725928B1 (en) | Translation lookaside buffer invalidation by range |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150706 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160428 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20160517 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160530 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5954112 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |