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
Loading
Please register or sign in to comment