|
Message-ID: <Pine.BSM.4.64L.2402290007490.1531@herc.mirbsd.org> Date: Thu, 29 Feb 2024 00:10:05 +0000 (UTC) From: Thorsten Glaser <tg@...bsd.de> To: musl@...ts.openwall.com cc: James Tirta Halim <tirtajames45@...il.com> Subject: Re: [PATCH] add memcmpeq: memcmp that returns length of first mismatch Pedro Falcato dixit: >Small note: This isn't quite true for remotely modern x86, unaligned It’s very much true, e.g. it breaks atomicity (ok, not relevant *here*, but in general). AIUI, even modern amd64 chips of all vendors are reverting to optimising rep movsb/lodsb instead again, for stringops. Of course the status on other architectures should be sufficient to not use unaligned accesses. bye, //mirabilos -- 08:05⎜<XTaran:#grml> mika: Does grml have an tool to read Apple ⎜ System Log (asl) files? :) 08:08⎜<ft:#grml> yeah. /bin/rm. ;) 08:09⎜<mrud:#grml> hexdump -C 08:31⎜<XTaran:#grml> ft, mrud: *g*
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.