|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH v2 1/5] tcg: Refactor helper_lookup_tb_ptr |
Date: | Fri, 16 Jun 2017 13:46:20 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 |
On 06/16/2017 01:19 PM, Emilio G. Cota wrote:
While booting debian-arm I'm measuring (see below) a hit rate in the high 90's for the htable lookups here, so adding an 'unlikely()' hint would be a good idea.
GCC already predicts null pointers unlikely. We get identical code with and without the hint. r~
[Prev in Thread] | Current Thread | [Next in Thread] |