Revert all STE Dalvik performance patches

 * At least one of these patches is problematic, and causing math errors
   for many users.
 * Let's revert for now, and continue to assist with debugging.

Revert "JIT: Use vmla.f64 instead of vmuld + vaddd."

This reverts commit 35267d8ed32dfd6572ee1e31cde0ca7c98ed31c7.

Revert "JIT: Combine add with shift and offset for array load & store."

This reverts commit 5c9e6726c29366b85dc4329809b2c48fe21f8ace.

Revert "JIT: Combine shift & sub for monitor unlock."

This reverts commit 38c38d95a58c590d753b56d059d71517af561fd1.

Revert "JIT: Use rsb and shift in easy multiply."

This reverts commit 76ed9c95be6e75ede85fc170cbd260ed97702f99.

Revert "JIT: Combine add with shift."

This reverts commit 102ab06911d86edcfb81c0343c20332313e4308b.

Revert "JIT: Allow use of cbz/cbnz for conditional branch gen."

This reverts commit d46b37eac79319da2c8bbdad1b6915aaba3e9cf5.

Revert "JIT: Suppress loop suspend checks."

This reverts commit 0723288f790e18669621b4f75803bbc4ff8e6bd5.

Revert "JIT: Hoist loop load operations above loop."

This reverts commit 8ef34ac433180181a9da57ac666a5ae171f0c682.

Change-Id: Ifae34549ada90d6238a5839538eda8cb4a51ec33
Merge remote-tracking branch 'cm/cm-10.1' into cm-10.1-linaro
dvm: Bring back the ANDROID_DATA override

This got broken by the split-cache patch, and it's impacting the
CTS vm unit. Fixit.

Change-Id: I602824afef19c92a4d2c1702d10c8f0315277227
Merge remote-tracking branch 'cm/cm-10.1' into cm-10.1-linaro
JIT: Allow use of cbz/cbnz for conditional branch gen.

Optimize conditional branch generation when comparing
with zero for ARM JIT. When possible use cbz/cbnz
instead of cmp+beq/cmp+bne.

This improves performance for usecases involving
code execution in Dalvik.

Change-Id: Iffd455d9cbb3ef0b1f87caafdae1b72ba3f0d2fc
Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
JIT: Use rsb and shift in easy multiply.

For easy multiplication using reverse subtract (when
lit is 2^n-1) use the barrel shifter for rsb.

This improves arithmetic performance for code executing
in Dalvik. E.g String.hashCode.

Change-Id: I3bba4e24c6333f9910c24c4bd3effaf5c4dd9cab
Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
Disable -Xjnigreflimit.

This was supposed to help find bugs, but in practice (unlike the
locale reference limit and the pinned array limit) doesn't. What it
does do is cause well-behaved code to fail if its allocation rate
is high. This has caused trouble for both audio and graphics code
running on eng builds.

Bug: 7903975
Change-Id: If475cb51c9cab13270a83a60d6d0aecfab758e88