qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 21/22] target-mips: use pointers referring to


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v2 21/22] target-mips: use pointers referring to appropriate decoding function
Date: Thu, 19 Jun 2014 21:09:24 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 06/19/2014 03:18 PM, Aurelien Jarno wrote:
> I have mixed filling about that. While it clearly makes the code more
> readable, I am not sure it would be any faster given that it might kill
> branch prediction. Any opinion from others?

Given the function pointer is used only once, I don't think it's useful.  With
normal branch predictors we'll do much better with direct branches, and
probably inlining.


r~



reply via email to

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