[rtems-tools commit] Revert "covoar/TargetBase: Fix QEMU branch info"

Joel Sherrill joel at rtems.org
Fri Apr 16 22:28:59 UTC 2021


Module:    rtems-tools
Branch:    master
Commit:    29fee42187930c4d81755ba3dd3bc1ca53feebaf
Changeset: http://git.rtems.org/rtems-tools/commit/?id=29fee42187930c4d81755ba3dd3bc1ca53feebaf

Author:    Alex White <alex.white at oarcorp.com>
Date:      Fri Apr 16 13:12:46 2021 -0500

Revert "covoar/TargetBase: Fix QEMU branch info"

This reverts commit e80fd3e75b25627b6b2be2c1c820895319a91f34. The
change was originally made to correct the taken/not taken analysis of
AArch64. This broke taken/not taken analysis on other architectures
where the behavior was not overridden in the appropriate Target_*
class.

---

 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 c11129b..4474fad 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_BR1;
+    return TRACE_OP_BR0;
   }
 
   uint8_t TargetBase::qemuNotTakenBit(void)
   {
-    return TRACE_OP_BR0;
+    return TRACE_OP_BR1;
   }
 
 }



More information about the vc mailing list