Data processor supporting interrupt shielding instruction

A technology for data processors and shielding instructions, applied in concurrent instruction execution, machine execution devices, etc., can solve problems such as increasing design complexity and destroying architecture, and achieve the effect of simplifying design complexity and avoiding destroying architecture

Active Publication Date: 2011-08-03
C SKY MICROSYST CO LTD
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to overcome the deficiencies of existing data processors that destroy the structure and increase design complexity when solving the problem of interrupt compet

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
  • Data processor supporting interrupt shielding instruction
  • Data processor supporting interrupt shielding instruction
  • Data processor supporting interrupt shielding instruction

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0027] The present invention will be further described below in conjunction with the drawings.

[0028] Reference Figure 1 ~ Figure 4 , A data processor that supports interrupt mask instructions, including:

[0029] The instruction fetching unit is used to read instructions from the instruction memory and send them to the instruction decoding unit;

[0030] The instruction decoding unit is used to decode the sent instruction, and decode the related type information and operand information of the instruction;

[0031] The instruction execution unit is used to make corresponding processing according to the instruction decoding result;

[0032] Exception and interrupt processing unit for processing exceptions and interrupt requests generated by instructions;

[0033] The instruction set in the instruction memory also includes an interrupt mask instruction. The interrupt mask instruction includes a type field, a start field, and an end field. The start field determines that the instruction...

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

A data processor supporting an interrupt shielding instruction comprises an instruction extraction unit, an instruction decoding unit, an instruction execution unit and an exception and interrupt processing unit; an instruction set in an instruction memory further comprises an interrupt shielding instruction; the interrupt shielding instruction comprises a type field, a start field and an end field; the data processor further comprises an interrupt shielding controller; the interrupt shielding controller is used for detecting the interrupt shielding instruction information and the following instruction complete information transmitted by the instruction execution unit; an instruction sequence between the initial position and the end position of the relative current interrupt shielding instruction is generated into the interrupt shielding information; the output end of the instruction execution unit is connected with the interrupt shielding controller; and the interrupt shielding controller is connected with the exception and interrupt processing unit. The data processor supporting the interrupt shielding instruction avoids the damage to a framework and simplifies the design complexity.

Description

technical field [0001] The present invention relates to a data processor. Background technique [0002] In order to improve the concurrency and throughput of the data processor and improve the efficiency of switching between multiple processes, a multi-thread processor is introduced. Compared with multi-process, the most prominent point of multi-threading is that it realizes the sharing of resources, which greatly improves the operating efficiency of the program. [0003] The sharing of instruction segments or data segments between multiple threads is accomplished by means of locks. For example, when two threads share a lock, when one thread acquires the lock, the other thread is in a waiting state until the lock is released, thus ensuring the accuracy of resource sharing. For the most commonly used spin lock, the process of obtaining the lock usually requires two steps: the first step is to obtain the state of the lock from the memory; the second step is to determine whet...

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
IPC IPC(8): G06F9/38G06F9/30
Inventor 郑丹丹项晓燕吕冬明郭宇波刘兵丁永林
Owner C SKY MICROSYST 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