CN105320519A - 使用长历史记录的条件分支预测 - Google Patents
使用长历史记录的条件分支预测 Download PDFInfo
- Publication number
- CN105320519A CN105320519A CN201510437379.7A CN201510437379A CN105320519A CN 105320519 A CN105320519 A CN 105320519A CN 201510437379 A CN201510437379 A CN 201510437379A CN 105320519 A CN105320519 A CN 105320519A
- Authority
- CN
- China
- Prior art keywords
- information
- conditional
- conditional branch
- outcome
- index
- 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
- 238000000034 method Methods 0.000 claims abstract description 55
- 229920006395 saturated elastomer Polymers 0.000 claims description 24
- 230000006870 function Effects 0.000 description 24
- 238000003860 storage Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 10
- 230000008859 change Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 230000003044 adaptive effect Effects 0.000 description 6
- 230000008901 benefit Effects 0.000 description 4
- 238000004590 computer program Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 239000000284 extract Substances 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000004615 ingredient Substances 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000003292 diminished effect Effects 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 229910052710 silicon Inorganic materials 0.000 description 1
- 239000010703 silicon Substances 0.000 description 1
- 210000003813 thumb Anatomy 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/38—Concurrent instruction execution, e.g. pipeline or look ahead
- G06F9/3836—Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution
- G06F9/3842—Speculative instruction execution
- G06F9/3844—Speculative instruction execution using dynamic branch prediction, e.g. using branch history tables
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/38—Concurrent instruction execution, e.g. pipeline or look ahead
- G06F9/3836—Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution
- G06F9/3842—Speculative instruction execution
- G06F9/3848—Speculative instruction execution using hybrid branch prediction, e.g. selection between prediction techniques
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Advance Control (AREA)
Abstract
Description
Claims (20)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
GB1413264.1 | 2014-07-25 | ||
GB1413264.1A GB2528676B (en) | 2014-07-25 | 2014-07-25 | Conditional Branch Prediction Using A Long History |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105320519A true CN105320519A (zh) | 2016-02-10 |
CN105320519B CN105320519B (zh) | 2020-08-25 |
Family
ID=51587281
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510437379.7A Active CN105320519B (zh) | 2014-07-25 | 2015-07-23 | 使用长历史记录的条件分支预测 |
CN201520538764.6U Active CN205176828U (zh) | 2014-07-25 | 2015-07-23 | 条件分支预测器逻辑单元 |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201520538764.6U Active CN205176828U (zh) | 2014-07-25 | 2015-07-23 | 条件分支预测器逻辑单元 |
Country Status (4)
Country | Link |
---|---|
US (1) | US10318304B2 (zh) |
CN (2) | CN105320519B (zh) |
DE (1) | DE102015111363A1 (zh) |
GB (2) | GB2534522B (zh) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528049A (zh) * | 2016-11-17 | 2017-03-22 | 上海兆芯集成电路有限公司 | 在多存储体条件分支预测器中用于更新事件的随机数产生 |
WO2019183877A1 (zh) * | 2018-03-29 | 2019-10-03 | 深圳市大疆创新科技有限公司 | 分支预测的方法与装置 |
CN111209047A (zh) * | 2020-02-24 | 2020-05-29 | 江苏华创微系统有限公司 | 支持混合模式的分支历史计数器 |
CN113544640A (zh) * | 2019-03-30 | 2021-10-22 | 华为技术有限公司 | 分支指令的处理方法、分支预测器及处理器 |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9983878B2 (en) | 2014-05-15 | 2018-05-29 | International Business Machines Corporation | Branch prediction using multiple versions of history data |
US20170083333A1 (en) * | 2015-09-21 | 2017-03-23 | Qualcomm Incorporated | Branch target instruction cache (btic) to store a conditional branch instruction |
US10175982B1 (en) * | 2016-06-16 | 2019-01-08 | Apple Inc. | Storing taken branch information |
US10896130B2 (en) * | 2016-10-19 | 2021-01-19 | International Business Machines Corporation | Response times in asynchronous I/O-based software using thread pairing and co-execution |
US10318303B2 (en) | 2017-03-28 | 2019-06-11 | Oracle International Corporation | Method and apparatus for augmentation and disambiguation of branch history in pipelined branch predictors |
US10261797B2 (en) | 2017-04-27 | 2019-04-16 | International Business Machines Corporation | Indirect target tagged geometric branch prediction using a set of target address pattern data |
US20190004805A1 (en) * | 2017-06-28 | 2019-01-03 | Qualcomm Incorporated | Multi-tagged branch prediction table |
US10732979B2 (en) * | 2018-06-18 | 2020-08-04 | Advanced Micro Devices, Inc. | Selectively performing ahead branch prediction based on types of branch instructions |
GB2577050B (en) * | 2018-09-11 | 2021-06-16 | Advanced Risc Mach Ltd | Allocation filter for prediction storage structure |
US10956164B2 (en) | 2018-11-27 | 2021-03-23 | International Business Machines Corporation | Gating updates to branch predictors to reduce pollution from infrequently executed branches |
US11379240B2 (en) | 2020-01-31 | 2022-07-05 | Apple Inc. | Indirect branch predictor based on register operands |
US11294684B2 (en) | 2020-01-31 | 2022-04-05 | Apple Inc. | Indirect branch predictor for dynamic indirect branches |
US11809874B2 (en) | 2022-02-01 | 2023-11-07 | Apple Inc. | Conditional instructions distribution and execution on pipelines having different latencies for mispredictions |
US12067399B2 (en) * | 2022-02-01 | 2024-08-20 | Apple Inc. | Conditional instructions prediction |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090210686A1 (en) * | 2008-02-15 | 2009-08-20 | International Business Machines Corporation | Method and system for purging pattern history tables as a function of global accuracy in a state machine-based filtered gshare branch predictor |
CN101763248A (zh) * | 2008-12-25 | 2010-06-30 | 世意法(北京)半导体研发有限责任公司 | 用于多模式分支预测器的系统和方法 |
US20120124349A1 (en) * | 2010-11-16 | 2012-05-17 | Advanced Micro Devices, Inc. | Power efficient pattern history table fetch in branch predictor |
CN102483696A (zh) * | 2009-08-19 | 2012-05-30 | 高通股份有限公司 | 用以预测有条件非分支指令的不执行的方法和设备 |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5574871A (en) * | 1994-01-04 | 1996-11-12 | Intel Corporation | Method and apparatus for implementing a set-associative branch target buffer |
US6108775A (en) * | 1996-12-30 | 2000-08-22 | Texas Instruments Incorporated | Dynamically loadable pattern history tables in a multi-task microprocessor |
US7831817B2 (en) * | 2003-04-15 | 2010-11-09 | Arm Limited | Two-level branch prediction apparatus |
US20050223203A1 (en) * | 2004-03-30 | 2005-10-06 | Gabriel Loh | Segmented branch predictor |
US20050228977A1 (en) * | 2004-04-09 | 2005-10-13 | Sun Microsystems,Inc. | Branch prediction mechanism using multiple hash functions |
JP2006053830A (ja) * | 2004-08-13 | 2006-02-23 | Toshiba Corp | 分岐予測装置および分岐予測方法 |
US8205068B2 (en) * | 2008-07-29 | 2012-06-19 | Freescale Semiconductor, Inc. | Branch target buffer allocation |
US8181005B2 (en) * | 2008-09-05 | 2012-05-15 | Advanced Micro Devices, Inc. | Hybrid branch prediction device with sparse and dense prediction caches |
US20110078425A1 (en) * | 2009-09-25 | 2011-03-31 | Shah Manish K | Branch prediction mechanism for predicting indirect branch targets |
US8788797B2 (en) * | 2010-12-22 | 2014-07-22 | Advanced Micro Devices, Inc. | Combined level 1 and level 2 branch predictor |
TR201809355T4 (tr) * | 2011-08-24 | 2018-07-23 | Grifols Therapeutics Llc | Nüklei̇k asi̇t hi̇bri̇di̇zasyonuna yöneli̇k bi̇leşi̇mler ve yöntemler |
US10209992B2 (en) * | 2014-04-25 | 2019-02-19 | Avago Technologies International Sales Pte. Limited | System and method for branch prediction using two branch history tables and presetting a global branch history register |
-
2014
- 2014-07-25 GB GB1607643.2A patent/GB2534522B/en not_active Expired - Fee Related
- 2014-07-25 GB GB1413264.1A patent/GB2528676B/en not_active Expired - Fee Related
-
2015
- 2015-07-14 DE DE102015111363.5A patent/DE102015111363A1/de active Pending
- 2015-07-23 CN CN201510437379.7A patent/CN105320519B/zh active Active
- 2015-07-23 CN CN201520538764.6U patent/CN205176828U/zh active Active
- 2015-07-25 US US14/809,187 patent/US10318304B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090210686A1 (en) * | 2008-02-15 | 2009-08-20 | International Business Machines Corporation | Method and system for purging pattern history tables as a function of global accuracy in a state machine-based filtered gshare branch predictor |
CN101763248A (zh) * | 2008-12-25 | 2010-06-30 | 世意法(北京)半导体研发有限责任公司 | 用于多模式分支预测器的系统和方法 |
CN102483696A (zh) * | 2009-08-19 | 2012-05-30 | 高通股份有限公司 | 用以预测有条件非分支指令的不执行的方法和设备 |
US20120124349A1 (en) * | 2010-11-16 | 2012-05-17 | Advanced Micro Devices, Inc. | Power efficient pattern history table fetch in branch predictor |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528049A (zh) * | 2016-11-17 | 2017-03-22 | 上海兆芯集成电路有限公司 | 在多存储体条件分支预测器中用于更新事件的随机数产生 |
CN106528049B (zh) * | 2016-11-17 | 2019-06-11 | 上海兆芯集成电路有限公司 | 在多存储体条件分支预测器中用于更新事件的随机数产生 |
WO2019183877A1 (zh) * | 2018-03-29 | 2019-10-03 | 深圳市大疆创新科技有限公司 | 分支预测的方法与装置 |
CN110462587A (zh) * | 2018-03-29 | 2019-11-15 | 深圳市大疆创新科技有限公司 | 分支预测的方法与装置 |
CN113544640A (zh) * | 2019-03-30 | 2021-10-22 | 华为技术有限公司 | 分支指令的处理方法、分支预测器及处理器 |
CN111209047A (zh) * | 2020-02-24 | 2020-05-29 | 江苏华创微系统有限公司 | 支持混合模式的分支历史计数器 |
CN111209047B (zh) * | 2020-02-24 | 2023-08-15 | 江苏华创微系统有限公司 | 支持混合模式的分支历史计数器 |
Also Published As
Publication number | Publication date |
---|---|
DE102015111363A1 (de) | 2016-01-28 |
CN105320519B (zh) | 2020-08-25 |
GB2534522B (en) | 2016-12-28 |
GB2528676B (en) | 2016-10-26 |
US20160026470A1 (en) | 2016-01-28 |
US10318304B2 (en) | 2019-06-11 |
GB2534522A (en) | 2016-07-27 |
GB201607643D0 (en) | 2016-06-15 |
GB201413264D0 (en) | 2014-09-10 |
GB2528676A (en) | 2016-02-03 |
CN205176828U (zh) | 2016-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN205176828U (zh) | 条件分支预测器逻辑单元 | |
US10261798B2 (en) | Indirect branch prediction | |
CN106528049B (zh) | 在多存储体条件分支预测器中用于更新事件的随机数产生 | |
CN103250131B (zh) | 包括用于早期远分支预测的影子缓存的单周期多分支预测 | |
CN104820580A (zh) | 改进的返回堆栈缓存 | |
CN103927149A (zh) | 间接分支预测 | |
US10607137B2 (en) | Branch predictor selection management | |
CN109643237A (zh) | 分支目标缓冲器压缩 | |
CN106681695A (zh) | 提前取出分支目标缓冲器 | |
US10423420B2 (en) | Stream based branch prediction index accelerator for multiple stream exits | |
CN105183429A (zh) | 解码被一个或多个其它指令修改的指令 | |
US20140297996A1 (en) | Multiple hash table indexing | |
CN106557304A (zh) | 用于预测子程序返回指令的目标的取指单元 | |
US10838731B2 (en) | Branch prediction based on load-path history | |
JP2019526872A (ja) | 分岐予測のために分岐履歴を判別する方法及びデバイス | |
US10430195B2 (en) | Stream based branch prediction index accelerator with power prediction | |
US20190004805A1 (en) | Multi-tagged branch prediction table | |
JP2023013082A (ja) | 学習データの選択方法及び計算機システム | |
US10642621B2 (en) | System, apparatus and method for controlling allocations into a branch prediction circuit of a processor | |
US20150332170A1 (en) | Electronic system with low confidence prediction and method of operation thereof | |
US20230195467A1 (en) | Control flow prediction | |
EP3291082B1 (en) | Method and device for determining branch history for branch prediction | |
US20190073223A1 (en) | Hybrid fast path filter branch predictor | |
CN116468072A (zh) | 一种深度学习模型部署方法、装置和设备 | |
CN110837937A (zh) | 预测方法、装置、计算设备以及介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Hertfordshire Applicant after: Mex Technology Co.,Ltd. Address before: Hertfordshire Applicant before: Hai Luo Software Co.,Ltd. |
|
TA01 | Transfer of patent application right |
Effective date of registration: 20180713 Address after: California, USA Applicant after: Imagination Technologies Ltd. Address before: Hertfordshire Applicant before: Mex Technology Co.,Ltd. Effective date of registration: 20180713 Address after: Hertfordshire Applicant after: Hai Luo Software Co.,Ltd. Address before: Hertfordshire Applicant before: Imagination Technologies Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |