[Webkit-unassigned] [Bug 122863] New: [sh4] Some calls don't match sh4 ABI

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 15 14:34:22 PDT 2013


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

           Summary: [sh4] Some calls don't match sh4 ABI
           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: jbriance at cisco.com


Yannick rightly pointed out to me that the SH4_32BIT_DUMMY_ARG padding value should not be used if a 32-bit value parameter comes after a 64-bit JSValue that couldn't be put half in r7 and half on stack.

To sum up the ABI, with a function like this:

    void func(int p1, long long p2, long long p3, int p4)

    p1 32-bit value will use 1st argument register r4
    p2 64-bit value will use 2nd and 3rd argument registers r5 and r6
    p3 64-bit value will be put on stack
    p4 32-bit value will use the remaining 4th argument register r7 (and not be put on stack after p3)

-- 
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