diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2016-03-14 11:46:30 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2016-03-14 11:46:30 +0000 |
commit | cfa3483c8e27f4273df1ac44a2f58f10f54b7525 (patch) | |
tree | 55011271634f0ab6f640c0103af0518aa251e5a0 /lldb/packages/Python/lldbsuite/test | |
parent | a486857cd4e9171c0b4597bbd1d757783186c6c3 (diff) | |
download | bcm5719-llvm-cfa3483c8e27f4273df1ac44a2f58f10f54b7525.tar.gz bcm5719-llvm-cfa3483c8e27f4273df1ac44a2f58f10f54b7525.zip |
[mips] Simplify ordering of range checked immediate classes.
Summary:
With the addition of checks to ensure that operands have a strict ordering
it has become tricky to manage the order in the way I originally intended.
This patch linearizes the ordering which simplifies the implementation but
requires an order that is arbitrary in places. Here are some examples:
* uimm4 < uimm5 < uimm6
* simm4 < uimm4 < simm5 < uimm5
* uimm5 < uimm5_plus1 (1..32) < uimm5_plus32 (32..63) < uimm6
The term 'superset' starts to break down here since the *_plus* classes
are not true supersets of uimm5 (but they are still subsets of uimm6).
* uimm5 < uimm5_64, and uimm5 < vsplat_uimm5
This is entirely arbitrary. We need an ordering and what we pick is
unimportant since only one is possible for a given mnemonic.
Reviewers: vkalintiris
Subscribers: llvm-commits, dsanders
Differential Revision: http://reviews.llvm.org/D17723
llvm-svn: 263423
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions