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

273results about "Runtime instruction translation" patented technology

Instruction conversion method of cross-chip platform

ActiveCN119292671AOptimize resource overheadEnsure conversion accuracyRuntime instruction translationEnergy efficient computingComputer architectureEngineering
The embodiment of the invention provides a cross-chip platform instruction conversion method, which comprises the following steps: collecting instruction set information of a source chip platform and a target chip platform, establishing an instruction feature analysis model, and calculating a semantic similarity matrix between instructions in a feature vector space by adopting a kernel function; training a multilayer graph attention neural network based on the semantic similarity matrix, mapping feature vectors of a source platform instruction and a target platform instruction to a shared embedding space, and performing iterative optimization on a mapping relation graph by applying a reinforcement learning method to obtain an instruction equivalent conversion rule; the instruction equivalent conversion rule is loaded in the instruction conversion engine, the input source platform instruction is decoded and analyzed, and a converted target platform instruction sequence is output to an instruction execution unit of a target chip platform; the resource overhead in the conversion process can be optimized, and the overall efficiency of the system is improved on the basis of ensuring the conversion correctness.
Owner:UNIVERSAL UBIQUITOUS TECH CO LTD

Systems, methods, and apparatuses for heterogeneous computing

Embodiments of systems, methods, and apparatuses for heterogeneous computing are described. In some embodiments, a hardware heterogeneous scheduler dispatches instructions for execution on one or more plurality of heterogeneous processing elements, the instructions corresponding to a code fragment to be processed by the one or more of the plurality of heterogeneous processing elements, wherein the instructions are native instructions to at least one of the one or more of the plurality of heterogeneous processing elements.
Owner:INTEL PRODUCTS IP LLC

Spacecraft intelligent design method and system capable of autonomously learning

The invention discloses a spacecraft intelligent design method and system capable of autonomously learning, and belongs to the technical field of spacecraft design and simulation. The problems that in spacecraft design, natural language requirements are fuzzy and difficult to process, instruction generation is prone to ambiguity, linkage between simulation and design is not smooth, a design scheme lacks an effective iterative optimization mechanism, and traditional design is low in efficiency are solved. The method comprises the following steps: firstly, receiving a natural language demand, extracting key parameters to generate prompt words, inputting the prompt words into Design.AI, and generating a simulation instruction sequence; simulation is started through MCP Server conversion, if the result does not reach the standard, feedback correction is carried out, and iterative optimization is carried out. And repeating the steps until a design target is met, and generating a design report containing multiple items of content. Through natural language processing, real-time simulation, iterative optimization, knowledge accumulation and other technologies, the spacecraft design efficiency is greatly improved, the accuracy is enhanced, the threshold is lowered, and the flexibility is improved.
Owner:HARBIN INST OF TECH

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

In-memory computing AI accelerator design architecture based on RISC-V architecture and control method

The invention provides an in-memory computing AI accelerator design architecture based on an RISC-V architecture and a control method. The architecture comprises an RISC-V processor used for executing a general-purpose computing task and a control instruction; the in-memory computing accelerator is used for executing a computing task in an AI algorithm, is connected with the RISC-V processor and comprises a tensor processing unit and a vector processing unit; the in-memory computing accelerator further comprises a data rearrangement unit which is used for carrying out format conversion and rearrangement on the data before the data are transmitted to the tensor processing unit or the vector processing unit. And the data format management unit is used for defining and managing a unified data format in the in-memory computing accelerator. According to the invention, the calculation performance and the resource utilization rate of the AI algorithm can be improved, and meanwhile, the accuracy of data transmission and the parallelism of processing are ensured.
Owner:HANG ZHOU NANO CORE CHIP ELECTRONIC TECH CO LTD

Instruction translation method and device, electronic equipment and storage medium

The embodiment of the invention discloses an instruction translation method and device, electronic equipment and a storage medium, and the method comprises the steps: receiving an instruction translation request, when the instruction translation request carries a target address of an original instruction, obtaining the target address in the instruction translation request, obtaining a first symbol table file, retrieving a target node in the tree data structure of the first symbol table file according to the target address, and reading symbol offset from the target node; retrieving a function number of the target address and a first line number of the original instruction from first symbol information of the first symbol table file according to the symbol offset; the first symbol dictionary is obtained according to the target address, the first function character of the original instruction is retrieved in the first symbol dictionary according to the function number, and the translation result of the original instruction is obtained based on the first function character and the first line number, so that the time complexity during instruction translation can be reduced, and the instruction translation efficiency is improved.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Processing method and device of low-complexity serial port read-write register

The invention discloses a low-complexity processing method and device for a serial port read-write register in the field of data communication, and the method and device are applied to a pure PL platform without a PS. The method comprises the steps that an FPGA chip carries out serial-parallel conversion on serial data to obtain parallel data; caching the parallel data according to character types; determining the operation character as a write / read data state according to the operation character; if the address character and the data character are in the data writing state, decoding the address character and the data character from an ASCII code to a hexadecimal code; assigning the decoded data characters to the registers corresponding to the corresponding addresses according to the decoded address characters; if the address character is in the data reading state, decoding the address character from an ASCII code to a hexadecimal code; assigning a register corresponding to the address to the data character to be sent according to the decoded address character; and carrying out decoding from hexadecimal codes to ASCII codes on the data characters to be sent, carrying out parallel-serial conversion to obtain serial data to be sent, and sending the serial data to be sent. According to the invention, the function of reading and writing the PL register by the serial port can be realized.
Owner:NANJING DIGITGATE COMM TECH CO LTD

Instruction conversion method for dynamically generating codes based on control flow monitoring

The invention discloses an instruction conversion method for a dynamically generated code based on control flow monitoring, which comprises the following steps of: monitoring executable attribute modification and write operation of a memory page related to an executable file to be processed in sequence in an instruction identification stage, and determining a position relationship between the position of the dynamically generated code and an instruction related to execution attribute modification; according to the method, in the actual execution stage, the instruction breakpoint is added to the position, corresponding to the determined instruction address, in the to-be-processed executable file according to the determined instruction address, the memory page where the dynamic generation code is located and the write operation related address range in the memory page, so that pre-instruction conversion of the dynamic generation code with the memory page as the unit is achieved; therefore, instruction conversion taking the basic block as a unit is avoided, and the execution efficiency of dynamic instruction conversion is effectively improved.
Owner:北京麟卓信息科技有限公司

Systems, methods, and apparatuses for heterogeneous computing

Embodiments of systems, methods, and apparatuses for heterogeneous computing are described. In some embodiments, a hardware heterogeneous scheduler dispatches instructions for execution on one or more plurality of heterogeneous processing elements, the instructions corresponding to a code fragment to be processed by the one or more of the plurality of heterogeneous processing elements, wherein the instructions are native instructions to at least one of the one or more of the plurality of heterogeneous processing elements.
Owner:INTEL CORP

Code automatic vectorization optimization method and device and medium

The invention discloses an automatic code vectorization optimization method and device and a medium, belongs to the technical field of high-performance computing, and aims at solving the problems that existing automatic code vectorization is inconvenient, the manual operation proportion is large, vectorization of irregular codes or codes with a load dependency relationship is difficult to support, and the vectorization efficiency is high. And improvement of calculation performance and reduction of energy consumption are not facilitated. The method comprises the steps of obtaining a scalar instruction diagram of a calculation task according to a calculation kernel of parallel calculation; performing protocol conversion processing on the scalar instruction diagram to obtain a protocol instruction diagram; according to the high-level organization structure of the instruction, grouping processing related to mapping vectors is carried out on the protocol instruction graph, and a grouping graph is obtained; based on the limited vector length of hardware, performing splitting matching processing on instruction vectors in the grouping graph to obtain a vector matching grouping graph; and executing configuration on each group of elements in the vector matching grouping graph to obtain a vector operation graph.
Owner:SHANDONG INSPUR SCI RES INST CO LTD

Method to Translate Natural Language Instructions into System I / O Commands Using Spatial-Textual Screen Context (STSC)

The present invention relates to a computer-implemented system for translating natural language instructions into precise input and output (I / O) commands. The innovative system integrates a computer vision module that captures and analyzes visual elements from a user interface with a high-performance language model that interprets the elements to generate contextually relevant action descriptions. The descriptions are refined by integrating specific screen coordinates, ensuring accuracy and precision in the resulting instructions. The refined instructions are then converted into actionable I / O commands, allowing intuitive interaction with the device through natural language input. The method significantly enhances human-computer interaction, especially for individuals with disabilities by enabling efficient control through natural language. It represents a significant advancement in artificial general intelligence by converting complex linguistic instructions into concrete system actions with broad potential applications across various technological fields.
Owner:WANG SHAOHENG

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

Processor, instruction processing method, and electronic device including processor

Embodiments of the present disclosure provide a processor, an instruction processing method, and an electronic device including the processor. The processor includes a plurality of processor cores and an accelerator module, wherein each of the plurality of processor cores is configured to execute a first type of instruction; the accelerator module includes at least one accelerator engine configured to execute a second type of instruction different from the first type of instruction; the accelerator module is coupled with and shared by the plurality of processor cores, and each of the plurality of processor cores dispatches an object instruction belonging to the second type of instruction in an instruction stream processed by itself to the accelerator module for execution and receives an execution result message of the object instruction from the accelerator module. The processor can have higher accelerator module usage efficiency.
Owner:HYGON INFORMATION TECH CO LTD

Fine-grained multithreaded cores executing fused operations in multiple clock cycles

A multi-core processor configured to improve processing performance in certain computing contexts is provided. The multi-core processor includes multiple processing cores that implement barrel threading to execute multiple instruction threads in parallel while ensuring that the effects of an idle instruction or thread upon the performance of the processor is minimized. The multiple cores can also share a common data cache, thereby minimizing the need for expensive and complex mechanisms to mitigate inter-cache coherency issues. The barrel-threading can minimize the latency impacts associated with a shared data cache. In some examples, the multi-core processor can also include a serial processor configured to execute single threaded programming code that may not yield satisfactory performance in a processing environment that employs barrel threading.
Owner:MOBILEYE VISION TECH LTD

Update of seamless container in vehicles system based on container

A method for updating a container in a container-based vehicle system includes: executing an application included in the container, the application configured to access at least one item included in the container to operate a service related to a vehicle, receiving, from a server, a container image of an update target based on determining an update of the container being needed, the container image including a set of items, storing the received container image of the update target in a system registry, generating a new container by combining a user data item that is generated in the container and the stored container image of the update target, and updating the container by using a container management table on the new container while executing the application. The application reflects the updated container based on items included in the updated container.
Owner:LG ELECTRONICS INC

Hardware acceleration instruction determination method and system, electronic equipment and storage medium

The invention discloses a hardware acceleration instruction determination method and system, electronic equipment and a storage medium, and relates to the field of computers. Preprocessing the to-be-converted code to obtain an algorithm function; determining a register file, a state register, a register operand and an immediate operand according to the algorithm function; adding the register file, the state register, the register operand and the immediate operand into a new file to obtain an instruction; determining an instruction slot occupied by the instruction in a super-long instruction word coding format and a coding method according to actual requirements, and compiling an extended compiling control instruction; compiling the extended compiling control instruction to obtain a processor file; the processor file is used for generating a hardware acceleration instruction. The flexibility and the development efficiency of the hardware processor can be improved, and the debugging and verification difficulty is reduced.
Owner:CHIPEASY TECHNOLOGY (SHANGHAI) LTD

Instruction conversion access conflict optimization method based on instruction stream feature recognition

The invention discloses an instruction stream feature recognition-based instruction conversion memory access conflict optimization method, which comprises the following steps of: in a process of pre-executing an executable file in an ARM (Advanced RISC Machines) many-core system in a dynamic instruction conversion manner, determining shared memories among processes by adopting instruction stream analysis to form a first shared memory list, and on the basis, determining the memory access conflict among the processes; the executable file is loaded and executed again, the memory access type to-be-converted instruction with the memory address located in the first shared memory list is converted into an instruction sequence composed of a locking instruction sequence, a second ARM instruction sequence and an unlocking instruction sequence, and meanwhile conversion execution of the executable file is completed based on a cache consistency protocol. The memory access conflict of the x86 program on the ARM many-core system is obviously reduced, and powerful support is provided for realizing high-performance dynamic instruction conversion.
Owner:北京麟卓信息科技有限公司

Method for converting ladder diagram of PLC into instruction list

The invention relates to the field of programmable logic controller programming software, in particular to a method for converting a ladder diagram of a PLC into an instruction list, which comprises the following steps of: obtaining a mapped AOV diagram by adopting a mode of adding and deleting virtual nodes; generating a logic tree by adopting a series-parallel scanning method of dynamic priority; and after the logic tree structure is obtained, performing subsequent traversal on the logic tree according to the logic relationship described by the logic tree to generate an instruction table structure. Compared with the prior art, a complex ladder diagram is greatly simplified through a preprocessing mechanism, the scanning steps of continuous series connection or continuous parallel connection original parts can be reduced, unnecessary node scanning can be fully reduced through dynamic priority series-parallel connection scanning, and the scanning efficiency is greatly improved; in addition, the method can be widely applied to a complex ladder diagram program in the PLC, and the series-parallel scanning efficiency can be greatly improved.
Owner:CHONGQING UNIV OF POSTS & TELECOMM

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

Industrial internet of things AIOPs workflows

Data flows and data processing modules are provided to fulfill the implementation of: contextualized data collection, scalable analytics, and machine learning operations quality assurance. These modules may be implemented as standalone components, and / or bundled as a group of coordinated microservices. The conversion of raw domain expertise and knowledge into data processors, analytics, and visualization modules for industry oriented Industrial Internet of Things (IIoT) solutions is streamlined.
Owner:ROCKWELL AUTOMATION TECH INC

Information processing device and information processing method

To automatically determine a more memorable macro name. Provided is an information processing device that comprises an utterance learning adaptation unit that executes clustering pertaining to a plurality of function execution instructions by a user and estimates, as a macro, a cluster that includes the plurality of function execution instructions and a response control unit that controls the presentation of information pertaining to the macro, wherein the utterance learning adaptation unit determines a name for the estimated macro on the basis of a context acquired at the time of issuing the plurality of function execution instructions included in the cluster, the response control unit controls a notification of the macro name to the user, and the plurality of function execution instructions include at least one function execution instruction issued via an utterance.
Owner:SONY GROUP CORP

Apparatus and method for vector packed signed / unsigned shift, round, and saturate

Apparatus and method for signed and unsigned shift, round and saturate using different data element values. For example, one embodiment of an apparatus comprises a decoder to decode an instruction having fields for a first packed data source operand to provide a first source data element and a second source data element, a second packed data source operand or immediate to provide a first shift value and a second shift value corresponding to the first source data element and second source data element, respectively, and a packed data destination operand to indicate a first result value and a second result value corresponding to the first source data element and second source data element, and execution circuitry to execute the decoded instruction to: shift the first source data element by an amount based on the first shift value to generate a first shifted data element; shift the second source data element by an amount based on the second shift value to generate a second shifted data element; update a saturation indicator responsive to detecting a saturation condition resulting from the shift of the first and / or second source data elements; round and / or saturate the first and second shifted data elements in accordance with a specified rounding mode and the saturation indicator, respectively, to generate the first and second result data elements; and store the first result value and the second result value in a first data element location and a second data element location in a destination register.
Owner:INTEL CORP

Circuitry and methods for implementing one or more keccak instructions within a single lane of vector execution circuitry

Circuitry and methods for implementing one or more Keccak permutation instructions are described. In certain examples, a hardware processor (e.g., core) includes decoder circuitry to decode a first instruction into a decoded first instruction, the first instruction comprising identifiers of a first register to store a first word of Keccak state value, a second register to store a second word of Keccak state value and a third word of Keccak state value, and a third register to store a fourth word of Keccak state value and a fifth word of Keccak state value according to a SHA3 standard, and an opcode to indicate vector execution circuitry comprising a plurality of lanes is to use only a single lane of the plurality of lanes to perform a column parities operation of a theta step of a Keccak permutation according to the SHA3 standard to determine a computed parity value for an input of the first word of Keccak state value, the second word of Keccak state value, the third word of Keccak state value, the fourth word of Keccak state value, and the fifth word of Keccak state value, and store the computed parity value into an unused upper word of the first register; and the vector execution circuitry to execute the decoded first instruction according to the opcode.
Owner:INTEL CORP

Instructions to convert from FP16 to BF8

Techniques for converting FP16 to BF8 using bias are described. An exemplary embodiment utilizes decoder circuitry to decode a single instruction, the single instruction to include one or more fields to identify a first source operand, one or more fields to identify a second source operand, one or more fields to identify a source / destination operand, and one or more fields for an opcode, wherein the opcode is to indicate that execution circuitry is to convert packed half-precision data from the identified first and second sources to packed bfloat8 data using bias terms from the identified source / destination operand and store the packed bfloat8 data into corresponding data element positions of the identified source / destination operand; and execution circuitry to execute the decoded instruction according to the opcode to convert packed half-precision data from the identified first and second sources to packed bfloat8 data using bias terms from the identified source / destination operand and store the packed bfloat8 data into corresponding data element positions of the identified source / destination operand.
Owner:INTEL CORP

Cracking instructions into a plurality of micro-operations

There is provided an apparatus, method for data processing. The apparatus comprises post decode cracking circuitry responsive to receipt of decoded instructions from decode circuitry of a processing pipeline, to crack the decoded instructions into micro-operations to be processed by processing circuitry of the processing pipeline. The post decode cracking circuitry is responsive to receipt of a decoded instruction suitable for cracking into a plurality of micro-operations including at least one pair of micro-operations having a producer-consumer data dependency, to generate the plurality of micro-operations including a producer micro-operation and a consumer micro-operation, and to assign a transfer register to transfer data between the producer micro-operation and the consumer micro-operation.
Owner:ARM LTD

BFLOAT16 fused multiply instructions

Techniques for performing BF16 FMA in response to an instruction are described. In some examples, an instruction has fields for an opcode, an identification of location of a packed data source / destination operand (a first source), an identification of a location of a second packed data source operand, an identification of a location of a third packed data source operand, and an identification of location of a packed data source / destination operand, wherein the opcode is to indicate operand ordering and that execution circuitry is to, per data element position, perform a BF16 value fused multiply-accumulate operation using the first, second, and third source operands and store a result in a corresponding data element position of the source / destination operand.
Owner:INTEL CORP

Direct saturated in-place floating point into 8-bit integer downconvert instruction(s)

Techniques for converting floating-point to integer are described. An example of an instruction to perform such a conversion includes fields for an opcode, an identification of location of a packed data source operand, an identification of location of a packed data destination operand, an indication of a location in each packed data element of the packed data destination to store an 8-bit integer (INT8) value, wherein the opcode is to indicate to conversion circuitry is to downconvert data of each packed data element of the packed data source operand to an INT8 value and make available for storage the INT8 value in the identified location of a corresponding packed data element of the packed data destination.
Owner:INTEL CORP

Image processor and method for processing an image

The present application relates to image processors and methods for processing images. A method of computing a warp result is disclosed that can include performing, for each target pixel in a set of target pixels, a warp computation process that includes receiving, by a first set of processing units in an array of processing units, a first weight and a second weight associated with the target pixel; receiving, by a second set of processing units in the array, values of neighboring source pixels associated with the target pixel; computing, by the second set, a warp result responsive to the values of the neighboring source pixels and the pair of weights; and providing the warp result to a memory module.
Owner:MOBILEYE VISION TECH LTD

Update of seamless container in vehicles system based on container

A method for updating a container in a container-based vehicle system includes: executing an application included in the container, the application configured to access at least one item included in the container to operate a service related to a vehicle, receiving, from a server, a container image of an update target based on determining an update of the container being needed, the container image including a set of items, storing the received container image of the update target in a system registry, generating a new container by combining a user data item that is generated in the container and the stored container image of the update target, and updating the container by using a container management table on the new container while executing the application. The application reflects the updated container based on items included in the updated container.
Owner:LG ELECTRONICS INC