summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Log.cpp
diff options
context:
space:
mode:
authorMoritz Roth <moritz.roth@arm.com>2014-08-21 17:11:03 +0000
committerMoritz Roth <moritz.roth@arm.com>2014-08-21 17:11:03 +0000
commitdfdda0d41cf0b5d2ca5271e83ae212baedfcd847 (patch)
tree2332d174a78d7823115e6500b5fe52d3fd4de1cb /lldb/source/Core/Log.cpp
parentf4cb5732685cdd48b3f29e621020cf24c89358dc (diff)
downloadbcm5719-llvm-dfdda0d41cf0b5d2ca5271e83ae212baedfcd847.tar.gz
bcm5719-llvm-dfdda0d41cf0b5d2ca5271e83ae212baedfcd847.zip
Thumb1 load/store optimizer: Improve code to materialize new base register.
There are two add-immediate instructions in Thumb1: tADDi8 and tADDi3. Only the latter supports using different source and destination registers, so whenever we materialize a new base register (at a certain offset) we'd do so by moving the base register value to the new register and then adding in place. This patch changes the code to use a single tADDi3 if the offset is small enough to fit in 3 bits. Differential Revision: http://reviews.llvm.org/D5006 llvm-svn: 216193
Diffstat (limited to 'lldb/source/Core/Log.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud