Re: __builtin_memcpy() slower than memcpy/bcopy (and on linux it is the opposite) ?

From: Luigi Rizzo <rizzo_at_iet.unipi.it>
Date: Wed, 23 Jan 2013 13:31:40 -0800
On Wed, Jan 23, 2013 at 11:26 AM, Dimitry Andric <dim_at_freebsd.org> wrote:

> Which compilation flags did you use to test this?  When I compiled your
> testcase program with clang 3.2, gcc 4.2 and gcc 4.7 at -O2, with all
> other settings at their defaults, all three compilers just called libc's
> memcpy() for the __builtin_memcpy tests.
>

just -O2 -Wall -Werror, no special -m* or -f* flags

cheers
luigi
Received on Wed Jan 23 2013 - 20:31:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC