Skip to content

Conversation

eugeneia
Copy link
Contributor

@eugeneia eugeneia commented Feb 12, 2024

474074a

[JSC] Port IPInt entry/exit to armv7
https://bugs.webkit.org/show_bug.cgi?id=269187

Reviewed by Justin Michaud.

This ports the entry and exit sequences of IPInt to armv7.

With these changes we can run a basic empty WASM function
test case.

Further changes are needed to add individual instruction
implementations.

* Source/JavaScriptCore/llint/InPlaceInterpreter.asm:
* Source/JavaScriptCore/wasm/WasmIPIntGenerator.cpp:
(JSC::Wasm::IPIntGenerator::addCallCommonData):

Canonical link: https://commits.webkit.org/275185@main

a1ce01e

Misc iOS, tvOS & watchOS macOS Linux Windows
✅ 🧪 style ✅ 🛠 ios ✅ 🛠 mac ✅ 🛠 wpe ✅ 🛠 wincairo
✅ 🛠 ios-sim ✅ 🛠 mac-AS-debug ✅ 🧪 wpe-wk2
✅ 🧪 webkitperl ✅ 🧪 ios-wk2 ✅ 🧪 api-mac ✅ 🧪 api-wpe
✅ 🧪 ios-wk2-wpt ✅ 🧪 mac-wk1 ✅ 🛠 gtk
✅ 🛠 🧪 jsc 🧪 api-ios ✅ 🧪 mac-wk2 ✅ 🧪 gtk-wk2
✅ 🛠 🧪 jsc-arm64 ✅ 🛠 tv ✅ 🧪 mac-AS-debug-wk2 ✅ 🧪 api-gtk
✅ 🛠 tv-sim ✅ 🛠 jsc-armv7
✅ 🛠 🧪 merge ✅ 🛠 watch ✅ 🧪 jsc-armv7-tests
✅ 🛠 watch-sim

@eugeneia eugeneia requested a review from a team as a code owner February 12, 2024 12:30
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Feb 12, 2024
Copy link
Contributor

@justinmichaud justinmichaud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me

@eugeneia eugeneia force-pushed the eng/ipint-armv7-entry branch from ad131f0 to b50526e Compare February 15, 2024 12:11
@eugeneia eugeneia force-pushed the eng/ipint-armv7-entry branch from b50526e to 0d2adcc Compare February 15, 2024 12:37
@eugeneia eugeneia force-pushed the eng/ipint-armv7-entry branch from 0d2adcc to 4e36617 Compare February 15, 2024 13:40
@eugeneia
Copy link
Contributor Author

Hadn't really considered windows yet, I need to do some thinking how to handle the X86_64_WIN case which is currently entirely unsupported just like ARM.

@eugeneia eugeneia force-pushed the eng/ipint-armv7-entry branch from 4e36617 to 48c50cd Compare February 20, 2024 13:20
@eugeneia eugeneia force-pushed the eng/ipint-armv7-entry branch from 48c50cd to 787d414 Compare February 21, 2024 22:38
@eugeneia eugeneia force-pushed the eng/ipint-armv7-entry branch from 787d414 to 0c148a6 Compare February 21, 2024 22:39
@eugeneia eugeneia force-pushed the eng/ipint-armv7-entry branch from 0c148a6 to a1ce01e Compare February 22, 2024 12:41
@eugeneia
Copy link
Contributor Author

Ok I resolved the windows build failure by temporarily duplicating the stubs for armv7 instead of changing the existing stubs for unimplemented architectures (which happen to be relied by the windows build too).

Should be good to go if EWS says green.

@jjgriego jjgriego added merge-queue Applied to send a pull request to merge-queue and removed merging-blocked Applied to prevent a change from being merged labels Feb 22, 2024
https://bugs.webkit.org/show_bug.cgi?id=269187

Reviewed by Justin Michaud.

This ports the entry and exit sequences of IPInt to armv7.

With these changes we can run a basic empty WASM function
test case.

Further changes are needed to add individual instruction
implementations.

* Source/JavaScriptCore/llint/InPlaceInterpreter.asm:
* Source/JavaScriptCore/wasm/WasmIPIntGenerator.cpp:
(JSC::Wasm::IPIntGenerator::addCallCommonData):

Canonical link: https://commits.webkit.org/275185@main
@webkit-commit-queue
Copy link
Collaborator

Committed 275185@main (474074a): https://commits.webkit.org/275185@main

Reviewed commits have been landed. Closing PR #24246 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 474074a into WebKit:main Feb 22, 2024
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants