Homework B (benchmarks)
This commit is contained in:
parent
72cc3206c4
commit
76fbabdf53
141 changed files with 7540 additions and 2032 deletions
|
@ -61,6 +61,9 @@ abstract public class AbstractTestAgainstFrozenReference {
|
|||
{
|
||||
if (passedSemanticAnalysis) {
|
||||
testCodeGenerator(astRoots);
|
||||
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -108,7 +111,7 @@ abstract public class AbstractTestAgainstFrozenReference {
|
|||
|
||||
private static String referenceVersion() {
|
||||
{
|
||||
return "CD_HW_CODEGEN_FULL_SOL";
|
||||
return "BENCH";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -194,7 +197,7 @@ abstract public class AbstractTestAgainstFrozenReference {
|
|||
return res;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Run the code generator, assemble the resulting .s file, and (if the output
|
||||
* is well-defined) compare against the expected output.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue