aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-29Make libarm-optimized-routines-{math,string} cc_library_static modules. am: ↵android-12.1.0_r9android-12.1.0_r8android-12.1.0_r7android-12.1.0_r22android-12.1.0_r21android-12.1.0_r20android-12.1.0_r19android-12.1.0_r11android-12.1.0_r10android-12.0.0_r32android-12.0.0_r29android-12.0.0_r28android-12.0.0_r27android-12.0.0_r26android-12.0.0_r21android-12.0.0_r20android-12.0.0_r19android-12.0.0_r18android-12.0.0_r16android12L-devandroid12-qpr3-s7-releaseandroid12-qpr3-s6-releaseandroid12-qpr3-s5-releaseandroid12-qpr3-s4-releaseandroid12-qpr3-s3-releaseandroid12-qpr3-s2-releaseandroid12-qpr3-s1-releaseandroid12-qpr3-releaseandroid12-qpr1-releaseandroid12-qpr1-d-s3-releaseandroid12-qpr1-d-s2-releaseandroid12-qpr1-d-s1-releaseandroid12-qpr1-d-releaseandroid12-devJingwen Chen
a7c8188b43 am: 1ca81608f5 am: 2fd80156a2 Original change: https://android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/1688289 Change-Id: I0bd035e925c040f47d5b7bace49b2868217138da
2021-04-29Make libarm-optimized-routines-{math,string} cc_library_static modules. am: ↵Jingwen Chen
a7c8188b43 am: 1ca81608f5 Original change: https://android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/1688289 Change-Id: I976cf0cb325d8fef6b7ab5023961742b71548144
2021-04-29Make libarm-optimized-routines-{math,string} cc_library_static modules. am: ↵android-s-beta-5android-s-beta-4android-s-beta-3android-s-beta-5android-s-beta-4Jingwen Chen
a7c8188b43 Original change: https://android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/1688289 Change-Id: I0c07d4679eca59a6c6f16e45c56c66538fe478f2
2021-04-28Make libarm-optimized-routines-{math,string} cc_library_static modules.android-s-beta-2android-s-beta-1Jingwen Chen
These libraries are statically linked into Bionic as only whole_static_libs dependencies, and their shared library variants don't appear to be used for other purposes. Test: TH Bug: 186388919 Change-Id: Id2115ae277850929ff53461fb293d8a493fd7fc3
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: d9214d22b9 -s ↵Xin Li
ours am: 4abcc52802 -s ours am skip reason: Change-Id Ia74c31bca8d1cb614f7894b3dbb8673840001ac4 with SHA-1 cfcb1a5fc8 is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I4254a9628d266e4f5a4fbaecc7be7ce14b595efb
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: d9214d22b9 -s oursXin Li
am skip reason: Change-Id Ia74c31bca8d1cb614f7894b3dbb8673840001ac4 with SHA-1 cfcb1a5fc8 is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I16d39d5dea956d788da6adb5a236e6cf0c380628
2021-02-20Mark ab/7061308 as merged in stage.Xin Li
Bug: 180401296 Merged-In: Ia74c31bca8d1cb614f7894b3dbb8673840001ac4 Change-Id: Ief51e3611e3d9c68c8d875c1f99277ed6fd0b606
2021-02-19Upgrade arm-optimized-routines to v21.02 am: ef1728935a am: ce035f0976 am: ↵Haibo Huang
bc56560bd9 Original change: https://android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/1595408 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Iee751e13b05b67c433288b6ce8c598294fa3e7fe
2021-02-19Upgrade arm-optimized-routines to v21.02 am: ef1728935a am: ce035f0976Haibo Huang
Original change: https://android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/1595408 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ieaa9d443bdaf4afdd3b0c6192691d751a4fe4087
2021-02-19Upgrade arm-optimized-routines to v21.02 am: ef1728935aHaibo Huang
Original change: https://android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/1595408 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ifd22a9c2de0908f6100a154f040469cbf40b279a
2021-02-18Upgrade arm-optimized-routines to v21.02Haibo Huang
The v21.02 change 6798b5 doesn't belong to any branch. Merge to its parent. We only miss the version number update in README. Change-Id: I337507915f78d1114cf52719851499e6b9ba2e5c
2021-02-17[LSC] Add LOCAL_LICENSE_KINDS to external/arm-optimized-routines am: ↵Bob Badour
b663c0030a am: 3457f0ffa3 am: 060de00c9f Original change: https://android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/1588821 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Id7b6be8360094fb2cf1cee7d17d0c361e80bc0be
2021-02-17[LSC] Add LOCAL_LICENSE_KINDS to external/arm-optimized-routines am: ↵Bob Badour
b663c0030a am: 3457f0ffa3 Original change: https://android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/1588821 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Idb25ccd218e9e659d37a41db2f1dbc9faa468022
2021-02-17[LSC] Add LOCAL_LICENSE_KINDS to external/arm-optimized-routines am: b663c0030aBob Badour
Original change: https://android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/1588821 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I838dbbf9137791a93a8f791029fd01c7d4a77b41
2021-02-17Update copyright yearsSzabolcs Nagy
Scripted copyright year updates based on git committer date.
2021-02-12[LSC] Add LOCAL_LICENSE_KINDS to external/arm-optimized-routinesandroid-s-preview-1Bob Badour
Added SPDX-license-identifier-MIT to: Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Id4d7093b8a781d32de4ef0e931ac99d91cfd775b
2021-02-12string: add __mtag_tag_zero_regionSzabolcs Nagy
Add optimized __mtag_tag_zero_region(dst, len) operation to AOR. It tags the memory according to the tag of the dst pointer then memsets it to 0 and returns dst. It requires MTE support. The memory remains untagged if tagging is not enabled for it. The dst must be 16 bytes aligned and len must be a multiple of 16. Similar to __mtag_tag_region, but uses the zeroing instructions.
2021-02-12string: add __mtag_tag_regionSzabolcs Nagy
Add optimized __mtag_tag_region(dst, len) operation to AOR. It tags the given memory region according to the tag of the dst pointer and returns dst. It requires MTE support. The memory remains untagged if tagging is not enabled for it. The dst must be 16 bytes aligned and len must be a multiple of 16.
2021-01-08string: Assembly code cleanupWilco Dijkstra
Cleanup spurious .text and .arch. Use ENTRY rather than ENTRY_ALIGN.
2021-01-04string/test: Fix strrchr '\0' error reportRichard Henderson
The error report was copied from the seekchar test above, and needs adjustment to match the gating IF.
2021-01-04string: Reduce alignment in strncmpRichard Henderson
There were nops before the beginning of the function to place the main loop on a 64-byte boundary, but the addition of BTI and instructions for ILP32 has corrupted that. As per review, drop 64-byte alignment entirely, and use the default 16-byte alignment from ENTRY.
2021-01-04string: Replace explicit nops with alignmentRichard Henderson
These nops were placed to align code to 16-byte boundaries, but then the addition of BTI and ILP32 has corrupted that.
2021-01-04string: Fix strnlen return valueRichard Henderson
The comment on the eos-not-found path says that it is returning the max string length, but it actually uses the current string length. This results in returned values larger than the expected value.
2020-12-17string: Add support for ILP32 ABIKinsey Moore
This adds sanitization of padding bits for pointers and size_t types as required by ARM aapcs64 for the AArch64 ILP32 ABI.
2020-12-04Upgrade arm-optimized-routines to v20.11 am: 59371d5a3d am: a1ca342029 am: ↵Haibo Huang
cfcb1a5fc8 Original change: https://android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/1515050 Change-Id: If781a9f96a3df0408fcf7f5a2c0953296f493f7e
2020-12-04Upgrade arm-optimized-routines to v20.11 am: 59371d5a3d am: a1ca342029Haibo Huang
Original change: https://android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/1515050 Change-Id: Ia74c31bca8d1cb614f7894b3dbb8673840001ac4
2020-12-04Upgrade arm-optimized-routines to v20.11 am: 59371d5a3dHaibo Huang
Original change: https://android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/1515050 Change-Id: I9c99706d82ceca15395995855d46e3e7d8c23ace
2020-12-03Upgrade arm-optimized-routines to v20.11Haibo Huang
Test: make Change-Id: If42d238e9e96f0ec209a4f40e8437199ed834cc9
2020-11-24Mark ab/6881855 as merged am: 0c47e0f8e3 am: ecaa6259b7Xin Li
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/13112756 Change-Id: I0f4b81959b16930ed97056dc1b1f58df1137237e
2020-11-24Mark ab/6881855 as merged am: 0c47e0f8e3Xin Li
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/13112756 Change-Id: I7c994c3a897d2a8506e10aa6c52a057db5e1a03a
2020-11-23Mark ab/6881855 as mergedXin Li
Bug: 172690556 Change-Id: I500e78f6f604d8e540ecabd3c6f6a03e332deae3
2020-11-16v20.11 releaseSzabolcs Nagy
* New math routines * Scalar erff and erf using fma.
2020-11-13math: fix spurious underflow in erff and erfSzabolcs Nagy
The code relied on the final x + c*x to be done via an fma, otherwise the intermediate c*x could underflow for tiny (almost subnormal) x. Use explicit fmaf like elsewhere (this code is not expected to be fast when fma is not inlined, but at least it should be correct).
2020-11-13math: fix erf tests in directed rounding modesSzabolcs Nagy
erf has larger than 1 ULP errors in directed rounding modes, increase the error threshold to 1.4 ULP in the test script.
2020-11-13math: add scalar erfPierre Blanchard
Only tested in round-to-nearest mode. The expected worst case error is 1.01 ULP near x=1.25. Benchmarked over random x in [-6,6] and can increase performance by > 2x (> 3.5x for throughput) on big ooo cores compared to the implementation in glibc 2.28. Includes data for erfc too, but this patch only adds erf.
2020-11-05networking: Fix the copyright notice in chksum.cSzabolcs Nagy
Make the formatting consistent with other copyright notices. (This helps me doing automatic license header checks.)
2020-11-05math: Fix copyright header in erff.tstSzabolcs Nagy
This was incorrect in the previous commit.
2020-10-29Merge "Upgrade arm-optimized-routines to ↵Treehugger Robot
0f4ae0c5b561de25acb10130fd5e473ec038f89d" am: 614c18275d am: e923b18d84 am: a0f30b9850 am: de66eb189d Original change: https://android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/1479384 Change-Id: Iee6a9c717c712be855ebf2fadb2f2ebdf9f4a1e5
2020-10-29Merge "Upgrade arm-optimized-routines to ↵Treehugger Robot
0f4ae0c5b561de25acb10130fd5e473ec038f89d" am: 614c18275d am: e923b18d84 am: a0f30b9850 Original change: https://android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/1479384 Change-Id: I4c49e4cc4b51d315317a9226992cd850c71c504f
2020-10-29Merge "Upgrade arm-optimized-routines to ↵Treehugger Robot
0f4ae0c5b561de25acb10130fd5e473ec038f89d" am: 614c18275d am: e923b18d84 Original change: https://android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/1479384 Change-Id: I90458a8168405681798a926c84831778a96a0889
2020-10-29Merge "Make vendor_ramdisk_available." am: 0079b9694a am: 6ac4c31c67 am: ↵Yifan Hong
335e8245f9 am: e49b9c0109 Original change: https://android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/1470502 Change-Id: Iab5205433aef77545be16a53f777b152887d5c94
2020-10-29Merge "Upgrade arm-optimized-routines to ↵Treehugger Robot
0f4ae0c5b561de25acb10130fd5e473ec038f89d" am: 614c18275d Original change: https://android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/1479384 Change-Id: Ib6dfb6c8948cbaa17829bb6f5f195098f57bc18c
2020-10-29Merge "Make vendor_ramdisk_available." am: 0079b9694a am: 6ac4c31c67 am: ↵Yifan Hong
335e8245f9 Original change: https://android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/1470502 Change-Id: Ic68a4708b0c1e04b3c01ad8a6979d51ee9f6b0fb
2020-10-29Merge "Upgrade arm-optimized-routines to ↵Treehugger Robot
0f4ae0c5b561de25acb10130fd5e473ec038f89d"
2020-10-29Merge "Make vendor_ramdisk_available." am: 0079b9694a am: 6ac4c31c67Yifan Hong
Original change: https://android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/1470502 Change-Id: I6d2ec170f171021284dedbfbcabb37179a85a854
2020-10-29Merge "Make vendor_ramdisk_available." am: 0079b9694aYifan Hong
Original change: https://android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/1470502 Change-Id: I22432d944c8c457146df598def308295ddf28bdd
2020-10-29Merge "Make vendor_ramdisk_available."Yifan Hong
2020-10-29math: add scalar erff.Pierre Blanchard
In round-to-nearest mode the maximum error is 1.09 ULP. Compared to glibc-2.28 erff: throughput is about 2.2x better, latency is about 1.5x better on some AArch64 cores (on random input in [-4,4]). There are further optimization and quality improvement opportunities.
2020-10-28Upgrade arm-optimized-routines to 0f4ae0c5b561de25acb10130fd5e473ec038f89dHaibo Huang
Test: make Change-Id: I916bd109221eb051277d532393f168b2bd77a228
2020-10-22Merge "Add arm-optimized-routines tests to presubmit." am: 83ce366868 am: ↵Elliott Hughes
66c35c1e4b am: 04e9a87ee6 am: c2f0e11176 Original change: https://android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/1206203 Change-Id: I8f1fb259ae17bc3b0cfac425d7212da7874f4a7b