diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-11-06 12:22:31 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-11-06 12:22:31 +0000 |
commit | ea4f653d18e74439f0abefe5861d05fea9ddf5d0 (patch) | |
tree | 2495edb31781be386dad08dbf3873d7d3585c77a /lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py | |
parent | 52da7af4d2ae4b559de3a8bfdffdfa01581e67bd (diff) | |
download | bcm5719-llvm-ea4f653d18e74439f0abefe5861d05fea9ddf5d0.tar.gz bcm5719-llvm-ea4f653d18e74439f0abefe5861d05fea9ddf5d0.zip |
[mips][ias] Range check uimm2 operands and fix a bug this revealed.
Summary:
The bug was that the MIPS32R6/MIPS64R6/microMIPS32R6 versions of LSA and DLSA
(unlike the MSA version) failed to account for the off-by-one encoding of the
immediate. The range is actually 1..4 rather than 0..3.
Reviewers: vkalintiris
Subscribers: atanasyan, dsanders, llvm-commits
Differential Revision: http://reviews.llvm.org/D14015
llvm-svn: 252295
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py')
0 files changed, 0 insertions, 0 deletions