Displaying 2 results from an estimated 2 matches for "unaligned_load64".
2019 Jan 11
2
[RFC] Adding a -memeq-lib-function flag to allow the user to specify a memeq function.
...dle).
>
> For this comparison, I'm using as base the call to `memcmp`, and as
> experiment the following crude bcmp() implementation (I'm assuming X86_64),
> that shows how we can take advantage of the observations above to optimize
> typical cases.
>
> ```
> #define UNALIGNED_LOAD64(_p) (*reinterpret_cast<const uint64_t *>(_p))
>
> extern "C" int bcmp(const void* p1, const void* p2, size_t n) throw() {
> const char* a = reinterpret_cast<const char*>(p1);
> const char* b = reinterpret_cast<const char*>(p2);
> if (n >= 8) {
>...
2019 Jan 09
2
[RFC] Adding a -memeq-lib-function flag to allow the user to specify a memeq function.
On Tue, Jan 8, 2019 at 9:24 AM Clement Courbet <courbet at google.com> wrote:
>
>
> On Mon, Jan 7, 2019 at 10:26 PM James Y Knight <jyknight at google.com>
> wrote:
>
I'm afraid about the "almost" and "generally": what about users who don't ?
>
Even so, it should be fine to enable it for those platforms which do
include it.
I do note,