|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [RFC] find_next_bit optimizations |
Date: | Mon, 11 Mar 2013 18:07:24 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3 |
Il 11/03/2013 18:06, ronnie sahlberg ha scritto: > Even more efficient might be to do bitwise instead of logical or > >> > if (tmp | d1 | d2 | d3) { > that should remove 3 of the 4 conditional jumps > and should become 3 bitwise ors and one conditional jump Without any serious profiling, please let the compiler do that. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |