This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 05/30/2016 11:37 AM, Florian Weimer wrote:
* Expand __memcmp_eq for small constant sizes with loads and comparison, fall back to a memcmp call.Should we export such a function from glibc? I expect it's fairly common. Computing the tail difference costs a few cycles.
At the moment the patch ensures that no actual memcmp_eq function is called, it's either expanded inline or we fall back to memcmp. But there's no reason why it couldn't be added under some appropriate name.
Bernd
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |