Messages in this thread | | | From | Linus Torvalds <> | Date | Wed, 21 Jul 2021 11:55:50 -0700 | Subject | Re: [PATCH] lib/string: Bring optimized memcmp from glibc |
| |
On Wed, Jul 21, 2021 at 11:45 AM Linus Torvalds <torvalds@linux-foundation.org> wrote: > > - the code generation is actually quite good with both gcc and clang.
Side note: I only looked at whether the code looked good, I didn't check whether it looked *correct*.
So caveat emptor. It looks trivially correct both on the source and assembly level, but it's entirely untested, which probably means that it has some stupid bug.
Linus
| |