DescriptionMIPS: Use JIC/JIALC offset when possible
Until now JIC and JIALC compact branches were emited without using their
offset. Here we optimize their use by using offset after addition and/or
load immediate operations.
The CL also fixes a problem with deserialization that occurs when a code
object ends with an optimized LUI/AUI and JIC/JIALC instruction pair.
Deserializer processed these instruction pairs by moving to a location
immediately after it, but when this location is the end of the object it
would finish with the current object before doing relocation. This is
fixed by moving the deserializer one instruction before the location of
the instruction pair end.
BUG=
Review-Url: https://codereview.chromium.org/2542403002
Cr-Commit-Position: refs/heads/master@{#44841}
Committed: https://chromium.googlesource.com/v8/v8/+/fe916cd224a5bf8cbf1e8503a192c27fdbcda9f7
Patch Set 1 #
Total comments: 12
Patch Set 2 : Simplify using Call and Jump #
Total comments: 2
Patch Set 3 : Fix deserialization problem, rebase to master #
Total comments: 4
Messages
Total messages: 18 (7 generated)
|