|
Message-ID: <CAK1hOcMtnZLy7Kw36YQWdi3tzmACepAWjQ=_82GuE_NUHd0hpw@mail.gmail.com> Date: Tue, 17 Feb 2015 19:53:28 +0100 From: Denys Vlasenko <vda.linux@...glemail.com> To: Rich Felker <dalias@...c.org> Cc: musl <musl@...ts.openwall.com> Subject: Re: [PATCH] x86_64/memset: use "small block" code for blocks up to 30 bytes long On Tue, Feb 17, 2015 at 6:40 PM, Rich Felker <dalias@...c.org> wrote: >> With your program I see similar results: >> >> .... >> size 50: min=10, avg=10 min=10, avg=10 >> size 52: min=10, avg=10 min=10, avg=10 > > The ... was the part where mine seemed better. :) Do you seriously think I would go as low as lying by omission? Here are the full, unabridged files of three runs of both algorithms. $ gcc -O2 -Wall memset-cycles-vda.c vda1.s. $ ./a.out >vda1.OUT1 && ./a.out >vda1.OUT2 && ./a.out >vda1.OUT3 $ gcc -O2 -Wall memset-cycles-vda.c my2.s. $ ./a.out >my2.OUT1 && ./a.out >my2.OUT2 && ./a.out >my2.OUT3 View attachment "memset-cycles-vda.c" of type "text/x-csrc" (1222 bytes) Download attachment "my2.OUT1" of type "application/octet-stream" (1532 bytes) Download attachment "my2.OUT2" of type "application/octet-stream" (1532 bytes) Download attachment "my2.OUT3" of type "application/octet-stream" (1532 bytes) Download attachment "vda1.OUT1" of type "application/octet-stream" (1532 bytes) Download attachment "vda1.OUT2" of type "application/octet-stream" (1534 bytes) Download attachment "vda1.OUT3" of type "application/octet-stream" (1533 bytes)
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.