[Webkit-unassigned] [Bug 125528] New: [MIPS] Redundant instructions in code generated from offlineasm.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 10 11:59:17 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=125528

           Summary: [MIPS] Redundant instructions in code generated from
                    offlineasm.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kilvadyb at homejinni.com
                CC: ggaren at apple.com, fu at mips.com, msaboff at apple.com,
                    fpizlo at apple.com, gergely at homejinni.com,
                    palfia at homejinni.com, jbriance at cisco.com


loadi TagOffset[cfr, index, 8], tag
load PayloadOffset[cfr, index, 8], payload

sequences are quite common in LowLevelInterpreter32_64.asm. On MIPS we don't have shifted addressing mode so when the lowering of the addresses goes independently by instructions then the generated code will be:

sll $t8, $t2, 3
addu $t8, $t8, $fp
lw $v1, 4($t8)
sll $t8, $t2, 3
addu $t8, $t8, $fp
lw $v0, 0($t8)

The second sll; addu instructions are redundant.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list