[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ubuntu and Debian packages / 2013-04-10
From: |
David Chisnall |
Subject: |
Re: Ubuntu and Debian packages / 2013-04-10 |
Date: |
Wed, 29 May 2013 10:57:24 +0100 |
On 29 May 2013, at 10:13, Wolfgang Lux <address@hidden> wrote:
> It's apparently an issue of the weird definition that strcmp expands into
> (have a look at /usr/include/i386-linux-gnu/bits/string2.h and have fun with
> it). It uses the preprocessor to expand comparisons involving short constant
> strings into inline code. I guess someone must have spent days running
> microbenchmarks to come up with this code.
And probably not re-run them recently, as this kind of optimisation in the
header will break the simplify libcalls pass in recent gcc or clang and prevent
the compiler from doing more clever optimisations...
David
-- Sent from my Difference Engine