Microprocessor structure capable of implementing control of critical section

A technology of microprocessors and critical areas, applied in program control design, electrical digital data processing, instruments, etc., can solve the problems of the number of microprocessor multi-instruction sets, long instruction length, increasing the complexity and size of microprograms, etc.

Inactive Publication Date: 2005-10-26
SUNPLUS TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method of providing additional dedicated instructions to achieve control over the use of critical sections will require a larger number of instruction sets for the microprocessor, and even result in the need to use a longer instruction length, and will also increase Due to the complexity and size of microprograms, developers of application programs must use exclusive instructions to control critical regions and manage system resources. Therefore, the control of critical regions used by conventional microprocessors method needs to be improved

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
  • Microprocessor structure capable of implementing control of critical section
  • Microprocessor structure capable of implementing control of critical section
  • Microprocessor structure capable of implementing control of critical section

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to improve the microprocessor's implementation of critical section control, it can be seen from the analysis of the general test and set (Test and Set) critical section control instructions that it has the following characteristics:

[0053] (1) The Test and Set command is composed of a load (Load) and storage (Store) command.

[0054] (2) The execution process of the load and store instructions in Test and Set cannot be divided.

[0055] (3) The interrupt service request is checked whether it is triggered after an instruction is executed or before it is executed.

[0056] According to the above-mentioned characteristics, the microprocessor structure of the present invention that can realize critical section control is to close the inspection of interrupt service requirements after the execution of the load instruction or before the execution of the storage instruction, so that the two instructions of loading and storing are executed continuously Instead of be...

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 present invention relates to a microprocessor structure capable of implementing critical section control, and is characterized by that it uses a instruction temporay memorry to hold the instruction to be executed by microprocessor, and provides a judgement logic unit to control the interrupt request signal line of microprocessor, the judgement logic unit is used to compare the content of the instruction temporary memory with a stored instruction, when the compared result is identical, the interrupt request signal line is closed, it can utilize the interrup service request closure after the holding instruction is executed or before the storage in struction is excecuted to implement control of cirtical section, so that when the holding and storage address are identical, it can implement control of ctritical section, and can implement complete document copying.

Description

technical field [0001] The invention relates to the technical field of microprocessors, in particular to a microprocessor structure capable of realizing critical area control. Background technique [0002] In the conventional microprocessor, a method of controlling the critical section (Critical Section) is usually provided to satisfy the user's control over the use of system resources in a multi-process (Multi-Process) environment, so as to avoid The occurrence of conflicts, and the general method is to use the test and set (Test and Set) method to achieve the control of the critical area, the algorithm is as follows: [0003] bool test-and-set(bool*s){ / / atomic function, [0004] / / can not be [0005] / / interrupted [0006] bool original = s; [0007] s=true; [0008] return original;} [0009] And the usage example of the corresponding terminal is: [0010] while(test-and-set(&sign)); / / if sign is true, [0011] ...

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 Patents(China)
IPC IPC(8): G06F9/305
Inventor 刘德忠李桓瑞陈泳成
Owner SUNPLUS 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