A heterogeneous program execution method, apparatus, computing device and readable storage medium

A technology for computing equipment and program execution, applied in the fields of computing equipment, readable storage media, devices, and heterogeneous program execution methods, can solve problems such as poor effect, complicated mechanism, and low execution performance, and avoid the process of memory address mapping , reduce complexity, improve operating efficiency and performance

Active Publication Date: 2022-07-12
武汉深之度科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because the Unicorn translation engine itself is based on the Qemu2.0 version, and the developer has not updated it for a long time, the design idea has fallen behind, the overall execution performance is not high, there are many bugs, and the actual effect is not good in the process of use
At the same time, Unicorn's memory management mechanism uses a set of simulated physical CPU memory memory access mechanisms to manage the address space of GVA. Every time an instruction or data is fetched, it is necessary to convert GVA into HVA through SoftMMU and obtain instruction data from HVA. , this mechanism is complex and inefficient

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
  • A heterogeneous program execution method, apparatus, computing device and readable storage medium
  • A heterogeneous program execution method, apparatus, computing device and readable storage medium
  • A heterogeneous program execution method, apparatus, computing device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be more thoroughly understood, and will fully convey the scope of the present disclosure to those skilled in the art.

[0023] Based on the rich application programs in the current X86 architecture, in order to facilitate the porting of these application software to other architectures to run, an analog processor Qemu, which is widely used in the Linux system platform, appeared, which implements CPU operations through software. Qemu There are two modes, user mode and system mode. Among them, user mode can provide simulation execution of heter...

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 a heterogeneous program execution method, which is suitable for execution in a simulator, the simulator is suitable for resident in a computing device, and a target heterogeneous program is installed on the simulator. The method includes: when the simulator is started, Obtain the target heterogeneous program on the simulator; load the target heterogeneous program into the memory address space of the simulator process; create a virtual CPU according to the start request of the target heterogeneous program; execute the target heterogeneous program through the virtual CPU. The present invention also discloses a corresponding apparatus, a computing device and a readable storage medium.

Description

technical field [0001] The present invention relates to the field of computer technology, and in particular, to a heterogeneous program execution method, apparatus, computing device and readable storage medium. Background technique [0002] Application software has become an important tool for people to use computers to achieve various life and work needs. The software resources are very rich. However, most of the software resources are currently implemented based on the X86 architecture, while for other architecture platforms (eg: ARM, PowerPC) , the software manufacturer does not provide versions for other platforms, and the software resources are not perfect. Although the application software achieves compatibility between different operating system platforms through wine, for example, WeChat, QQ and other common software only provide the Windows version under X86. With the Windows compatibility layer provided by wine, it can be used on the X86 Linux system. These progra...

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/445G06F9/455
CPCG06F9/445G06F9/45558Y02D10/00
Inventor 吕果黄林
Owner 武汉深之度科技有限公司
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