JP3570855B2 - 分岐予測装置 - Google Patents

分岐予測装置 Download PDF

Info

Publication number
JP3570855B2
JP3570855B2 JP13973697A JP13973697A JP3570855B2 JP 3570855 B2 JP3570855 B2 JP 3570855B2 JP 13973697 A JP13973697 A JP 13973697A JP 13973697 A JP13973697 A JP 13973697A JP 3570855 B2 JP3570855 B2 JP 3570855B2
Authority
JP
Japan
Prior art keywords
branch
instruction
loop
hint
unit
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.)
Expired - Fee Related
Application number
JP13973697A
Other languages
English (en)
Japanese (ja)
Other versions
JPH10333906A5 (enExample
JPH10333906A (ja
Inventor
野々村  洋
純男 菊池
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP13973697A priority Critical patent/JP3570855B2/ja
Priority to US09/087,509 priority patent/US6263428B1/en
Publication of JPH10333906A publication Critical patent/JPH10333906A/ja
Publication of JPH10333906A5 publication Critical patent/JPH10333906A5/ja
Application granted granted Critical
Publication of JP3570855B2 publication Critical patent/JP3570855B2/ja
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; 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/32—Address formation of the next instruction, e.g. by incrementing the instruction counter
    • G06F9/322—Address formation of the next instruction, e.g. by incrementing the instruction counter for non-sequential address
    • G06F9/325—Address formation of the next instruction, e.g. by incrementing the instruction counter for non-sequential address for loops, e.g. loop detection or loop counter
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; 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

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)
JP13973697A 1997-05-29 1997-05-29 分岐予測装置 Expired - Fee Related JP3570855B2 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP13973697A JP3570855B2 (ja) 1997-05-29 1997-05-29 分岐予測装置
US09/087,509 US6263428B1 (en) 1997-05-29 1998-05-29 Branch predictor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13973697A JP3570855B2 (ja) 1997-05-29 1997-05-29 分岐予測装置

Publications (3)

Publication Number Publication Date
JPH10333906A JPH10333906A (ja) 1998-12-18
JPH10333906A5 JPH10333906A5 (enExample) 2001-11-02
JP3570855B2 true JP3570855B2 (ja) 2004-09-29

Family

ID=15252188

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13973697A Expired - Fee Related JP3570855B2 (ja) 1997-05-29 1997-05-29 分岐予測装置

Country Status (2)

Country Link
US (1) US6263428B1 (enExample)
JP (1) JP3570855B2 (enExample)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7836289B2 (en) 2007-08-24 2010-11-16 Panasonic Corporation Branch predictor for setting predicate flag to skip predicated branch instruction execution in last iteration of loop processing

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7301541B2 (en) * 1995-08-16 2007-11-27 Microunity Systems Engineering, Inc. Programmable processor and method with wide operations
DE69942339D1 (de) 1998-08-24 2010-06-17 Microunity Systems Eng System mit breiter operandenarchitektur und verfahren
US7932911B2 (en) * 1998-08-24 2011-04-26 Microunity Systems Engineering, Inc. Processor for executing switch and translate instructions requiring wide operands
JP3683439B2 (ja) 1999-08-24 2005-08-17 富士通株式会社 分岐予測を抑止する情報処理装置および方法
US20030023959A1 (en) * 2001-02-07 2003-01-30 Park Joseph C.H. General and efficient method for transforming predicated execution to static speculation
US20040172524A1 (en) * 2001-06-29 2004-09-02 Jan Hoogerbrugge Method, apparatus and compiler for predicting indirect branch target addresses
US20040025153A1 (en) * 2002-07-30 2004-02-05 Johnson Teresa L. System and method for software pipelining loops with multiple control flow paths
US7185323B2 (en) * 2003-05-16 2007-02-27 Sun Microsystems, Inc. Using value speculation to break constraining dependencies in iterative control flow structures
WO2005006184A2 (en) * 2003-07-09 2005-01-20 Koninklijke Philips Electronics N.V. Method and system for branch prediction
JP4287799B2 (ja) * 2004-07-29 2009-07-01 富士通株式会社 プロセッサシステムおよびスレッド切り替え制御方法
US20080010635A1 (en) * 2006-07-07 2008-01-10 O'brien John Kevin Method, Apparatus, and Program Product for Improving Branch Prediction in a Processor Without Hardware Branch Prediction but Supporting Branch Hint Instruction
US8438003B2 (en) * 2007-04-12 2013-05-07 Cadence Design Systems, Inc. Methods for improved simulation of integrated circuit designs
US8028180B2 (en) * 2008-02-20 2011-09-27 International Business Machines Corporation Method and system for power conservation in a hierarchical branch predictor
US20090271578A1 (en) * 2008-04-23 2009-10-29 Barrett Wayne M Reducing Memory Fetch Latency Using Next Fetch Hint
US20100058475A1 (en) * 2008-08-26 2010-03-04 Nec Laboratories America, Inc. Feedback-guided fuzz testing for learning inputs of coma
US8762783B2 (en) * 2010-06-24 2014-06-24 International Business Machines Corporation Error identification
US9304776B2 (en) * 2012-01-31 2016-04-05 Oracle International Corporation System and method for mitigating the impact of branch misprediction when exiting spin loops
US9785565B2 (en) 2014-06-30 2017-10-10 Microunity Systems Engineering, Inc. System and methods for expandably wide processor instructions
CN105511838B (zh) * 2014-09-29 2018-06-29 上海兆芯集成电路有限公司 处理器及其执行方法
US11029953B2 (en) * 2019-06-26 2021-06-08 Intel Corporation Branch prediction unit in service of short microcode flows
TWI806581B (zh) * 2022-04-29 2023-06-21 瑞昱半導體股份有限公司 用來在管線化架構中檢查並更新程式計數器數值的邏輯電路以及方法
CN117093269A (zh) * 2022-05-11 2023-11-21 瑞昱半导体股份有限公司 检查并更新程序计数器数值的逻辑电路以及方法
US12217059B1 (en) * 2023-03-30 2025-02-04 Advanced Micro Devices, Inc. Systems and methods for programmed branch predictors

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4764861A (en) * 1984-02-08 1988-08-16 Nec Corporation Instruction fpefetching device with prediction of a branch destination for each branch count instruction
US5642493A (en) * 1994-11-25 1997-06-24 Motorola, Inc. Method of loading instructions into an instruction cache by repetitively using a routine containing a mispredicted branch instruction
US5909573A (en) * 1996-03-28 1999-06-01 Intel Corporation Method of branch prediction using loop counters
US5898865A (en) * 1997-06-12 1999-04-27 Advanced Micro Devices, Inc. Apparatus and method for predicting an end of loop for string instructions

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7836289B2 (en) 2007-08-24 2010-11-16 Panasonic Corporation Branch predictor for setting predicate flag to skip predicated branch instruction execution in last iteration of loop processing

Also Published As

Publication number Publication date
JPH10333906A (ja) 1998-12-18
US6263428B1 (en) 2001-07-17

Similar Documents

Publication Publication Date Title
US6263428B1 (en) Branch predictor
KR100310581B1 (ko) 분기목표버퍼의추측기록메카니즘
JP3707727B2 (ja) プログラムの最適化方法及びこれを用いたコンパイラ
US6178498B1 (en) Storing predicted branch target address in different storage according to importance hint in branch prediction instruction
US6959435B2 (en) Compiler-directed speculative approach to resolve performance-degrading long latency events in an application
JP4027620B2 (ja) 分岐予測装置、プロセッサ、及び分岐予測方法
US5974538A (en) Method and apparatus for annotating operands in a computer system with source instruction identifiers
JP2875909B2 (ja) 並列演算処理装置
EP0655679B1 (en) Method and apparatus for controlling instruction in pipeline processor
US7234136B2 (en) Method and apparatus for selecting references for prefetching in an optimizing compiler
US20040117606A1 (en) Method and apparatus for dynamically conditioning statically produced load speculation and prefetches using runtime information
CN120872417A (zh) 处理器前端分支预测及取指的验证方法、装置及存储介质
US20030088864A1 (en) Method and apparatus for inserting prefetch instructions in an optimizing compiler
US20090313456A1 (en) Methods and apparatus for dynamic prediction by software
CN115328552B (zh) 一种低成本高效分支预测器实现方法
JP2024544599A (ja) ループ再生性能を最適化するためのプロセッサにおけるキャプチャドループの最適化
CN117311814A (zh) 取指单元、指令读取方法及芯片
US20060047495A1 (en) Analyzer for spawning pairs in speculative multithreaded processor
CN121680941A (zh) 一种能动态选择不同预测方法的混合分支预测器及应用
US7885806B2 (en) Simulation method and simulation system of instruction scheduling
JP3843048B2 (ja) 分岐予測機構を有する情報処理装置
CN116069602B (zh) 一种最坏情况执行时间分析方法和装置
KR20070108936A (ko) 조건부 명령어가 실행되지 않을 경우 소스 오퍼랜드를대기하는 것을 중지하는 방법
US20030131345A1 (en) Employing value prediction with the compiler
JP2001005665A (ja) 分岐予測装置

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20031222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040113

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040315

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040406

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040519

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: 20040615

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040622

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees