[webkit-changes] [WebKit/WebKit] fcf3ca: In-place interpreter: fix clobbered register in ca...
Daniel Liu
noreply at github.com
Tue Aug 22 11:09:17 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fcf3ca83171a536e886f5db868de709d1cafcd39
https://github.com/WebKit/WebKit/commit/fcf3ca83171a536e886f5db868de709d1cafcd39
Author: Daniel Liu <danlliu at umich.edu>
Date: 2023-08-22 (Tue, 22 Aug 2023)
Changed paths:
M Source/JavaScriptCore/llint/InPlaceInterpreter.asm
M Source/JavaScriptCore/wasm/WasmIPIntGenerator.cpp
Log Message:
-----------
In-place interpreter: fix clobbered register in call and reduce memory usage for if and br
https://bugs.webkit.org/show_bug.cgi?id=260471
rdar://114218539
Reviewed by Yusuke Suzuki.
Updated `call` instruction to save caller save registers around the operation call.
Reduce memory usage for if and br by 3B by saving the size of the instruction instead of the next PC.
* Source/JavaScriptCore/llint/InPlaceInterpreter.asm:
* Source/JavaScriptCore/wasm/WasmIPIntGenerator.cpp:
(JSC::Wasm::IPIntGenerator::addIf):
(JSC::Wasm::IPIntGenerator::addBranch):
(JSC::Wasm::IPIntGenerator::addSwitch):
Canonical link: https://commits.webkit.org/267142@main
More information about the webkit-changes
mailing list