WO2021120712A8 - Instruction generation method and apparatus, instruction execution method, processor, electronic device, and storage medium - Google Patents

Instruction generation method and apparatus, instruction execution method, processor, electronic device, and storage medium Download PDF

Info

Publication number
WO2021120712A8
WO2021120712A8 PCT/CN2020/114002 CN2020114002W WO2021120712A8 WO 2021120712 A8 WO2021120712 A8 WO 2021120712A8 CN 2020114002 W CN2020114002 W CN 2020114002W WO 2021120712 A8 WO2021120712 A8 WO 2021120712A8
Authority
WO
WIPO (PCT)
Prior art keywords
instruction
forwarding path
instruction execution
identifier
ith
Prior art date
Application number
PCT/CN2020/114002
Other languages
French (fr)
Chinese (zh)
Other versions
WO2021120712A1 (en
Inventor
蒋宇翔
王晓阳
Original Assignee
成都海光微电子技术有限公司
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 成都海光微电子技术有限公司 filed Critical 成都海光微电子技术有限公司
Publication of WO2021120712A1 publication Critical patent/WO2021120712A1/en
Publication of WO2021120712A8 publication Critical patent/WO2021120712A8/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30094Condition code generation, e.g. Carry, Zero flag
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30181Instruction operation extension or modification
    • G06F9/30196Instruction operation extension or modification using decoder, e.g. decoder per instruction set, adaptable or programmable decoders

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Executing Machine-Instructions (AREA)
  • Advance Control (AREA)

Abstract

An instruction generation method and apparatus, an instruction execution method, a processor, an electronic device, and a storage medium. Said method comprises: determining that an instruction execution unit supports data forwarding (S101); when instructions are generated, setting, in an ith instruction, a first identifier configured to instruct to write destination data of the ith instruction into a forwarding path, and setting, in an (i+j)th instruction, a second identifier configured to instruct to acquire a source operand from the forwarding path (S102); and sending the ith instruction and the (i+j)th instruction to the instruction execution unit, so that when executing the instructions, the instruction execution unit writes the result of the ith instruction into the forwarding path according to the first identifier, and acquires the required source operand from the forwarding path according to the second identifier (S103). By means of setting, in the instructions, a first identifier configured to instruct to write the destination data into the forwarding path and a second identifier configured to indicate that a source operand is derived from the forwarding path, explicit data forwarding of hardware is realized forcibly by means of software, and the number of times of access of a memory is reduced.
PCT/CN2020/114002 2019-12-16 2020-09-08 Instruction generation method and apparatus, instruction execution method, processor, electronic device, and storage medium WO2021120712A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911300243.6A CN111124492B (en) 2019-12-16 2019-12-16 Instruction generation method and device, instruction execution method, processor and electronic equipment
CN201911300243.6 2019-12-16

Publications (2)

Publication Number Publication Date
WO2021120712A1 WO2021120712A1 (en) 2021-06-24
WO2021120712A8 true WO2021120712A8 (en) 2021-08-05

Family

ID=70498193

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/114002 WO2021120712A1 (en) 2019-12-16 2020-09-08 Instruction generation method and apparatus, instruction execution method, processor, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN111124492B (en)
WO (1) WO2021120712A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124492B (en) * 2019-12-16 2022-09-20 成都海光微电子技术有限公司 Instruction generation method and device, instruction execution method, processor and electronic equipment
CN112182496B (en) * 2020-09-24 2022-09-16 成都海光集成电路设计有限公司 Data processing method and device for matrix multiplication
CN114968358A (en) * 2020-10-21 2022-08-30 上海壁仞智能科技有限公司 Apparatus and method for configuring cooperative thread bundle in vector computing system
CN112199119B (en) * 2020-10-21 2022-02-01 上海壁仞智能科技有限公司 Vector operation device
CN112506567B (en) * 2020-11-27 2022-11-04 海光信息技术股份有限公司 Data reading method and data reading circuit
CN112559045B (en) * 2020-12-23 2022-09-16 中国电子科技集团公司第五十八研究所 RISCV-based random instruction generation platform and method

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5974538A (en) * 1997-02-21 1999-10-26 Wilmot, Ii; Richard Byron Method and apparatus for annotating operands in a computer system with source instruction identifiers
US6542982B2 (en) * 2000-02-24 2003-04-01 Hitachi, Ltd. Data processer and data processing system
US20080148020A1 (en) * 2006-12-13 2008-06-19 Luick David A Low Cost Persistent Instruction Predecoded Issue and Dispatcher
US7921279B2 (en) * 2008-03-19 2011-04-05 International Business Machines Corporation Operand and result forwarding between differently sized operands in a superscalar processor
CN101477456B (en) * 2009-01-14 2011-06-08 北京大学深圳研究生院 Self-correlated arithmetic unit and processor
US9424041B2 (en) * 2013-03-15 2016-08-23 Samsung Electronics Co., Ltd. Efficient way to cancel speculative ‘source ready’ in scheduler for direct and nested dependent instructions
CN104216681B (en) * 2013-05-31 2018-02-13 华为技术有限公司 A kind of cpu instruction processing method and processor
CN103455454B (en) * 2013-09-02 2016-09-07 华为技术有限公司 A kind of method and apparatus controlling memory startup
CN104516726B (en) * 2013-09-27 2018-08-07 联想(北京)有限公司 A kind of method and device of instruction processing
CN104536914B (en) * 2014-10-15 2017-08-11 中国航天科技集团公司第九研究院第七七一研究所 The associated processing device and method marked based on register access
US10108417B2 (en) * 2015-08-14 2018-10-23 Qualcomm Incorporated Storing narrow produced values for instruction operands directly in a register map in an out-of-order processor
US11687345B2 (en) * 2016-04-28 2023-06-27 Microsoft Technology Licensing, Llc Out-of-order block-based processors and instruction schedulers using ready state data indexed by instruction position identifiers
CN110058884B (en) * 2019-03-15 2021-06-01 佛山市顺德区中山大学研究院 Optimization method, system and storage medium for computational storage instruction set operation
CN111124492B (en) * 2019-12-16 2022-09-20 成都海光微电子技术有限公司 Instruction generation method and device, instruction execution method, processor and electronic equipment

Also Published As

Publication number Publication date
CN111124492B (en) 2022-09-20
CN111124492A (en) 2020-05-08
WO2021120712A1 (en) 2021-06-24

Similar Documents

Publication Publication Date Title
WO2021120712A8 (en) Instruction generation method and apparatus, instruction execution method, processor, electronic device, and storage medium
US9513828B2 (en) Accessing global data from accelerator devices
US8863123B2 (en) Apparatus and method for virtualizing input/output devices using shared memory in host-based mobile terminal virtualization environment
JP6633119B2 (en) Autonomous memory method and system
KR20140126190A (en) Memory apparatus for supporting long routing of processor, scheduling apparatus and method using the memory apparatus
JP2018517205A (en) Method, device and system for accessing extended memory
JP2012069130A5 (en)
DE60040578D1 (en) Decoupled retrieval and execution of commands with static branch prediction
JP2016513846A (en) Memory sharing over the network
RU2007148413A (en) CHANGE THE CODE EXECUTION WAY USING Kernel Mode Redirection
US8825465B2 (en) Simulation apparatus and method for multicore system
JP2014219980A (en) Memory controller and memory control method
US8732382B2 (en) Haltable and restartable DMA engine
US20130239099A1 (en) Compilation of code in a data center
US20150066175A1 (en) Audio processing in multiple latency domains
US20140013312A1 (en) Source level debugging apparatus and method for a reconfigurable processor
US9405546B2 (en) Apparatus and method for non-blocking execution of static scheduled processor
CN112711527A (en) Debugging method and device of real-time process, target machine and storage medium
WO2019114812A1 (en) Method for preventing malicious code compilation, storage medium and electronic device
JP2012216108A (en) Information processing apparatus and program transfer method
JP2008225894A (en) Sdram controller
US20240160423A1 (en) Program conversion apparatus and method
US8112591B1 (en) System and method for detection of non-deterministic memory access events
JP6940283B2 (en) DMA transfer control device, DMA transfer control method, and DMA transfer control program
Nishino et al. LC: A New Computer Music Programming Language with Three Core Features

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20903883

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20903883

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20903883

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 27/03/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20903883

Country of ref document: EP

Kind code of ref document: A1