[webkit-changes] [WebKit/WebKit] ab2034: [JSC] Micro optimize bitops in IC
Yusuke Suzuki
noreply at github.com
Thu Jul 27 14:34:44 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ab2034db4691e6702c65d14324382c577a2d4878
https://github.com/WebKit/WebKit/commit/ab2034db4691e6702c65d14324382c577a2d4878
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2023-07-27 (Thu, 27 Jul 2023)
Changed paths:
M Source/JavaScriptCore/assembler/MacroAssembler.h
M Source/JavaScriptCore/assembler/MacroAssemblerARM64.h
M Source/JavaScriptCore/assembler/MacroAssemblerX86_64.h
M Source/JavaScriptCore/jit/JITBitAndGenerator.cpp
M Source/JavaScriptCore/jit/JITBitOrGenerator.cpp
M Source/JavaScriptCore/jit/JITBitXorGenerator.cpp
Log Message:
-----------
[JSC] Micro optimize bitops in IC
https://bugs.webkit.org/show_bug.cgi?id=259547
rdar://112956788
Reviewed by Mark Lam.
This patch micro-optimizes bitops in IC in Baseline by using three-operand machine codes.
* Source/JavaScriptCore/assembler/MacroAssembler.h:
(JSC::MacroAssembler::and64):
* Source/JavaScriptCore/assembler/MacroAssemblerARM64.h:
(JSC::MacroAssemblerARM64::and64):
* Source/JavaScriptCore/assembler/MacroAssemblerX86_64.h:
(JSC::MacroAssemblerX86_64::and64):
* Source/JavaScriptCore/jit/JITBitAndGenerator.cpp:
(JSC::JITBitAndGenerator::generateFastPath):
* Source/JavaScriptCore/jit/JITBitOrGenerator.cpp:
(JSC::JITBitOrGenerator::generateFastPath):
* Source/JavaScriptCore/jit/JITBitXorGenerator.cpp:
(JSC::JITBitXorGenerator::generateFastPath):
Canonical link: https://commits.webkit.org/266367@main
More information about the webkit-changes
mailing list