Add support for Wasm ctz and popcnt
Created attachment 296102 [details] Patch
Created attachment 296104 [details] Patch
Attachment 296104 [details] did not pass style-queue: ERROR: Source/JavaScriptCore/wasm/WasmB3IRGenerator.cpp:799: More than one command on the same line [whitespace/newline] [4] ERROR: Source/JavaScriptCore/wasm/WasmB3IRGenerator.cpp:810: More than one command on the same line [whitespace/newline] [4] ERROR: Source/JavaScriptCore/assembler/MacroAssemblerX86Common.h:2875: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 3 in 11 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 296104 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=296104&action=review r=me > Source/JavaScriptCore/assembler/MacroAssemblerX86Common.h:2858 > + static bool supportsBMI1() I think this should be private. > Source/JavaScriptCore/assembler/MacroAssemblerX86Common.h:2884 > + void ctzAfterBsf(RegisterID dst) This should probably be private too
Comment on attachment 296104 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=296104&action=review >> Source/JavaScriptCore/assembler/MacroAssemblerX86Common.h:2858 >> + static bool supportsBMI1() > > I think this should be private. This is protected since the X86_64 macro assembler uses it. >> Source/JavaScriptCore/assembler/MacroAssemblerX86Common.h:2884 >> + void ctzAfterBsf(RegisterID dst) > > This should probably be private too ditto.
Comment on attachment 296104 [details] Patch Clearing flags on attachment: 296104 Committed r209313: <http://trac.webkit.org/changeset/209313>
All reviewed patches have been landed. Closing bug.