[PATCH 08/22] covoar/TargetBase: Fix QEMU branch info
Alex White
alexanderjwhite at gmail.com
Mon Mar 1 20:01:15 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