bug-hurd
[Top][All Lists]
Advanced

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

Re: Simple contribution please?


From: Samuel Thibault
Subject: Re: Simple contribution please?
Date: Wed, 17 Aug 2016 08:46:34 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Richard Braun, on Fri 12 Aug 2016 21:29:09 +0200, wrote:
> I can take care of this when I have time.

Thanks!

- Are we sure that the direction flag is cleared on entry of the assembly
snippets?

- I don't think the memcmp, strlen and strcmp snippets need a memory clobber?

- the ecx trick in strlen is nice :)

- should we really use assembly snippets for strcpy and strcmp? In my
  non-virtualized tests, a simple C loop such as
  do { test = *dest++ = *src++; } while(test);
  actually goes quite faster thanks to the gcc optimizer, and the
  non-rep snippet won't buy virtualized time (and I guess we don't run
  str functions on memory-mapped devices anyway...)

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]