diff options
author | Sebastien Hertz <shertz@google.com> | 2013-06-04 16:18:52 +0200 |
---|---|---|
committer | Sebastien Hertz <shertz@google.com> | 2013-06-04 19:00:09 +0200 |
commit | 92c607f614484ed091cfb1f73fab5c736eed78de (patch) | |
tree | c3929e6a415fba4216846c71ea49fd63e5ab0b81 /src/compiler/driver/compiler_driver.cc | |
parent | 4b3dc167917f8cf700416659b1bca220c1ccafe9 (diff) | |
download | android_art-92c607f614484ed091cfb1f73fab5c736eed78de.tar.gz android_art-92c607f614484ed091cfb1f73fab5c736eed78de.tar.bz2 android_art-92c607f614484ed091cfb1f73fab5c736eed78de.zip |
Optimize branch instructions in interpreter.
This CL cleans up branch instructions handling by optimizing instruction
displacement with an offset by changing the way we compute the next
instruction. On ARM, it saves at least 3 instructions for GOTO and 4
instructions for IF-XX/Z.
This CL also transforms the Instruction::At CHECK into a DCHECK. This improves
the compiled code when computing next instruction.
Change-Id: I901699201012d2dbbaef4d9158cc97b63bfbbe84
Diffstat (limited to 'src/compiler/driver/compiler_driver.cc')
0 files changed, 0 insertions, 0 deletions