[rtems-tools commit] covoar/Target_arm: Add THUMB branch instructions
Joel Sherrill
joel at rtems.org
Tue Mar 30 18:20:47 UTC 2021
Module: rtems-tools
Branch: master
Commit: 4cca9c26551f698602c97ed50827ec6f525a232e
Changeset: http://git.rtems.org/rtems-tools/commit/?id=4cca9c26551f698602c97ed50827ec6f525a232e
Author: Alex White <alex.white at oarcorp.com>
Date: Wed Feb 24 15:41:26 2021 -0600
covoar/Target_arm: Add THUMB branch instructions
The ".n" and ".w" variants of the THUMB branch instructions were not
included in the list of conditional branch instructions. They have
been added.
---
tester/covoar/Target_arm.cc | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/tester/covoar/Target_arm.cc b/tester/covoar/Target_arm.cc
index 4b7b2e1..75ec406 100644
--- a/tester/covoar/Target_arm.cc
+++ b/tester/covoar/Target_arm.cc
@@ -36,6 +36,40 @@ namespace Target {
conditionalBranchInstructions.push_back("bvc");
conditionalBranchInstructions.push_back("bvs");
+ conditionalBranchInstructions.push_back("beq.n");
+ conditionalBranchInstructions.push_back("bne.n");
+ conditionalBranchInstructions.push_back("bcs.n");
+ conditionalBranchInstructions.push_back("bhs.n");
+ conditionalBranchInstructions.push_back("bcc.n");
+ conditionalBranchInstructions.push_back("blo.n");
+ conditionalBranchInstructions.push_back("bmi.n");
+ conditionalBranchInstructions.push_back("bpl.n");
+ conditionalBranchInstructions.push_back("bvs.n");
+ conditionalBranchInstructions.push_back("bvc.n");
+ conditionalBranchInstructions.push_back("bhi.n");
+ conditionalBranchInstructions.push_back("bls.n");
+ conditionalBranchInstructions.push_back("bge.n");
+ conditionalBranchInstructions.push_back("blt.n");
+ conditionalBranchInstructions.push_back("bgt.n");
+ conditionalBranchInstructions.push_back("ble.n");
+
+ conditionalBranchInstructions.push_back("beq.w");
+ conditionalBranchInstructions.push_back("bne.w");
+ conditionalBranchInstructions.push_back("bcs.w");
+ conditionalBranchInstructions.push_back("bhs.w");
+ conditionalBranchInstructions.push_back("bcc.w");
+ conditionalBranchInstructions.push_back("blo.w");
+ conditionalBranchInstructions.push_back("bmi.w");
+ conditionalBranchInstructions.push_back("bpl.w");
+ conditionalBranchInstructions.push_back("bvs.w");
+ conditionalBranchInstructions.push_back("bvc.w");
+ conditionalBranchInstructions.push_back("bhi.w");
+ conditionalBranchInstructions.push_back("bls.w");
+ conditionalBranchInstructions.push_back("bge.w");
+ conditionalBranchInstructions.push_back("blt.w");
+ conditionalBranchInstructions.push_back("bgt.w");
+ conditionalBranchInstructions.push_back("ble.w");
+
conditionalBranchInstructions.sort();
}
More information about the vc
mailing list