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

Information processing method and device

A technology of window length and target, applied in the direction of program control devices, etc., can solve the problems of slow running speed, time-consuming, fixed and other problems of functions, and achieve the effect of reducing time and memory consumption, improving user experience, and improving overall performance

Inactive Publication Date: 2013-10-09
HUAWEI TECH CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Although the sliding window mechanism can reduce the access operations on the stack space, however, in the prior art, when the compiler configuration is completed, all functions compiled using the compiler adopt the default window length, and the default window length The length is fixed in all cases
Therefore, when the default window length is large, for example, 8 or 12, when the number of function calls reaches a certain depth, overflow will continue to occur, and we cannot benefit from the sliding window mechanism
And when the default window length is small, such as 4, although the probability of overflow is reduced, when the function call does not cause overflow, compared with a larger window length, a smaller window length increases the storage The number of registers in the stack, thus increasing the program running time delay
Therefore, the use of a fixed window length in the prior art makes it time-consuming to access data in the process of processing information, the running speed of the function is relatively slow, and the utilization rate of the memory space and the overall performance of the system are poor.

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
  • Information processing method and device
  • Information processing method and device
  • Information processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0035] It should be understood that the technical solutions of the embodiments of the present invention can be applied to various computer systems, for example, a personal computer (Personal Computer, referred to as "PC"), a computer cluster system, a large computer system, or various supercomputers (Supercomputer), etc. , the present invention is not limited thereto. In addition, the present invention can also be applied to various compilers, such as gcc,...

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 an information processing method and device. The method comprises the steps of S1, confirming the target window-drawing length of a function to be complied, wherein the target window-drawing length is not equal to the initial window-drawing length of the function to be complied, and S2, confirming the assembly code of the function to be complied according to the target window-drawing length. According to the information processing method and device, the window-drawing length called by the function is confirmed flexibly according to actual conditions, time consumption and memory consumption when a fixed window-drawing is used are lowered, the operating speed in information processing is improved, the utilization rate of a memory space is improved, the whole performance of a system is improved, and user experience is improved.

Description

technical field [0001] The embodiments of the present invention relate to the field of computers, and more specifically, to a method and device for processing information. Background technique [0002] In the current compilation technology, the commonly used method of function calling realizes parameter and return value passing through the stack. Specifically, when the calling function needs to pass parameters to the called function, the calling function starts from the stack space of the called function. Store the contents of the parameters one by one. Correspondingly, the called function writes the parameters passed to it from the beginning of its own stack space, and performs operations on the contents of the parameters in the register. The implementation of this method requires additional read and write instructions , and at the same time, due to the large delay in the access operation between the register and the stack, the system performance consumption will be large. ...

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/44
Inventor 周巍
Owner 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