diff options
author | David Penry <david.penry@arm.com> | 2020-12-23 14:00:59 +0000 |
---|---|---|
committer | David Green <david.green@arm.com> | 2020-12-23 14:00:59 +0000 |
commit | a9f14cdc6203c05425f8b17228ff368f7fd9ae29 (patch) | |
tree | f0d31e9115078af444f6e91b03fbe42f08cabe9c /lldb/source/Commands/CommandObjectCommands.cpp | |
parent | acaa6e4260cb5b2aa88f465eafea320d5f3f249c (diff) | |
download | llvm-a9f14cdc6203c05425f8b17228ff368f7fd9ae29.zip llvm-a9f14cdc6203c05425f8b17228ff368f7fd9ae29.tar.gz llvm-a9f14cdc6203c05425f8b17228ff368f7fd9ae29.tar.bz2 |
[ARM] Add bank conflict hazarding
Adds ARMBankConflictHazardRecognizer. This hazard recognizer
looks for a few situations where the same base pointer is used and
then checks whether the offsets lead to a bank conflict. Two
parameters are also added to permit overriding of the target
assumptions:
arm-data-bank-mask=<int> - Mask of bits which are to be checked for
conflicts. If all these bits are equal in the offsets, there is a
conflict.
arm-assume-itcm-bankconflict=<bool> - Assume that there will be bank
conflicts on any loads to a constant pool.
This hazard recognizer is enabled for Cortex-M7, where the Technical
Reference Manual states that there are two DTCM banks banked using bit
2 and one ITCM bank.
Differential Revision: https://reviews.llvm.org/D93054
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions