https://codereview.chromium.org/269543016/diff/40001/src/arm64/cpu-arm64.cc
File src/arm64/cpu-arm64.cc (right):
https://codereview.chromium.org/269543016/diff/40001/src/arm64/cpu-arm64.cc#newcode42
src/arm64/cpu-arm64.cc:42: return 1 << ((cache_type_register_ >>
cache_line_size_shift) & 0xf);
Argh, the original code was wrong (my bad), the size is in words not
bytes so a further shift by 2 is required to get the size in bytes.
In practice this has no bad side effects as we do more cache operations
than required and the result will be the same.
Sorry for not spotting it earlier.
https://codereview.chromium.org/269543016/
--
--
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.