UoB-HPC / SimEng

The University of Bristol HPC Simulation Engine
https://uob-hpc.github.io/SimEng
Apache License 2.0
86 stars 15 forks source link

Group Tests #419

Closed dANW34V3R closed 2 weeks ago

dANW34V3R commented 2 months ago

Add infrastructure for testing the groups assigned to each micro-op of a macro-op, along with 3 example tests but no extensive usage. Expected micro-op groups should be provided in the order which micro-ops are held in the MacroOp structure.

Code in RegressionTest.cc has been refactored to reduce repetition. This is a little hard to decipher purely from the diff provided by GitHub. Similar reductions in repetition have also been performed in the child classes.

I plan to provide more extensive testing in a future PR.