Browse Prior Art Database

Method and System for Optimizing Test Execution of a Test Case by Managing Registers

IP.com Disclosure Number: IPCOM000199362D
Publication Date: 2010-Aug-31
Document File: 2 page(s) / 64K

Publishing Venue

The IP.com Prior Art Database

Abstract

A method and system for optimizing test execution of a test case by managing registers is disclosed. The method includes associating one or more registers to a corresponding data type based on a data type that the one or more registers are required to handle. Thereafter, a test case instruction selects a register based on a desired data type associated with the register.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 53% of the total text.

Page 1 of 2

Method and System for Optimizing Test Execution of a Test Case by Managing Registers

Disclosed is a method and system for optimizing test execution of a test case by managing registers.

In a scenario, during an execution of a test instruction, a register selected to be used in a test case execution may not be verified for a data type before the selection. Also, the data type desired may not be identified during the test case execution. This may lead towards generation of exceptions further resulting in slow execution of the test case.

The disclosed method and system enables management of registers for optimizing execution of test cases. The method includes defining one or more categories based on one or more data types that one or more registers may hold. Each category is associated with a data type. Thereafter, one or more registers are associated with each category based on a data type that the one or more registers are required to hold. The method ensures that a register is associated with only one category.

In order to refer to the one or more categories, an index value is provided to each of the one or more categories. Using an index value, one or more registers are associated with a category. Once the one or more registers are associated with the category, the one or more registers are stored as a link list.

Figure

Thereafter, the abovementioned information is utilized while building a test case including one or more test case instructions. Usually, test case instructions are stored in an instruction table. The instruction table includes one or more rows corresponding to one or more test case instructions.

1

[This page contains 1 picture or other non-text object]

Page 2 of 2

A test case instruction includes an opcode & extended opcode mask, a position of operand in a 32bit machine code and an operand data type. The test case instruction may be represented as:

(op

_eop

_mask,op1

pos,op1

_data

_type,op2

_

pos,op2

_data

_type,op3

_

pos,op3

_data

_ty

pe, target

_

pos, target

__data

_type)

Thereafter, the test case instruction is used for building a machine code. A command for building a machine code from the test case instruction may be represented as:

op

_eop

_

mask|op1

reg <<op1

_

pos |...