[llvm-dev] memcmp code fragment

Sebastian Pop via llvm-dev llvm-dev at lists.llvm.org
Wed May 24 08:09:11 PDT 2017


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.

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


More information about the llvm-dev mailing list