1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-05 10:28:58 +00:00

With the difference in RESET times now factored out, test timing too.

This commit is contained in:
Thomas Harte 2022-06-10 16:12:54 -04:00
parent 2e4652209b
commit 43c0dea1bd

View File

@ -60,7 +60,7 @@ struct Transaction {
bool read = false;
bool operator !=(const Transaction &rhs) const {
// if(timestamp != rhs.timestamp) return true;
if(timestamp != rhs.timestamp) return true;
// if(function_code != rhs.function_code) return true;
if(address != rhs.address) return true;
if(value != rhs.value) return true;
@ -255,7 +255,7 @@ template <typename M68000> struct Tester {
// Use a fixed seed to guarantee continuity across repeated runs.
srand(68000);
std::set<InstructionSet::M68k::Operation> test_set = {
std::set<InstructionSet::M68k::Operation> test_set;/* = {
// InstructionSet::M68k::Operation::ABCD, // Old implementation doesn't match flamewing tests, sometimes produces incorrect results.
// InstructionSet::M68k::Operation::SBCD, // Old implementation doesn't match flamewing tests, sometimes produces incorrect results.
// InstructionSet::M68k::Operation::MOVEb,
@ -268,7 +268,7 @@ template <typename M68000> struct Tester {
// InstructionSet::M68k::Operation::DIVU,
// InstructionSet::M68k::Operation::DIVS,
// InstructionSet::M68k::Operation::TAS, // Old implementation just doesn't match published cycle counts.
};
};*/
std::set<InstructionSet::M68k::Operation> failing_operations;
for(int c = 0; c < 65536; c++) {