[llvm-dev] memcmp code fragment

Daniel Berlin via llvm-dev llvm-dev at lists.llvm.org
Wed May 24 22:04:24 PDT 2017


On Wed, May 24, 2017 at 8:09 AM, Sebastian Pop <sebpop.llvm at gmail.com>
wrote:

> On Fri, May 19, 2017 at 4:32 PM, Daniel Berlin via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> > i think you'd have to write some idiom recognizer here. The ones we have
> > won't do it.
> >
> > I guess my other question would be how commonly this happens. If it's
> common
> > and matters a lot, awesome.
> > I wouldn't do it just to fix SPEC :P
> >
> > (people who care about bzip2 speed probably use any of the faster bzip2
> > impls :P)
> >
>
> Danny, do you know of forks of bzip2 that are more efficient than bzip.org
> ?
> I haven't seen one.
>

They aren't forks so much as replacements.

An example: lbzip2

I know that there are a number of bzip2 impls that use faster versions of
the block sorting algorithm (or alternatives) etc.


> Sirish is going to send a patch to Julian Seward and try to get the change
> in a new release of bzip2, and from there we may need to ask the AOSP
> folks to update bzip2.  AOSP has the last released bzip2 from Sept 2010.
>
> For SPEC benchmarketing, doing the right thing wouldn't help.
> Maybe we should put this idiom and others under a -fspec flag ;-)
>
> Sebastian
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170524/61c7f116/attachment.html>


More information about the llvm-dev mailing list