Method and device for extending processor instruction set

A technology of processor instructions and extended instructions, applied in the field of communications, can solve problems such as reducing service processing performance, and achieve the effect of improving service processing capacity and processing speed

Active Publication Date: 2017-02-01
HUAWEI TECH CO LTD
View PDF8 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This processing method is more flexible in the implementation process, because the acceleration module is decoupled from the processor, but there is frequent data interaction between the processor and the acceleration module, which reduces the processing performance of the business

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for extending processor instruction set
  • Method and device for extending processor instruction set
  • Method and device for extending processor instruction set

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0031] The embodiment of the present invention can be used in a chip, and a processor core, a monitoring module and at least one execution module for executing extended instructions can be arranged inside the chip, such as: figure 1 Accelerator 1 and Accelerator 2 are shown. Wherein, the monitoring module and at least one execution module for executing extended instructions can be implemented by programmable logic (such as FPGA, CPLD, etc.). It should be note...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and a device for extending a processor instruction set and relates to the technical field of communication. Under the prerequisites of not modifying a processor core, the processing speed of the processor is improved. The method comprises the following steps: a monitoring module identifies instructions by an on-chip bus and stores an extended instruction in the instructions to a local storage; after the processor core loads from a memory to the extended instruction through the on-chip bus, the processor core decodes the extended instruction to generate undefined instruction abnormality; after the processor core executes a current instruction, the processor core executes an abnormality processing procedure, and suspends to execute the instruction after the extended instruction; in addition, the monitoring module triggers an execution module corresponding to the extended instruction to execute the extended instruction; the monitoring module controls the processor core to exit from the abnormality processing procedure, so that continuous execution of the instruction after the extended instruction by the processor core is facilitated. The method and the device disclosed by the invention are suitable for an execution process of the extended instruction.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a method and device for extending a processor instruction set. Background technique [0002] With the development of communication technology, in order to improve the processing capability of the communication system, it is often necessary to use hardware acceleration modules to process complex services, such as floating-point operations, encryption and decryption, compression and decompression, and other operations. At present, the following methods can be used to realize the processing of complex business: [0003] Special purpose instructions such as floating point instructions are executed using a coprocessor, that is, the processor needs to send a special purpose instruction to the coprocessor for execution. The advantage of this processing method is that programming is simple, and coprocessor instructions can be used directly; the disadvantage is that the processor ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/30G06F9/32
CPCG06F9/30G06F9/32G06F9/30189G06F9/30003G06F9/30101G06F9/30181G06F9/321
Inventor 李延松吴求应
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products