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

212results about "Binary to binary" patented technology

Binary translation method, binary translator, electronic equipment and readable storage medium

The embodiment of the invention provides a binary translation method, a binary translator, electronic equipment and a readable storage medium, and the method comprises the steps: calling a preset instruction if a current instruction is recognized as an indirect jump instruction; the instruction code of the preset instruction comprises a first operand and a second operand; the first operand points to the first register, and the second operand points to the second register; the target PC value is stored in the first register; the second register is used for storing a calculation result of the preset instruction; the preset instruction executes preset calculation logic to calculate a target index value corresponding to the target PC value in the hash table, and the target index value is written into a second register; the target index value is read from the second register, whether the target PC value hits the hash table or not is inquired through the target index value, and the next instruction is executed based on the inquiry result. According to the embodiment of the invention, the instruction translation number of the high-frequency instruction can be reduced, and the execution efficiency of the binary translator is improved.
Owner:LOONGSON TECH CORP

Binary translation method, binary translator, electronic equipment and readable storage medium

The embodiment of the invention provides a binary translation method, a binary translator, electronic equipment and a readable storage medium, and the method comprises the steps: obtaining a thread mode of a client program when an indirect jump instruction in the client program is translated; generating a target search code sequence according to the thread mode; wherein different thread modes correspond to different target search code sequences; the target search code sequence is used for searching a target jump table based on a jump target address of the indirect jump instruction to obtain a cache initial address of a translated basic block corresponding to the jump target address; and if the target search code sequence is successfully searched, skipping to a cache initial address of the translated basic block corresponding to the skipping target address. According to the embodiment of the invention, the translation of the indirect jump instruction can be optimized, and the efficiency of searching the indirect jump table is improved, so that the running efficiency of a translated program is improved.
Owner:LOONGSON TECH CORP

Systems and methods for executing an analytical operation across a plurality of computer processes

A system, method, and computer-program product includes commencing a parent computer process based on receiving a request to perform an analytical operation on one or more datasets, commencing at least one child computer process that is launched by the parent computer process when the parent computer process initiates an execution of the analytical operation on the one or more datasets, transmitting, by the at least one child computer process, a request to the parent computer process to retrieve the one or more datasets, writing, by the parent computer process, the one or more datasets to a cross-process queue based on the parent computer process receiving the requests, reading, by the at least one child computer process, the one or more datasets from the cross-process queue, and executing, using an analytical application executing on the least one child computer process, the analytical operation based on the one or more datasets.
Owner:SAS INSTITUTE INC

Computing graph compiling method and related product

The invention discloses a compilation method of a computational graph and a related product. The method comprises the steps of obtaining a to-be-compiled computational graph expressed by a second intermediate representation, performing forward derivation of a shape, and obtaining complete shape information according to the forward derivation and tensor data splitting information; judging whether tensor data splitting information needs to be adjusted or not by utilizing the complete shape information; tensor data splitting information meeting requirements is determined according to a judgment result; performing memory access mode derivation on operators in the computational graph based on tensor data splitting information meeting requirements; based on the deduced memory access mode, determining address field related parameters of instructions involved in circulation in code logic of the computational graph; performing pipeline arrangement on the instructions in the circulation; and compiling the calculation graph according to the address field related parameters of the instruction involved in the loop and an instruction pipeline arrangement result to obtain a binary file which can be identified by the intelligent processor.
Owner:SHANGHAI CAMBRICON INFORMATION TECH CO LTD

Systems and methods for executing an analytical operation across a plurality of computer processes

A system, method, and computer-program product includes commencing a parent computer process based on receiving a request to perform an analytical operation on one or more datasets, commencing at least one child computer process that is launched by the parent computer process when the parent computer process initiates an execution of the analytical operation on the one or more datasets, transmitting, by the at least one child computer process, a request to the parent computer process to retrieve the one or more datasets, writing, by the parent computer process, the one or more datasets to a cross-process queue based on the parent computer process receiving the requests, reading, by the at least one child computer process, the one or more datasets from the cross-process queue, and executing, using an analytical application executing on the least one child computer process, the analytical operation based on the one or more datasets.
Owner:SAS INSTITUTE INC

Systems and methods for executing an analytical operation across a plurality of computer processes

A system, method, and computer-program product includes commencing a parent computer process based on receiving a request to perform an analytical operation on one or more datasets, commencing at least one child computer process that is launched by the parent computer process when the parent computer process initiates an execution of the analytical operation on the one or more datasets, transmitting, by the at least one child computer process, a request to the parent computer process to retrieve the one or more datasets, writing, by the parent computer process, the one or more datasets to a cross-process queue based on the parent computer process receiving the requests, reading, by the at least one child computer process, the one or more datasets from the cross-process queue, and executing, using an analytical application executing on the least one child computer process, the analytical operation based on the one or more datasets.
Owner:SAS INSTITUTE INC

Systems and methods for executing an analytical operation across a plurality of computer processes

A system, method, and computer-program product includes commencing a parent computer process based on receiving a request to perform an analytical operation on one or more datasets, commencing at least one child computer process that is launched by the parent computer process when the parent computer process initiates an execution of the analytical operation on the one or more datasets, transmitting, by the at least one child computer process, a request to the parent computer process to retrieve the one or more datasets, writing, by the parent computer process, the one or more datasets to a cross-process queue based on the parent computer process receiving the requests, reading, by the at least one child computer process, the one or more datasets from the cross-process queue, and executing, using an analytical application executing on the least one child computer process, the analytical operation based on the one or more datasets.
Owner:SAS INSTITUTE INC

Function name resolution in library transformation on same architecture

A computer-implemented method for transforming a library from a source operating system to a target operating system is disclosed. Thereby, the source operating system comprises an ABI, the target operating system comprising a target ABI, the target ABI being different from the source ABI, the library being implemented by a source object file that is compliant with the source application binary interface and comprising a source memory image, source symbol and source relocation information. The method comprises also creating a target memory image, that is compliant with the target application binary interface, wherein the target memory is derived from the source memory image, enriching the target memory image with an address information pointing to a variable length information, and writing the target memory image to the target object file to implement the transformed library by the target object file.
Owner:INTERNATIONAL BUSINESS MACHINE CORPORATION

Systems and methods for policy linking and / or loading for secure initialization

A system including at least one processor programmed to identify, based on a policy to be enforced, one or more metadata symbols corresponding to an entity name; identify, from a target description describing a target system, an entity description matching the entity name, wherein the entity description describes an entity of the target system; and apply a metadata label to the entity of the target system, wherein the metadata label is based on the one or more metadata symbols corresponding to the entity name, as identified based on the policy.
Owner:DOVER MICROSYSTEMS INC

Binary translation method and device, electronic equipment and readable storage medium

The embodiment of the invention provides a binary translation method and device, electronic equipment and a readable storage medium, and the method comprises the steps: if a translated current instruction is a memory access instruction, querying whether a reusable target cache register exists in distributed cache registers; the memory access address of the translated memory access instruction is stored in the allocated cache register; the memory access address in the reusable target cache register is the same as the memory access address of the current instruction in high order; if the reusable target cache register exists, obtaining a target difference value; the target difference value is a difference value between a memory access address of the current instruction and a memory access address in the target cache register; and translating the current instruction into a target instruction according to the target difference value and the target cache register. According to the embodiment of the invention, the number of translated instructions can be reduced, the execution efficiency of the translator is improved, and the program running speed of the translator is improved.
Owner:LOONGSON TECH CORP

Computer-implemented method and corresponding system for porting software artefacts from a source system to another target system based on a porting strategy

A computer-implemented method including quantifying pre-defined technical porting goal of a porting project into a technical value model, receiving selected decisions regarding the target system and porting tasks and current version of the porting system, executing traceable porting steps based on the selected decisions, porting tasks and current version of the porting system and creating software artefacts of the target system, evaluating software artefacts created or converted by each of the executed porting steps and / or evaluating test results by applying and / or simulating each ported software artifact, outputting references to the versions of created and / or converted and evaluated software artifacts into a porting log, and training the creation and evaluation component of the porting system with data of the porting log based on the decisions and the outcome of the porting project using porting mechanism to reach the pre-defined goal for the porting system.
Owner:SIEMENS AG

Accelerator chip instruction operation analysis method, device, equipment, medium and product

The invention relates to an accelerator chip instruction operation analysis method and device, equipment, a medium and a product. The method comprises the following steps: obtaining a plurality of data streams obtained by executing a binary file corresponding to a target kernel function by an accelerator chip, then obtaining a plurality of assembly instruction codes corresponding to the binary file according to the binary file, and then obtaining a plurality of assembly instruction codes corresponding to the binary file according to a time sequence of a clock cycle, performing matching processing on each assembly instruction code and a data stream corresponding to the assembly instruction code in sequence to obtain an instruction code analysis result corresponding to the assembly instruction code, the instruction code analysis result comprises at least one of the number of clock cycles required by the accelerator chip to execute the assembly instruction code and the number of execution times corresponding to the assembly instruction code. By adopting the method, the accuracy of analysis results can be improved.
Owner:DAWNING INFORMATION IND (BEIJING) CO LTD

Dynamic binary translation optimization method and system based on regional granularity

The invention provides a dynamic binary translation optimization method and system based on regional granularity. The method comprises the following steps: S1, initializing a program entry; s2, acquiring and analyzing an instruction; s3, performing cache query; s4, hot spot judgment; s5, performing interpretive execution; s6, initiating a compiling request; s7, compiling mode selection; s8, compiling and caching the code blocks; s9, skipping to a local code for execution; and S10, returning to the main cycle. According to the invention, the technical problems of limited optimization space, high context switching overhead and high code expansion rate are solved.
Owner:江淮前沿技术协同创新中心

Binary translation and task dispatching for asymmetric multicore processors

A computing device receives an application start request for an application through a dispatching service. The computing device determines whether the application uses a first instruction set architecture (ISA) or a second ISA using the dispatching service. The computing device determines whether the application is compute-bound or non-compute-bound in response to determining that the application uses the second ISA. The computing device performs binary translation to convert instructions based on the second ISA from the application to instructions based on the first ISA in response to determining that the application is compute-bound. The computing device executes the instructions based on the first ISA on one or more cores supporting the first ISA.
Owner:MEDIATEK INC

Systems and methods for dynamic mapping and rerouting of a non-optimized binary to an optimized binary

Systems, methods, and devices are provided for dynamically mapping and rerouting a non-optimized binary to an optimized binary. Embodiments identify a position-independent portion within a non-optimized binary and receive metadata associated with an optimized binary. Further, embodiments identify a location identifier within the optimized binary from the metadata and generate a delta value between the position-independent portion and the location identifier. Embodiments also update the position-independent portion with the delta value.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Data security through temporary value translation

An example operation includes one or more of receiving a request to compile a software application, identifying one or more dummy values which were previously stored in source code of the software application, translating the one or more dummy values into source code using one or more secret values stored in a data store, and compiling, via a device, the source code of the software application into binary code using the secret values.
Owner:TOYOTA MOTOR NORTH AMERICA INC

Binary translation method and device, electronic equipment and readable storage medium

The invention discloses a binary translation method and device, electronic equipment and a readable storage medium. The method comprises the steps of obtaining a translation result of each basic block from a cache of a translator; when an instruction in the translation result is executed, if it is determined that the currently executed instruction is a target instruction with memory access alignment abnormity, remapping is performed according to a first memory access address included in the target instruction, a second memory access address is generated, and a memory area corresponding to the first memory access address is configured to be inaccessible; and executing memory access operation aiming at the second memory access address to access data of the second memory access address. The problem that in the prior art, execution of all other threads is stopped unconditionally, and consequently the execution efficiency of source program instruction translation is affected can be solved.
Owner:LOONGSON TECH CORP

Binary translation method, translator, electronic equipment and readable storage medium

The embodiment of the invention provides a binary translation method, a translator, electronic equipment and a readable storage medium, and the method comprises the steps: carrying out binary translation on a first code block to obtain a first translated code block, and determining a target state tag corresponding to the first code block during translation; when an indirect jump instruction in the first translation code block is executed, querying a quick lookup table according to a jump target address of the indirect jump instruction; when the quick lookup table is not hit, querying a first hash table corresponding to the target state tag according to a jump target address of the indirect jump instruction; the first hash table is used for recording a pointer of the translation code block matched with the target state tag, and the pointer points to an entry address of the translation code block. According to the embodiment of the invention, the code block searching efficiency can be improved, so that the execution efficiency of the indirect jump instruction is improved, and the performance of the system-level binary translator is improved.
Owner:LOONGSON TECH CORP

Exception processing method and device, electronic equipment and readable storage medium

The embodiment of the invention provides an exception processing method and device, electronic equipment and a readable storage medium. If a target exception is triggered when a target platform executes a target instruction, a target exception signal is generated, and an exception processing function corresponding to the target platform is called; the target instruction is obtained by performing binary translation on a current instruction in the source platform; based on the exception handling function, determining an exception type corresponding to the target exception signal; and under the condition that the exception type is a specified type, correcting an instruction operation result corresponding to the target instruction, and continuing to execute a subsequent instruction of the target instruction. Therefore, when floating point exceptions occur, the target exception signal is generated on the target platform, and the exception handling function is called for checking and handling, and compared with the prior art, the method and the device have the advantages that by changing the triggering mode of floating point exception checking, the number of times of executing exception checking is reduced, the program running overhead is reduced, and the program running efficiency is improved. And meanwhile, the program running efficiency is improved.
Owner:LOONGSON TECH CORP

Binary translation method and device, electronic equipment and readable storage medium

The embodiment of the invention provides a binary translation method and device, electronic equipment and a readable storage medium, and the method comprises the steps: in a binary translation process, recognizing whether a current instruction is a target calling instruction; the target calling instruction is used for calling a target function, and the target function is used for obtaining an instruction pointer; if the current instruction is identified as a target calling instruction, performing optimization translation on the target calling instruction; the optimization translation is used for translating the target calling instruction into an immediate operand loading instruction, and the immediate operand loading instruction is used for loading an address of a next instruction of the current instruction to a specified register as an immediate operand. According to the method and the device, redundant instructions generated by semantic translation can be reduced, and the segmentation times of TB can be reduced, so that the translation efficiency of a dynamic translator and the operation efficiency of a translated program are improved.
Owner:LOONGSON TECH CORP

Code processing method and apparatus, and storage medium

This application discloses code processing methods, apparatuses, and storage media. An example method includes: obtaining a first code in low-level language and applicable to a source platform; decompiling the obtained first code to obtain an intermediate representation (IR); and then compiling the IR into a second code in low-level language and applicable to a first target platform, where the source platform and the target platform have different instruction sets.
Owner:HUAWEI TECH CO LTD

Binary translation method and device, electronic equipment and readable storage medium

The invention discloses a binary translation method and device, electronic equipment and a readable storage medium. The method comprises the steps that a translation result of each basic block is obtained from a cache of a translator and executed; when it is detected that a preset position in the translation result contains a target instruction, execution of the translation result is stopped; the target instruction is used for triggering writing in the preset position when it is detected that updating operation is carried out on the basic block; and when the translation result change is not detected in the cache, translating the basic block after the updating operation is executed, so as to obtain a corresponding correction result after the basic block is updated, and continuing to execute the correction result. The problem that in the prior art, cached basic block codes are not matched with actual codes after updating operation, code execution errors occur when the cached basic block codes are executed, and then translation accuracy is affected can be solved.
Owner:LOONGSON TECH CORP

GPU architecture conversion method and device

The invention relates to the technical field of data processing, in particular to a GPU architecture conversion method and device. The method comprises the steps that assembly code input is received, ISA is analyzed into lexical units containing instruction elements according to input content, then detection of grammar rules and semantic logic is conducted on the lexical units based on grammar standards, and instruction objects carrying complete instruction attributes are generated; converting the instruction object into a corresponding LLVM function according to the attribute of the instruction object, generating an initial intermediate representation code, and finally compiling the optimized intermediate representation code into an executable machine code according to the target GPU hardware type. Through the embodiment of the invention, efficient conversion from the GPU assembly code to the multi-architecture machine code is realized, and the problem of performance loss caused by inaccurate grammar detection and insufficient optimization in traditional GPU development can be solved.
Owner:海光信息技术(成都)有限公司

Compiler for generating reconfigurable executable programs

The invention discloses a compiler for generating reconfigurable executable programs, and particularly discloses apparatuses, systems, and techniques for executing a compiler to generate one or more executable programs that can be configured to be executed by one or more of a plurality of different processor architectures. In at least one embodiment, a compiler generates one or more executable programs based at least in part on the original uncompiled executable programs, which may be configured to be executed by one or more of a plurality of different processor architectures.
Owner:NVIDIA CORP

Bytecode editing method and device, electronic equipment and program product

The invention is suitable for the technical field of block chains, and provides a byte code editing method and device, electronic equipment and a program product. The byte code editing method comprises the following steps: acquiring a first byte code to be edited; editing the first byte code to obtain a second byte code; according to the first byte code and the second byte code, determining whether the length of the byte code is changed or not; and if it is determined that the length of the byte code changes, adjusting the second byte code to obtain a target byte code, and outputting the target byte code. Through the editing method provided by the invention, after the byte code is edited, the edited byte code can be automatically checked and adjusted through the electronic equipment, so that the editing efficiency of the byte code editing method is improved.
Owner:HANGZHOU HIGH-TECH ZONE (BINJIANG) INSTITUTE OF BLOCKCHAIN & DATA SECURITY

Binary translation method, translator, electronic equipment and readable storage medium

The embodiment of the invention provides a binary translation method, a translator, electronic equipment and a readable storage medium, and the method comprises the steps: when a direct jump instruction in a first code block is translated, if it is determined that a jump target has a cross-page condition, recording jump target cross-page information, the jump target cross-page information being used for indicating a cross-page type; executing a target link strategy on the first translation code block and the second translation code block according to the jump target cross-page information; the target link strategy is used for judging whether the direct jump instruction meets an optimization condition or not according to a cross-page type indicated by the jump target cross-page information; and if the optimization condition is met, establishing a direct jump link for the first translation code block and the second translation code block. According to the embodiment of the invention, on the basis of ensuring the correct execution, the optimizable condition when the target page is skipped is identified, the link optimization operation is further executed, the code block search operation in the program running process is reduced, and the program running efficiency is improved.
Owner:LOONGSON TECH CORP

Bytecode Editing Method, Apparatus, Electronic Device, and Program Product

This application is applicable to the field of blockchain technology, and provides a method, apparatus, electronic device, and program product for editing bytecode. The method for editing bytecode includes: obtaining a first bytecode to be edited; editing the first bytecode to obtain a second bytecode; determining whether the length of the bytecode changes according to the first bytecode and the second bytecode; if it is determined that the length of the bytecode changes, then adjusting the second bytecode to obtain a target bytecode, and outputting the target bytecode. Through the editing method of this application, after editing the bytecode, the electronic device can automatically verify and adjust the edited bytecode, improving the editing efficiency of the bytecode editing method.
Owner:HANGZHOU HIGH-TECH ZONE (BINJIANG) INSTITUTE OF BLOCKCHAIN & DATA SECURITY

File generation method, device, electronic device, medium and computer program product

The present application discloses a file generation method, device, electronic device, medium and computer program product. The file generation method includes: reverse parsing the script file corresponding to the submitted data to obtain a reverse file corresponding to the script file; wherein the reverse file includes: a data processing flow table and at least one data source table; based on the type of information to be processed in the reverse file, storing different types of information to be processed in different data source tables respectively; splicing the information to be processed in the data source table to obtain sentence information; splicing the sentence information of different sentence ranges to generate a target relationship table corresponding to the submitted data; wherein the target relationship table is used to describe the source corresponding to the submitted data. The effect of quickly generating an explanatory file corresponding to the submitted project can be achieved.
Owner:CCB FINTECH CO LTD