Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

2results about How to "Avoid reallocation" patented technology

RISC-V vector extension-oriented cross-function vector register cooperative allocation method and device

PendingCN122285602Aincrease profitAvoid resource fragmentationComputer hardwareRegister allocation
This invention relates to the field of computer technology and provides a method and apparatus for cross-function vector register collaborative allocation for RISC-V vector extensions. The method includes: performing cross-function data flow analysis on the program to identify active vector registers and construct an active information set; establishing LMUL constraint propagation relationships based on this and determining the target LMUL configuration; performing collaborative vector register allocation between the caller and callee based on the active information set and the target LMUL configuration, and establishing a register mapping relationship; performing overflow optimization based on vector characteristics for vector data that cannot be retained; and collaboratively maintaining the vector execution context at function call boundaries. This invention can reduce register reallocation and overflow overhead during cross-function calls, reduce memory access pressure, and improve RISC-V vector register resource utilization and program execution efficiency.
Owner:BEIJING VCORE TECH CO LTD

Message processing method and device, electronic equipment and storage medium

The embodiment of the invention provides a message processing method and device, electronic equipment and a storage medium, and relates to the technical field of networks, the method comprises the following steps: applying for a memory space for an original message, reserving an extension head area in the memory space, storing data of the original message in the memory space, and storing the data of the original message in the extension head area; the initial position of data storage is identified by a data initial pointer, and the extended header area is located in front of the initial position pointed by the data initial pointer, then adding an outer-layer message header to the original message in response to the need, and if the extended header area meets the length requirement of the outer-layer message header, adding the outer-layer message header to the original message. If not, moving the data start pointer towards the start direction of the memory space by the length of the outer-layer message header, filling the outer-layer message header in the expanded header area vacated after moving, and packaging the original message into the target message, thereby remarkably reducing memory access operation, ensuring that enough space is available in the whole life cycle of the message, and improving the message access efficiency. And the certainty and efficiency of the message processing flow are improved.
Owner:CHINA TELECOM CLOUD TECH CO LTD