Skip to content

Group Tests#419

Merged
dANW34V3R merged 19 commits intodevfrom
groupTests
Aug 29, 2024
Merged

Group Tests#419
dANW34V3R merged 19 commits intodevfrom
groupTests

Conversation

@dANW34V3R
Copy link
Copy Markdown
Contributor

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.

@dANW34V3R dANW34V3R requested review from ABenC377, FinnWilkinson, JosephMoore25 and jj16791 and removed request for FinnWilkinson and jj16791 July 8, 2024 16:16
Comment thread test/regression/riscv/RISCVRegressionTest.cc Outdated
Comment thread test/regression/aarch64/MicroOperation.cc
Comment thread test/regression/aarch64/AArch64RegressionTest.cc Outdated
@dANW34V3R dANW34V3R mentioned this pull request Jul 9, 2024
Copy link
Copy Markdown
Contributor

@ABenC377 ABenC377 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Mainly minor comments about the use of the words Create and Instantiate throughout.

Comment thread test/regression/RegressionTest.cc Outdated
Comment thread test/regression/RegressionTest.cc
Comment thread test/regression/RegressionTest.hh Outdated
Comment thread test/regression/RegressionTest.hh Outdated
Comment thread test/regression/RegressionTest.hh
Comment thread test/regression/RegressionTest.hh Outdated
Comment thread test/regression/RegressionTest.hh Outdated
Comment thread test/regression/riscv/RISCVRegressionTest.hh
Comment thread test/regression/riscv/RISCVRegressionTest.hh Outdated
ABenC377
ABenC377 previously approved these changes Jul 16, 2024
Copy link
Copy Markdown
Contributor

@ABenC377 ABenC377 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌🏻

Comment thread test/regression/RegressionTest.cc
Comment thread test/regression/RegressionTest.cc Outdated
Comment thread test/regression/RegressionTest.cc Outdated
Comment thread test/regression/RegressionTest.hh Outdated
Comment thread test/regression/RegressionTest.hh Outdated
jj16791
jj16791 previously approved these changes Aug 9, 2024
Copy link
Copy Markdown
Contributor

@FinnWilkinson FinnWilkinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good, just a few minor points

Comment thread test/regression/RegressionTest.cc Outdated
Comment thread test/regression/riscv/instructions/atomic.cc
JosephMoore25
JosephMoore25 previously approved these changes Aug 16, 2024
Copy link
Copy Markdown
Contributor

@JosephMoore25 JosephMoore25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean PR and implementation. Makes it easy to add group tests, and the background logic all looks sound. Nice work

@jj16791 jj16791 assigned jj16791 and unassigned jj16791 Aug 20, 2024
Copy link
Copy Markdown
Contributor

@FinnWilkinson FinnWilkinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@dANW34V3R dANW34V3R requested a review from ABenC377 August 23, 2024 10:59
@jj16791 jj16791 self-assigned this Aug 23, 2024
@dANW34V3R dANW34V3R merged commit 4134c3e into dev Aug 29, 2024
@dANW34V3R dANW34V3R deleted the groupTests branch August 29, 2024 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants