[PATCH] covoar/Target_arm: Add cbz and cbnz as branch instructions
Gedare Bloom
gedare at rtems.org
Fri Apr 16 14:47:01 UTC 2021
ok
On Fri, Apr 16, 2021 at 8:43 AM Alex White <alex.white at oarcorp.com> wrote:
>
> This adds `cbz` and `cbnz` as conditional branch instructions for ARM as
> they appear to have been missed.
>
> Closes #4386
> ---
> tester/covoar/Target_arm.cc | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/tester/covoar/Target_arm.cc b/tester/covoar/Target_arm.cc
> index 75ec406..94d50bb 100644
> --- a/tester/covoar/Target_arm.cc
> +++ b/tester/covoar/Target_arm.cc
> @@ -70,6 +70,9 @@ namespace Target {
> conditionalBranchInstructions.push_back("bgt.w");
> conditionalBranchInstructions.push_back("ble.w");
>
> + conditionalBranchInstructions.push_back("cbz");
> + conditionalBranchInstructions.push_back("cbnz");
> +
> conditionalBranchInstructions.sort();
>
> }
> --
> 2.27.0
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
More information about the devel
mailing list