Implement means of managing the use of registers in a test program
Need facilities to choose registers that are not in use and to make them free.
"Task 4 – get_register/free_register that talks to the model. Used by the branch engine as well to get/free registers that it requires. Must support parameters such as exclusion, and cpuID (or a function to reset which registers are reserved)"
#1 Updated by Andrei Tatarnikov almost 3 years ago
- Status changed from New to Open
- % Done changed from 0 to 50
get_register/free_register were implemented. But they, currently, do not support the following stuff:
Must support parameters such as exclusion, and cpuID (or a function to reset which registers are reserved)"
#2 Updated by Andrei Tatarnikov almost 3 years ago
- Implement exclusions. The
get_registerfunction should support selecting registers excluding some listed items. For example, it can look like this:
get_register(:exclude => [x1, x2, x29])
- Implement the
free_all_registersfunction. This is needed to describe test cases for multcore processors.