Re: Should GCC provide __builtin_memcpy_inline like clang does?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 19, 2021 at 11:33:56AM +0000, unlvsur unlvsur via Gcc-help wrote:
> I think __builtin_memmove_inline, __builtin_memset_inline can also get provided.
> 
> That allows better performance for small size copies

You normally will get better performance by letting the compiler figure
out whether to inline or not.  That is what the Power port does, for
example.

> and allowing memcpy to be usable without libc.

You can provide your own non-standard-named function anyway?


In either case, feature requests should go into bugzilla, or they will
more than likely be lost.

Thanks,


Segher



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux