qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC] Replace posix-aio with custom thread pool


From: Jamie Lokier
Subject: Re: [Qemu-devel] [RFC] Replace posix-aio with custom thread pool
Date: Sat, 6 Dec 2008 18:26:33 +0000
User-agent: Mutt/1.5.13 (2006-08-11)

Blue Swirl wrote:
> I like to use unsigned types whenever possible, IIRC compilers may
> generate better code with those.

On the one hand, unsigned division can sometimes be compiled faster,
depends on the architecture's div instructions.

On the other hand, signed operations can be optimised by GCC with
-fstrict-overflow, while the same unsigned operations cannot be so optimised.

-- Jamie




reply via email to

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