search for: uclibc_susv3_legacy

Displaying 2 results from an estimated 2 matches for "uclibc_susv3_legacy".

2019 Jan 07
2
[RFC] Adding a -memeq-lib-function flag to allow the user to specify a memeq function.
...it. But of course it's not _only_ glibc which has it -- it's present in almost every environment out there. e.g. for Linux there's also a few other libc implementations that people use: musl: includes it, calls memcmp. uclibc-ng: includes it, alias of memcmp (only if you compile with UCLIBC_SUSV3_LEGACY, but "buildroot", the way one generally uses uclibc, does so). dietlibc: includes it, alias of memcmp. Android bionic: doesn't include it. Some other platforms: RTEMS (newlib): includes it, calls memcmp. NetBSD: includes it, separate optimized implementation. FreeBSD: includes it, se...
2019 Jan 05
3
[RFC] Adding a -memeq-lib-function flag to allow the user to specify a memeq function.
If we are considering an optimization to convert calls to memcmp into bcmp, then does it make sense to add an intrinsic for bcmp like there is for memcmp? That way IR writers can express their requirements precisely: memcmp if you care about the direction of inequality, and bcmp if you do not. On Fri, Jan 4, 2019 at 12:34 PM James Y Knight via llvm-dev < llvm-dev at lists.llvm.org> wrote: