summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2016-08-02 14:57:56 +0100
committerVladimir Marko <vmarko@google.com>2016-08-04 16:52:11 +0100
commit3a656e183ab3131d4a0e1fa79acc79e8da762508 (patch)
treefa68a3b838778c89cbcd3c6f234513edbb43312e /compiler/optimizing/graph_visualizer.cc
parent3d6094531e3790b25c43e59fd6cd0b6b99d3447c (diff)
Thumb2: Clean up 16-bit LDR/STR detection.
The 16-bit LDR/STR sp, #N can be used for N = (imm8 << 2) but it was previously used only for N < 128. This cleans up the 16-bit instruction availability calculation for this case as well as for byte and half word loads and stores. However, only the LDR/STR sp, #N has impact on the code we currently generate in Optimizing. Reduces aosp_hammerhead-userdebug boot.oat by 108KiB. Test: Run ART test suite on Nexus 5. Change-Id: Ie06d130a48efad10c23f8ff2596a51efd98d0761
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions