3 ms·
Comment #145 back on Feb 13 actually has the commit: https://bugs.chromium.org/p/v8/issues/detail?id=4124#c145 https://bugs.chromium.org/p/v8/issues/detail?id=4
by ndesaulniers 9y ago
Comment #145 back on Feb 13 actually has the commit:
https://bugs.chromium.org/p/v8/issues/detail?id=4124#c145 https://bugs.chromium.org/p/v8/issues/detail?id=4124#c145
The bug links to the actual discussion ("The V8 binary has a considerable amount of code that could be trimmed"): https://bugs.chromium.org/p/v8/issues/detail?id=5948 https://bugs.chromium.org/p/v8/issues/detail?id=5948
There's a nice treemap of the size of pieces of v8 in the first comment on that bug.
Comment #3 on the bug notes that SIMD.js is large: https://bugs.chromium.org/p/v8/issues/detail?id=5948#c3 https://bugs.chromium.org/p/v8/issues/detail?id=5948#c3
Finally, comment #6 "There's no reason to keep the simd.js stuff around. I'll take it out ASAP.": https://bugs.chromium.org/p/v8/issues/detail?id=5948#c6 https://bugs.chromium.org/p/v8/issues/detail?id=5948#c6
Someone notes that v8 is reduced by 500KB on Android.
Looks like it got reverted a few times for breaking Node.js tests, someone notes "can you wait a day until we sort out Node first?" then SIMD.js gets removed again the next day. So I assume they "sorted it out w/ Node" w/e that means?
Also, trying to learn how the macroassembler is laid out; seems pretty neat. Kinda baffled that s390 and ppc are supported. Was kinda for mips but I guess that's an Android supported platform...
A lot of the code that looks like it's being assembled by the macro assembler has double underscore followed by a space, followed by argument lists, which is curious looking at first glance.
Looks like the double underscores are defined as:
#define __ ACCESS_MASM(masm)