Supercharge Your Innovation With Domain-Expert AI Agents!

System and method for performing locked operations

A locking operation, non-locking technology, applied in multi-programming devices, program control design, instruments, etc., can solve problems that affect processor performance and cannot operate effectively

Inactive Publication Date: 2011-02-09
ADVANCED MICRO DEVICES INC
View PDF2 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In such systems, since the lock instruction and all younger instructions are delayed in the scheduling phase until the older operation completes, the processor is delayed in an event equal to the delay from scheduling until the end (i.e., the writeback of the older instruction operation) usually does not function effectively during the length of the pipeline before the occurrence of
Delaying the scheduling and execution of these instructions will greatly affect the performance of the processor

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
  • System and method for performing locked operations
  • System and method for performing locked operations
  • System and method for performing locked operations

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] figure 1 is a block diagram of various processing components of an example processor core 100 according to an embodiment. As shown in the figure, the processor core 100 may include an instruction cache 110, a code fetch (fetch) unit 120, an instruction decode unit (DEC) 140, a scheduling unit 150, an execution unit 160, a load monitoring unit 165, a retirement unit 170 , writeback unit 180 and core interface unit 190 .

[0015] During operation, the code fetch unit 120 fetches instructions from the instruction cache 110 inside the processor core 100, such as the L1 cache. The code fetch unit 120 provides the fetched instructions to the DEC 140 . The DEC 140 decodes the instruction and stores it in a buffer until the decoded instruction is ready to be dispatched to the execution unit 160 . DEC 140 will describe Figure 5 will be explained further.

[0016] Dispatch unit 150 provides instructions to execution unit 160 for execution. In a specific embodiment, the sch...

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 mechanism for performing locked operations in a processing unit. A dispatch unit may dispatch a plurality of instructions including a locked instruction and a plurality of non-locked instructions. One or more of the non-locked instructions may be dispatched before and after the locked instruction. An execution unit may execute the plurality of instructions including the non-locked and locked instruction. A retirement unit may retire the locked instruction after execution of the locked instruction. During retirement, the processing unit may begin enforcing a previously obtained exclusive ownership of a cache line accessed by the locked instruction. Furthermore, the processing unit may stall the retirement of the one or more non-locked instructions dispatched after the locked instruction until after the writeback operation for the locked instruction is completed. At some point in time after retirement of the locked instruction, the writeback unit may perform a writeback operation associated with the locked instruction.

Description

technical field [0001] The present invention relates to microprocessor architectures, and more particularly to a mechanism for performing locked operations (hereinafter also referred to as "locked operations"). Background technique [0002] The x86 instruction set provides several instructions for implementing locking operations. A locked instruction (hereinafter also referred to as a "locked instruction") is automatic, that is, the locked instruction ensures that no other processor ( or other agents that can access system memory) will change the contents of that memory location. Locking operations are commonly used by software to synchronize multiple entities reading and updating shared data structures in a multiprocessor system. [0003] In various processor architectures, lock instructions are usually stalled in the dispatch stage of the processor pipeline until all older instructions have been retired and the associated memory writes back ( writeback) operation has be...

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/38
CPCG06F9/52G06F9/3004G06F9/30087G06F9/526
Inventor M·J·埃泰尔
Owner ADVANCED MICRO DEVICES INC
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More