Replicating test case data into a cache with non-naturally aligned data boundaries
AssigneeInternational Business Machines Corporation
InventorsManoj Dusanapudi, Shakti Kapoor
Life of this patent
Estimating the term…
Abstract
Data is replicated into a memory cache with non-naturally aligned data boundaries to reduce the time needed to generate test cases for testing a processor. Placing data in the non-naturally aligned data boundaries as described herein allows replicated testing of the memory cache while preserving double word and quad word boundaries in segments of the replicated test data. This allows test cases to be generated for a section of memory and then replicated throughout the memory and tested by a single test branching back and using the next strand of the replicated test data in the memory cache.
Claims6
A computer-implemented method executed by at least one processor for testing a computer processor device comprising:
- providing test data comprising a plurality of segments of test data that together make a slice of test data, wherein each segment of the plurality of segments of test data comprise sub-segments of test data with seven words including one word, one double word and one quad word sub-segment on double word and quad word boundaries, and wherein the sub-segments are arranged in different orders in subsequent segments of the test data;
- placing multiple instances of the slice of test data in consecutive locations in a cache memory;
- and
- running a test code on the multiple instances of the slice of test data with non-naturally aligned boundaries by branching back to rerun the test code on each of the slices of test data.
A computer-implemented method executed by at least one processor for testing a computer processor device comprising:
- providing test data comprising a plurality of segments with seven words of test data that together make a slice of test data wherein each segment of the plurality of segments of test data comprise sub-segments of test data with seven words that include one word, one double word and one quad word sub-segment on double word and quad word boundaries and the sub-segments are arranged in different orders in subsequent segments of the test data;
- placing multiple instances of the test data as slices of test data in consecutive locations in a cache memory;
- and
- running a test code on the consecutive slices of test data with non-naturally aligned boundaries comprising:
- executing test code with one or more test cases on a first slice of test data of the plurality of slices of test data using a base offset;
- determining if there are additional slices of test data;
- and
- where there are additional slices of test data, modifying the base offset to point to a next slice of test data and branching back to execute the test code with the modified base offset.
Dependencies are inferred from the claim text.