summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex White <alex.white@oarcorp.com>2021-04-16 13:12:46 -0500
committerJoel Sherrill <joel@rtems.org>2021-04-16 17:27:40 -0500
commit29fee42187930c4d81755ba3dd3bc1ca53feebaf (patch)
tree46af7e365716d1a4581a00499efc6025e5287692
parentcovoar/Target_arm: Add cbz and cbnz as branch instructions (diff)
downloadrtems-tools-29fee42187930c4d81755ba3dd3bc1ca53feebaf.tar.bz2
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.
-rw-r--r--tester/covoar/TargetBase.cc4
1 files 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;
}
}