[Webkit-unassigned] [Bug 183243] New: [MIPS] Optimize generated JIT code for loads/stores from/to an absolute address
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 1 05:47:59 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=183243
Bug ID: 183243
Summary: [MIPS] Optimize generated JIT code for loads/stores
from/to an absolute address
Product: WebKit
Version: WebKit Nightly Build
Hardware: Other
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: stanislav.ocovaj at rt-rk.com
JIT currently generates three MIPS instructions for a load/store from/to an absolute address:
lui adrTmpReg, address >> 16
ori adrTmpReg, address & 0xffff
lw dataReg, 0(adrTmpReg)
Since load/store instructions on MIPS have a 16-bit offset, lower 16 bits of the address can be encoded into the load/store and ori can be removed:
lui adrTmpReg, (address + 0x8000) >> 16
lw dataReg, (address & 0xffff)(adrTmpReg)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180301/5d817437/attachment-0001.html>
More information about the webkit-unassigned
mailing list