diff options
author | Andrew Walbran <qwandor@google.com> | 2022-07-18 17:01:06 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-07-18 17:01:06 +0000 |
commit | 6c969b727063e6d44eff319f4c2f7aa9ca060aab (patch) | |
tree | 37cd3bd0c282d25c8ad959556c182a7dc563116e | |
parent | 427662fb98ee03c3697b90141bba493b8cb47a47 (diff) | |
parent | 4d56ab71ea3a7a69eb3f1b1dabf3583e6cd84259 (diff) | |
download | arm-optimized-routines-6c969b727063e6d44eff319f4c2f7aa9ca060aab.tar.gz |
Add library for core memory routines. am: 4d56ab71ea
Original change: https://android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/2153622
Change-Id: I5ff52167cce5d4fe77e559f4d19015ffaa4898f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rwxr-xr-x | Android.bp | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -139,6 +139,33 @@ cc_library_static { }, } +// Memory intrinsics for bare-metal Rust binaries. +cc_library_static { + name: "libarm-optimized-routines-mem", + nocrt: true, + system_shared_libs: [], + stl: "none", + sanitize: { + hwaddress: false, + }, + arch: { + arm64: { + srcs: [ + "string/aarch64/memcmp.S", + "string/aarch64/memcpy.S", + "string/aarch64/memset.S", + ], + asflags: [ + "-D__memcmp_aarch64=memcmp", + "-D__memcpy_aarch64=memcpy", + "-D__memmove_aarch64=memmove", + "-D__memset_aarch64=memset", + ], + }, + }, + visibility: ["//packages/modules/Virtualization:__subpackages__"], +} + // adb shell "/data/nativetest64/mathtest/mathtest /data/nativetest64/mathtest/test/testcases/directed/*" // adb shell "/data/nativetest/mathtest/mathtest /data/nativetest/mathtest/test/testcases/directed/*" cc_test { |