Skip to content
Commit ce1c0379 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Reland (again) "Enable the various chrome zlib optimizations."

This reverts commit 5ad12200.

This time we enable the same optimizations on x86/x86-64 as on arm/arm64.

Optimized inflation is disabled because it breaks `atest
CtsLibcoreTestCases:org.apache.harmony.tests.java.util.zip.DeflaterTest`.

This version also distinguishes neon/non-neon builds because the NDK
builds a single libz. I don't trust -mfpu=neon not to cause all kinds of
neon dependencies; I don't think that our HWCAP tests would be
sufficient.

Bug: http://b/149443852
Bug: https://issuetracker.google.com/115695768
Bug: https://issuetracker.google.com/135889247
Change-Id: I283629c481203c6035ec1686b2279fc286c59ea3
Test: boots
Test: zlib_bench scores 2x or more faster on arm/arm64
Test: atest CtsLibcoreTestCases:org.apache.harmony.tests.java.util.zip.DeflaterTest
Test: recovery_unit_test.ApplyPatchModesTest
parent 1b499a9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment