On 2014/03/12 17:06:05, m.m.capewell wrote:
On 2014/03/12 12:17:26, ulan wrote:
> Any reason why you didn't choose the algorithm that is used in other places?

>
> In pseudocode:
>
> counter = field_count - 2;
> while (counter >= 0) {
>   store pair of fillers;
>   counter -= 2;
> }
> if (counter & 1) {
>   store one remaining filler;
> }

As we don't have conditional stores on A64, I was trying to avoid the 50/50 predicted taken branch over the final 'odd' store. I decided a (half) repeated
store was cheaper than a branch misprediction.
I see, lgtm

https://codereview.chromium.org/190763012/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to