https://codereview.chromium.org/145073006/diff/1/src/a64/macro-assembler-a64.cc
File src/a64/macro-assembler-a64.cc (right):
https://codereview.chromium.org/145073006/diff/1/src/a64/macro-assembler-a64.cc#newcode1350
src/a64/macro-assembler-a64.cc:1350: Mov(x3, Operand(thunk_ref));
On 2014/02/10 20:21:23, ulan wrote:
I took this from the ARM port.
Ah, I must have overlooked it in the merge.
Out of curiosity, what is the common case here? If the profiler is
usually turned on, this might be faster:
Cmp(w10, 0);
Csel(x3, function_address, Operand(thunk_ref), eq);
It's smaller by one instruction (and doesn't branch), but if the
profiler is disabled we waste a few cycles loading the
ExternalReference.
https://codereview.chromium.org/145073006/
--
--
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/groups/opt_out.