Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jan 2013 13:31:40 -0800
From:      Luigi Rizzo <rizzo@iet.unipi.it>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: __builtin_memcpy() slower than memcpy/bcopy (and on linux it is the opposite) ?
Message-ID:  <CA%2BhQ2%2BhBgLXa%2BfyFEUN%2BwLDct1%2BHXcoEHZivqtdWDLAhjJ=Uag@mail.gmail.com>
In-Reply-To: <51003956.50301@FreeBSD.org>
References:  <20130123163238.GB56212@onelab2.iet.unipi.it> <51003956.50301@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 23, 2013 at 11:26 AM, Dimitry Andric <dim@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BhQ2%2BhBgLXa%2BfyFEUN%2BwLDct1%2BHXcoEHZivqtdWDLAhjJ=Uag>