fuzz_with_unicorn: Compare vectors

This commit is contained in:
MerryMage 2018-01-23 17:45:34 +00:00
parent 394bd57bb6
commit 2a493f8b50

View file

@ -89,6 +89,7 @@ static void RunTestInstance(const std::array<u64, 31>& regs, const std::array<Ve
uni.Run(); uni.Run();
REQUIRE(uni.GetRegisters() == jit.GetRegisters()); REQUIRE(uni.GetRegisters() == jit.GetRegisters());
REQUIRE(uni.GetVectors() == jit.GetVectors());
REQUIRE(uni.GetPC() == jit.GetPC()); REQUIRE(uni.GetPC() == jit.GetPC());
REQUIRE(uni.GetSP() == jit.GetSP()); REQUIRE(uni.GetSP() == jit.GetSP());
REQUIRE((uni.GetPstate() & 0xF0000000) == (jit.GetPstate() & 0xF0000000)); REQUIRE((uni.GetPstate() & 0xF0000000) == (jit.GetPstate() & 0xF0000000));