Homework B (benchmarks)

This commit is contained in:
Carlos Galindo 2020-01-15 22:38:07 +01:00
parent 72cc3206c4
commit 76fbabdf53
Signed by: kauron
GPG key ID: 83E68706DEE119A3
141 changed files with 7540 additions and 2032 deletions

View file

@ -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.