发明名称 Method, system, and computer program product to generate test instruction streams while guaranteeing loop termination
摘要 A method, system, and computer program product for generating terminating, pseudo-random test instruction streams, including forward and backward branching instructions. A first instruction stream is generated, including at least one backward branching instruction and at least one forward branching instruction. Each backward branching instruction is preceded by at least one forward branching instruction, which is used to guarantee termination of the loop formed by the backward branching instruction. Backward branching targets are resolved when the backward branching instruction is inserted into the first instruction stream. Forward branching targets remain unresolved in the first instruction stream. A set of potential branch targets is determined for each forward branching instruction. For each forward branching instruction, a branch target is randomly selected from the set of potential branch targets for that forward branching instruction. The final terminating instruction stream consists of the first stream, with all forward branch targets resolved.
申请公布号 US7877742(B2) 申请公布日期 2011.01.25
申请号 US20060449318 申请日期 2006.06.08
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 DUALE ALI Y.;BOHIZIC THEODORE J.;WITTIG DENNIS W.
分类号 G06F9/45;G06F9/44;G06F11/263;G06F15/00 主分类号 G06F9/45
代理机构 代理人
主权项
地址