Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for vector on-site switch of thread switch

A thread switching and switching device technology is applied in the computer field to achieve the effects of reducing protection overhead and improving switching efficiency

Active Publication Date: 2012-12-12
SHANGHAI HUAWEI TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] During the research and practice of the prior art, the inventors of the present invention found that there are some unnecessary operations in the above switching method

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 vector on-site switch of thread switch
  • Method and device for vector on-site switch of thread switch
  • Method and device for vector on-site switch of thread switch

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] For the basic flow diagram of the vector field switching method for thread switching in Embodiment 1, please refer to image 3 , before executing the vector field switching method, a vector register ownership mark (VRO, vector registers owner) will be set to the vector register, and VRO is the mark of the thread belonging to the vector data currently processed by the vector register group in the vector processor, using In order to indicate the attribution of the data processed by the vector register group and whether there is data in the vector register group, each register group has a corresponding VRO. For example, if the vector processor is currently processing the data of thread 1, then the current VRO ID is the ID of thread 1. If there is no data in the vector register set, VRO can be set to empty or any value that can indicate that there is no data in the vector register set. In this embodiment, VRO is set to be empty as an example, which is used to indicate that ...

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

This invention discloses a method and a device for vector on-site switch of thread switch, and the method comprises the following steps: reading a vector register attribution identity, storing the data of the vector register to an on-site save area of the cut-out thread if the vector register attribution identity is the identity of a cut-out thread,, renewing the vector register attribution identity to the cut-in thread enter identity, and loading data from the cut-in thread on-site save area to the vector register; and if the vector register attribution identity is the cut-in thread identity, loading data from the cut-in thread on-site save area to the vector register. By implementing the embodiment of the invention, the data attribution of the vector register is judged according to the vector register attribution identity, vector on-site saving is performed only when the on-site vector saving is needed, thereby reducing protection cost and improving switch efficiency.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a thread switching method and device for vector scene switching. Background technique [0002] The development of modern communication technology and the development of the processing performance of the programmable architecture put forward higher and higher requirements, the vector architecture and the vector processor developed from it is an effective way to improve the processing performance. [0003] see figure 1 , is a schematic diagram of the vector field switching process of thread switching in the prior art. The vector field switching method of the vector processor in the prior art is as follows: first, in the thread switching process, the vector data (vector field) in the vector register group Save to the on-site storage area of ​​the cut-out thread, then, update the thread, load data (restore the vector site) for the vector register group from the on-site storage are...

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/48
Inventor 曹兴国
Owner SHANGHAI HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products