[PATCH v2 2/2] covoar/TargetBase: Fix QEMU branch info
Alex White
alex.white at oarcorp.com
Wed Mar 24 13:45:08 UTC 2021
The taken/not taken bit was being interpreted incorrectly. This led
to branches being marked "always taken" when they were never taken.
This has been fixed.
---
tester/covoar/TargetBase.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tester/covoar/TargetBase.cc b/tester/covoar/TargetBase.cc
index 4474fad..c11129b 100644
--- a/tester/covoar/TargetBase.cc
+++ b/tester/covoar/TargetBase.cc
@@ -130,12 +130,12 @@ namespace Target {
uint8_t TargetBase::qemuTakenBit(void)
{
- return TRACE_OP_BR0;
+ return TRACE_OP_BR1;
}
uint8_t TargetBase::qemuNotTakenBit(void)
{
- return TRACE_OP_BR1;
+ return TRACE_OP_BR0;
}
}
--
2.27.0
More information about the devel
mailing list