[compiler-rt] [AArch64][compiler-rt] Add memcpy, memset, memmove, memchr simple imp… (PR #77496)
Dinar Temirbulatov via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 15 23:26:55 PST 2024
================
@@ -38,146 +35,64 @@ int sum(uint8_t *dest, int n) {
return t;
}
-long get_time_diff(struct timespec tv[2]) {
- long us0 = (tv[0].tv_sec * 1000000) + (tv[0].tv_nsec / 1000);
- long us1 = (tv[1].tv_sec * 1000000) + (tv[1].tv_nsec / 1000);
- return us1 - us0;
-}
-
int main() {
- struct timespec tv[2];
init();
// Test correctness of memcpy
for (int i = 0; i < 67; i++) {
----------------
dtemirbulatov wrote:
Done.
https://github.com/llvm/llvm-project/pull/77496
More information about the llvm-commits
mailing list