|
Message-ID: <ZnwhhrwIP8bVDIcE@voyager> Date: Wed, 26 Jun 2024 16:11:18 +0200 From: Markus Wichmann <nullplan@....net> To: musl@...ts.openwall.com Subject: Re: roundf() (and round(), and ...) Am Wed, Jun 26, 2024 at 03:43:27AM +0000 schrieb Thorsten Glaser: > Markus Wichmann dixit: > > >memcpy() is special, in that GCC reserves the right to create calls to > >it (and memmove(), memcmp(), and memset()) even in freestanding mode. It > >doesn't do that for any other builtin. > > But not to replace code that implements a memcpy, only to implement > things like struct copying. > No, there have been versions that would recognize you trying to write a memcpy() and replacing it with a call to memcpy(). Which is fine, unless you are actually writing a memcpy(). That is why musl now builds with -fno-tree-loop-distribute-patterns if that is supported. Because that was the optimizer making that decision, so it is now turned off. Ciao, Markus
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.