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

93 results about "Conditional branch" patented technology

Conditional Branches. A conditional branch instruction branches to a new address only if a certain condition is true. Usually the condition is about the values in two registers.

Building intelligent operation and maintenance workflow construction method and equipment

According to the building intelligent operation and maintenance workflow construction method and device, the user operation threshold is lowered, non-technical personnel are allowed to do not need to understand complex BMS interface and API interface details or professional programming skills by supporting multi-modal natural language interaction, and the user experience is improved. Fine control, data query and task scheduling can be directly performed on the building system through a daily language instruction; cross-system and multi-step operation and maintenance automation is realized, the system can intelligently analyze and convert a single natural language instruction into a complex API calling workflow which aims at a plurality of heterogeneous building systems, is logically coherent and has conditional branches and cycles, and the operation and maintenance efficiency and the response speed are greatly improved; the method has heterogeneous system integration capability and dynamic adaptability, various new and old building system APIs adopting different protocols and data formats can be flexibly integrated through a semantic API knowledge base and a dynamic adapter generation technology, and the problems that a traditional BMS is complex in integration and poor in compatibility are solved.
Owner:SHANGHAI CONSTRUCTION FOURTH CONSTRUCTION GROUP CO LTD

Branch prediction method, cyclic stack structure and related equipment

The invention provides a branch prediction method, a loop stack structure and related equipment, and the method comprises the steps: obtaining a branch instruction, determining whether the branch instruction belongs to a target instruction or not, and enabling the target instruction to be a backward jump condition branch instruction; if the branch instruction belongs to the target instruction, executing a first updating operation for a loop stack according to the branch instruction; if the branch instruction does not belong to the target instruction, the type of the branch instruction is determined, a second updating operation is executed on the loop stack according to the type of the branch instruction, and the type of the branch instruction comprises a calling function type, a loop jumping-out type and a returning type.
Owner:PHYTIUM TECH CO LTD

Hand-eye cooperative robot control system and method based on dynamic operator arrangement

The invention discloses a hand-eye cooperative robot control system and method based on dynamic operator arrangement, an upper computer planning layer operates a master control computer to periodically trigger task scheduling, a joint controller of a lower computer execution layer receives an instruction through a redundant bus to perform servo control, hand-eye camera data triggers a visual assembly line through an interrupt event, and a visual assembly line is controlled through a control interface. According to the method, pressure is calculated through visual processing, motion planning and joint control in a load sharing mode, a double-buffering mechanism is adopted to enable current frame visual processing and previous frame motion control to be executed in an overlapping mode, real-time scheduling and parallel computing of tasks are completed, hot data are cached in a memory database, cold data are archived to an HDFS and migrated through an LRU strategy, and the real-time scheduling and parallel computing of the tasks are completed. Data type conversion is automatically derived and performed based on a feature type registry, and conditional branch execution is triggered according to real-time sensor data. According to the control system, cross-hardware plug and play, algorithm flow configurability and data flow real-time sharing are achieved, and the requirement for improving the efficiency of complex operation tasks is met.
Owner:SUPER HIGH VOLTAGE BRANCH OF STATE GRID JIANGXI ELECTRIC POWER CO LTD

Circuitry and methods for a conditional fence instruction

Circuitry and methods for implementing conditional fence instructions are described. In certain examples, a hardware processor (e.g., core) includes a branch predictor to predict one of a taken path and a not taken path for a conditional branch instruction; decoder circuitry to decode an instruction into a decoded instruction, the instruction comprising a field that indicates a condition to be set by execution of another instruction, and an opcode that indicates execution circuitry is to, in response to the condition being satisfied, implement an execution fence to delay execution of the instruction until prior instructions in program order execute and delay execution of instructions after the instruction in program order until the instruction executes; and the execution circuitry to execute the decoded instruction according to the opcode.
Owner:INTEL CORP

Analysis function imparting method, analysis function imparting device, and analysis function imparting program

An analysis function providing method executed by an analysis function providing device includes first analyzing a virtual machine of a script engine and acquiring a virtual program counter that is a variable indicating an instruction of the virtual machine to be executed next and a conditional branch flag that is an area for holding a flag as to whether or not branch is made at a time of conditional branch in an execution state, and providing an analysis function to the script engine by applying a hook including processing of detecting an instruction sequence a number of times of repeated execution of which is greater than or equal to a threshold and stopping execution of the instruction sequence by rewriting a condition related to a conditional branch at an end of the instruction sequence on a basis of the virtual program counter and the conditional branch flag.
Owner:NT T INC

Production scheduling method and system based on multiple process branches

The invention discloses a production scheduling method and system based on multiple process branches. The method comprises the following steps of: analyzing a process route containing parallel or conditional branches, enumerating all complete process routes, respectively performing pre-scheduling simulation, allocating resources for a process and calculating time; evaluating and scoring each scheme by using a multi-target evaluation model; and finally, selecting and outputting an optimal scheduling scheme according to the score. According to the invention, by enumerating all complete process paths and simulation, the plan robustness is improved, conflict coordination of shared resources is realized, and idle equipment is reduced; the resource utilization rate, the order delivery time and the load balance are optimized through multi-target evaluation, so that the production cycle is shortened, the cost is reduced, and the scheduling automation level is enhanced.
Owner:RUIXI (SUZHOU) INTELLIGENT TECH CO LTD

Method, computer program, computer-readable data carrier and computing device for deterministic execution of an instruction set as well as apparatus comprising same

A method, computer program (3), computer-readable data-carrier (4), computing device (2), and apparatus (1), such as a vehicle, in particular an aircraft, for deterministic execution of an instruction set (I) containing instructions (M) to be carried out by a processing unit (11) of the computing device (2), are provided, the method comprising the steps of executing a predefined number of pre-branch instructions (A) up to a conditional branch (C) of the instruction set (I) containing at least one branch condition determining a subsequent instruction which is to be executed after the conditional branch (C); predicting at least one of the pre-branch instructions (A) and / or a target instruction (T) to be executed as the subsequent instruction if the at least one condition is met; and inserting the at least one predicted pre-branch instruction (A) and / or the target instruction (T) into the instruction set (I) after the conditional branch (C).
Owner:AIRBUS (SAS)

Network module verification process generation method and system and storage medium

The invention relates to a network module verification process generation method and system and a storage medium, and relates to the technical field of embedded communication, and the method comprises the steps: S1, obtaining a to-be-analyzed AT instruction document, and carrying out the preprocessing of the AT instruction document, and obtaining a plurality of plain text segments; s2, inputting the plain text segment into a preset semantic analysis engine for semantic extraction to obtain a semantic triple; s3, constructing an AT instruction knowledge graph according to the semantic triple; and S4, generating a network module verification process corresponding to the AT instruction document according to the AT instruction knowledge graph. Compared with the prior art, the method has the advantages that zero manual reading can be realized, multi-language and multi-format documents are supported, the time sequence, dependency and conditional branches among instructions are understood, an executable graphical verification process is automatically generated, and incremental updating is supported.
Owner:SOUTH SURVEYING & MAPPING INSTR

Computer-implemented workflow generation method, information processing apparatus, and non-transitory computer-readable recording medium

A computer-implemented workflow generation method in which a computer executes processing of calculating, in a case where a conditional branch item included in a workflow is acquired, an indicator value in a case where any one of a plurality of candidate items is used by using a machine learning model, by referring to a storage that stores the plurality of candidate items satisfying a condition of a branch destination corresponding to the conditional branch item and the machine learning model that calculates the indicator value of each of the plurality of candidate items, selecting an item of which the calculated indicator value satisfies a predetermined condition from among the plurality of candidate items, and generating a workflow in which the selected item is arranged at the branch destination of the conditional branch item.
Owner:FUJITSU LTD

Code processing method and device, electronic equipment and readable medium

The embodiment of the invention provides a code processing method and device, electronic equipment and a readable medium, and relates to the technical field of compilation, in the method, in the conversion process of source codes, any conditional branch statement contained in the source codes is detected. If it is detected that the code logic of the conditional branch statement conforms to the specified code logic, determining the conditional branch statement as a statement to be optimized; the code logic is used for representing the operation indicated by the conditional branch statement. And based on the related parameters defined by the to-be-optimized statement, converting the to-be-optimized statement into a non-branch instruction group for realizing code logic of the to-be-optimized statement. Compared with a mode of converting the conditional branch statements into the conditional branch instructions, the method and the device have the advantage that the statements to be optimized are converted into the non-branch instruction groups for realizing the code logic of the statements to be optimized. Therefore, the number of the generated branch instructions can be reduced under the condition of ensuring normal implementation of code logic, so that the subsequent execution performance can be improved.
Owner:LOONGSON TECH CORP

Malicious behavior detection method for detecting malicious behavior by analyzing program code, recording medium and apparatus for performing the same

A method of detecting malicious behavior in a malicious behavior detection apparatus that detects malicious behavior by analyzing the code of a program, comprises generating a first control flow graph (CFG) by performing dynamic analysis on the program, generating a second CFG by extracting a code block that is likely to be executed by a conditional branch instruction included in the program, and comparing the first CFG and the second CFG to detect hidden code included in the program, and detecting a malicious behavior of the program by determining whether the detected hidden code is a malicious code. According to the constitutions, the time it takes to discover and respond to new types of malicious code can be shorten by extracting hidden code related to the malicious behavior and detecting malicious behavior.
Owner:FOUND OF SOONGSIL UNIV IND COOP

Method, Computer Program, Computer-Readable Data Carrier And Computing Device For Deterministic Execution Of An Instruction Set As Well As Apparatus Comprising Same

A method for deterministic execution of an instruction set (I) containing instructions (M) to be carried out by a processing unit of the computing device includes the steps of executing a predefined number of pre-branch instructions (A) up to a conditional branch (C) of the instruction set (I) containing at least one branch condition determining a subsequent instruction which is to be executed after the conditional branch (C); predicting at least one of the pre-branch instructions (A) and / or a target instruction (T) to be executed as the subsequent instruction if the at least one condition is met; and inserting the at least one predicted pre-branch instruction (A) and / or the target instruction (T) into the instruction set (I) after the conditional branch (C). A computer program, computer-readable data-carrier, computing device, and apparatus, such as a vehicle, in particular an aircraft may be configured to perform the method.
Owner:AIRBUS (SAS)

Branch prediction method, device and system, computer device, medium and product

ActiveCN121029243AConcurrent instruction executionLogical depthSimulation
The embodiment of the invention discloses a branch prediction method, device and system, a computer device, a medium and a product. The branch prediction method comprises the following steps: at least dividing a jump threshold value of a first direction predictor into a first jump threshold value and a second jump threshold value which respectively correspond to an unconditional branch and a conditional branch of a zero-delay branch target buffer; according to the hit result, determining a jump threshold corresponding to the first direction predictor and jump thresholds of other direction predictors; if the determined jump threshold value corresponding to the first direction predictor is a first jump threshold value, determining a jump prediction result according to a symbol of the first jump threshold value; and if the determined jump threshold value corresponding to the first direction predictor is a second jump threshold value, performing addition operation on the second jump threshold value and jump threshold values of other direction predictors, and determining a jump prediction result according to a symbol of an addition operation result. According to the method, the logic depth of the ZBTB can be reduced, the capacity of the ZBTB can be improved, and the BP prediction speed can be improved.
Owner:HYGON INFORMATION TECH CO LTD

Multi-layer nested service visual scheduling engine and method based on graph structure

The invention relates to a multi-layer nested service visual scheduling engine and method based on a graph structure, and belongs to the technical field of visual programming. The engine comprises a visual design module, a graph analysis module and a logic judgment module which are in communication connection with one another; the visual design module is used for constructing a business flow chart by dragging nodes, drawing edges and setting nested nodes, and the chart analysis module is used for converting the business flow chart into a task execution plan. And the logic judgment module is used for determining a concurrent and serial execution sequence of a plurality of tasks and an execution path of a conditional branch according to the task execution plan, and generating a logic judgment result.
Owner:GUANGDONG NANGUO PHARM CO LTD +1

Instruction processing method and apparatus, processor, electronic device, and storage medium

Embodiments of this disclosure provide an instruction processing method and apparatus, a processor, an electronic device, and a storage medium. The instruction processing method includes, in response to identifying a first conditional branch instruction with a back jump from an instruction stream, recording instruction information of the first conditional branch instruction; in response to identifying the first conditional branch instruction with a back jump at least once more, determining that the first conditional branch instruction is an end branch instruction in a loop body instruction and performing a backfilling operation on the loop body instruction, the loop body instruction including at least one second branch instruction other than the first conditional branch instruction; performing the backfilling operation on the loop body instruction includes: backfilling the instruction information of the second branch instruction into an instruction information cache; invoking a branch predictor to obtain first prediction information of the second branch instruction, and backfilling the first prediction information into a branch instruction information cache. This instruction processing method expands the scope of loop body instruction recognition and reduces cache access power consumption.
Owner:BEIJING ESWIN COMPUTING TECH CO LTD

A method and device for processing instruction address misalignment exception

The present invention discloses a method and device for processing an instruction fetch address misalignment exception. The method of the present invention splits an unconditional jump instruction into a first operation of calculating a link address and writing the result into a destination register, and a second operation of calculating a branch target address and completing the jump, and executes them in an integer calculation unit and a branch unit respectively. The conditional branch instruction only includes the first operation of calculating a branch target address and determining whether to jump, which is executed in the branch unit. The branch unit only implements one calculation module and does not set a result write bus. A completion field and a misalignment field are set in the ROB, and these two fields are updated when the operation is dispatched and executed. After the operation is executed, the first operation checks the misalignment field of its corresponding item in the ROB to determine whether to report an instruction fetch address misalignment exception. The present invention aims to provide a method for processing an instruction fetch address misalignment exception with low area overhead for an out-of-order superscalar processor of the RISC‑V architecture.
Owner:NAT UNIV OF DEFENSE TECH

A dynamic patching-based evasion malware detection method and system

PendingCN122365490ATerm memoryMalware
The application discloses an evasive malicious software detection method and system based on dynamic plug-in. The method is as follows: deploying anti-anti-plug-in strategy, constructing trapping environment; inserting monitoring code in multiple levels of the trapping environment, establishing multi-level and fine-grained program behavior monitoring; for each target program in the trapping environment, after the probe instruction or function in the monitoring code is executed, the memory buffer area or register used for storing the probe result is dynamically identified and marked; the probe result is continuously monitored, when the probe result is tracked to be used for comparison instruction and affects the jump of subsequent conditional branch instruction, it is determined that the target program has a "probe-decision" logic chain; when the target program has one or more "probe-decision" logic chains, it is determined that the target program is evasive malicious software. The application can realize accurate, robust and automatic identification of evasive behavior.
Owner:INSTITUTE OF INFORMATION ENGINEERING CHINESE ACADEMY OF SCIENCES

Low-code service configuration engine and configuration method thereof

The invention relates to the technical field of low codes, in particular to a low-code service configuration engine and a configuration method thereof. The device comprises a relation unit execution module used for defining and executing an input-operation-output relation unit; the JSON configuration analysis module is used for analyzing a configuration file in a JSON format, the configuration file comprises version information, variable initialization configuration and task configuration, and system behaviors are defined in a declarative configuration mode; the hardware abstract interface module is used for providing an operation interface irrelevant to hardware and realizing complete abstraction of hardware operation through a callback mechanism; the backup storage module is used for storing and backing up the configuration file by adopting two storage slots, and each storage slot is provided with a configurable storage space; and the real-time multi-task execution module is used for task scheduling and execution based on RTOS and supports multi-task parallel execution, conditional branching and loop control. According to the invention, the development complexity of the industrial control system is reduced, and non-technical personnel can quickly configure complex control logic.
Owner:SHANGHAI SECOND POLYTECHNIC UNIVERSITY

Conditional branching for a federated graph query plan

Example solutions for optimizing an initial query execution plan for a federated database includes identifying a group of operations in the initial query execution plan that conform to a recognized pattern including fetching data from a data store. Based on detection of the pattern and of the presence of a condition, an optimized query execution plan is created from the initial query execution plan by replacing the group of operations with a first execution branch and a second execution branch, wherein the optimized query execution plan executes at least one of the first and second execution branches. The first execution branch includes first operations for fetching the data from a first data store and the second execution branch comprise second operations for fetching at least a subset of the data from a second data store.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Circuits and methods for conditional fence instructions

Circuits and methods for conditional fence instructions are described. In some examples, a hardware processor (e.g., a core) includes a branch predictor to predict one of an taken path and an untaken path of a conditional branch instruction; decoder circuitry to decode an instruction to a decoded instruction, the instruction including a field indicating a condition set by executing another instruction and an opcode indicating that the execution circuitry will implement an execution fence in response to the condition being satisfied to delay execution of the instruction prior to execution of a previous instruction in a program order, the opcode indicating that the execution circuitry will implement the execution fence in response to the condition being satisfied. And before the instruction is executed, delaying execution of an instruction following the instruction according to the program order; and the execution circuit is used for executing the decoded instruction according to the operation code.
Owner:INTEL CORP

Processing for processors performing tasks having forward conditional branch instructions

Various embodiments described herein control circuitry of a computing device to invalidate certain data elements associated with a forward conditional branch instruction (FCBI) to prevent computational inefficiencies, such pipeline flush. The data elements that are invalidated may correspond to conditional code associated with an FCBI. To make FCBIs more efficient, certain embodiments continue with a not-taken path that is invalidated if a branch resolves to be taken. This results in efficiencies because either the prediction was correct; or when the wrong path is taken, the wrong path is invalidated, thereby avoiding any resource utilization in redirection. In this manner, the FCBI may be executed more quickly or efficiently because certain data elements, such as the conditional code, are invalidated. Accordingly, certain embodiments improve computational inefficiencies, enhance performance of complex computational workloads with certain branches, and reduce or altogether eliminate pipeline stall and flushing for certain workloads.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Interrupt simulation device, interrupt simulation method and non-transitory computer readable medium

An interrupt simulation device (10) includes an accumulation addition unit (14) and a branch addition unit (15). The accumulation addition unit (14) adds an accumulation addition process to add a value corresponding to an estimated execution time of a target basic block to a counter variable corresponding to a cumulative execution time of a target program (20) when the target basic block is executed in the target program (20) in a case in which each basic block of multiple basic blocks are regarded as the target basic block when the target program (20) being a computer program is divided into the multiple basic blocks. The branch addition unit (15) adds a conditional branching process that is executed when a value of the counter variable satisfies an ignition reference condition, to the target program (20).
Owner:MITSUBISHI ELECTRIC CORP

A multi-branch predictor and prediction method based on a RISC-V processor

ActiveCN120179292BConcurrent instruction executionReturn address stackBranch
The application belongs to the technical field of processor branch prediction, and specifically discloses a multi-branch predictor and a prediction method based on a RISC-V processor. The multi-branch predictor comprises two-stage branch prediction modules, the first-stage branch prediction module comprises an L0 BTB submodule and an L0 UBTB submodule, and the second-stage branch prediction module comprises an L1 BTB submodule, a COTTAGE submodule and an RAS return address stack submodule. The prediction method is predicted through the pipeline of the first-stage and second-stage branch prediction modules, is fully adapted to RISC-V instructions, the L0 UBTB submodule reduces frequent access to the second-stage module, and also reduces the frequent occurrence of incorrect instructions, the COTTAGE submodule integrates a TAGE predictor and an ITTAGE predictor to adapt to conditional branch jumps, indirect jumps and call / ret instructions, so that the execution efficiency of the processor front end is improved with lower power consumption on the basis of basically adapting to all RISC-V complex instructions.
Owner:HUBEI UNIV

Program control flow visualization method and system, electronic device

This invention relates to computer programming and software engineering technology, specifically to a program control flow visualization method and system, and an electronic device. The program control flow visualization method includes: receiving an abstract syntax tree generated by a parser after parsing the program control flow source code through a receiving module; converting the control flow statements contained in the abstract syntax tree into a standardized flow graph containing only if / else conditional branches and unconditional edges through a conversion module according to a preset reduction rule; and adjusting the positions of unconditional edges and corresponding nodes and edges of each statement in the standardized flow graph through an image processing module according to an orthogonal layout method and / or a conflict elimination method, so as to optimize the standardized flow graph into a non-intersecting visual layout graphic.
Owner:SHANGHAI TOSUN TECH LTD

Instruction processing method and apparatus, electronic device, chip, and storage medium

This disclosure proposes an instruction processing method, apparatus, electronic device, chip, and storage medium. The method includes: responding to the current instruction being a conditional branch instruction, using a first branch predictor to predict the branch direction of the current instruction to obtain a first prediction result; wherein the first prediction result is used to indicate whether a jump occurs after the current instruction is executed; responding to the current instruction being a loop branch instruction, using a second branch predictor to predict the branch direction of the current instruction to obtain a second prediction result; wherein the second prediction result is used to indicate whether a jump occurs after the current instruction is executed; responding to the second prediction result differing from the first prediction result, using the second prediction result to correct the first prediction result, thereby improving the accuracy of the first prediction result. Based on the accurate first prediction result, performance loss caused by prediction errors can be reduced.
Owner:BEIJING X RING TECHNOLOGY CO LTD

Programmable GPU command buffers using mutable command lists

Technology to program graphics processing unit (GPU) command buffers can include a processor and memory storing instructions which, when executed, cause the processor to compile a source file to generate a command list, where the command list includes hardware-specific executable commands for a GPU, and dispatch the command list to a command buffer for execution by the GPU. The command list can be dispatched via an application programming interface (API) call to a graphics driver, where the API call bypasses generating GPU commands for the command list and the graphics driver bypasses encoding the hardware-specific executable commands in the command list. Source files can include function calls specific to GPU hardware blocks, where the command list includes executable commands directed to the GPU hardware blocks based on the function calls. The command list can include an executable loop command, an executable conditional branch command, and / or an executable jump command.
Owner:INTEL CORP

Conditional branch coverage calculation method, device, computer equipment, and storage medium

The present application relates to a method, apparatus, computer device, storage medium, and computer program product for calculating conditional branch coverage. The method comprises: obtaining the code type of uncovered conditional branch code lines in the target code, and obtaining annotation information corresponding to the uncovered conditional branch code lines based on the code type; obtaining coverage parameters corresponding to the uncovered conditional branch code lines based on the annotation information corresponding to the uncovered conditional branch code lines; and calculating the conditional branch coverage corresponding to the target code based on the coverage parameters corresponding to the uncovered conditional branch code lines and the total number of conditional branch code lines in the target code. This method can eliminate conditional branch code lines that do not need to be counted based on the annotation information corresponding to each conditional branch code line, thereby improving the calculation accuracy of the conditional branch coverage.
Owner:GLENFLY TECH CO LTD

Programmable GPU command buffers using mutable command lists

Technology to program graphics processing unit (GPU) command buffers can include a processor and memory storing instructions which, when executed, cause the processor to compile a source file to generate a command list, where the command list includes hardware-specific executable commands for a GPU, and dispatch the command list to a command buffer for execution by the GPU. The command list can be dispatched via an application programming interface (API) call to a graphics driver, where the API call bypasses generating GPU commands for the command list and the graphics driver bypasses encoding the hardware-specific executable commands in the command list. Source files can include function calls specific to GPU hardware blocks, where the command list includes executable commands directed to the GPU hardware blocks based on the function calls. The command list can include an executable loop command, an executable conditional branch command, and / or an executable jump command.
Owner:INTEL CORP