[Webkit-unassigned] [Bug 270699] New: [JSC] Add arbitrary label alignment functionality to offlineasm

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 8 07:30:20 PST 2024


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

            Bug ID: 270699
           Summary: [JSC] Add arbitrary label alignment functionality to
                    offlineasm
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: maximilian at igalia.com

To express some programs like the InPlaceInterpreter we need to align instructions to specific boundaries (such as 256).

We currently to do this via `emit ".balign 256, 0xcc"' (for instance) but this is not reliable on armv7 as its globaladdr implementation can insert code unpredictably (from the point of view of the offlineasm user), hence breaking the alignment.

We should add functionality in offlineasm to address this usecase reliably.

Possibly related to rdar://113594783

-- 
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/20240308/53dfe8d8/attachment.htm>


More information about the webkit-unassigned mailing list