Use of vector instructions in memmov/memset expanding

Michael Zolotukhin michael.v.zolotukhin@gmail.com
Wed Sep 28 13:51:00 GMT 2011


> (I worry about the tables in i386.c deciding what strategy to use for block of
> given size. This is more or less unrelated to the actual patch)
Yep, the threshold values I mentioned above are the values in these
tables. Even with fast glibs there are some cases when inlining is
profitable (e.g. if alignment is known at compile time).

On 28 September 2011 16:54, Jan Hubicka <hubicka@ucw.cz> wrote:
>> > Do you know glibc version numbers when
>> > the optimized string functions was introduced?
>>
>> Afaik, it's 2.13.
>> I also compared my implementation to 2.13.
>
> I wonder if we can assume that most of GCC 4.7 based systems will be glibc 2.13
> based, too.  I would tend to say that yes and thus would suggest to tamn down
> inlining that is no longer profitable on newer glibcs with a note in
> changes.html...
>
> (I worry about the tables in i386.c deciding what strategy to use for block of
> given size. This is more or less unrelated to the actual patch)
>
> Honza
>



-- 
---
Best regards,
Michael V. Zolotukhin,
Software Engineer
Intel Corporation.



More information about the Gcc-patches mailing list