[Webkit-unassigned] [Bug 147761] New: Add MacroAssembler::patchableBranch64 and fix ARM64's patchableBranchPtr
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 6 18:08:04 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=147761
Bug ID: 147761
Summary: Add MacroAssembler::patchableBranch64 and fix ARM64's
patchableBranchPtr
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: utatane.tea at gmail.com
Yup. Currently, there's no patchableBranch64 helper function in MacroAssembler; it can reduce the following
cmp some condition
jump_ok pass
patchable jump
pass:
to
cmp some condition
patchable jump_ng
There's patchableBranchPtr in MacroAssembler under 64bit environments.
However, the current MacroAssemblerARM64's patchableBranchPtr seems wrong.
2344 PatchableJump patchableBranchPtr(RelationalCondition cond, Address left, TrustedImmPtr right = TrustedImmPtr(0))
2345 {
2346 m_makeJumpPatchable = true;
2347 Jump result = branch32(cond, left, TrustedImm32(right));
2348 m_makeJumpPatchable = false;
2349 return PatchableJump(result);
2350 }
It truncate the pointer to imm32. (And there's no patchableBranchPtr user in WebKit currently)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150807/ed80a2f3/attachment.html>
More information about the webkit-unassigned
mailing list