mirror of
https://github.com/openwrt/video.git
synced 2026-05-31 06:51:54 +08:00
df0b899123
Update WPEWebKit to the 2.52 stable major release branch. Includes a pending patchset to get WASM BBQJIT working on RISCV64, upstream PR https://github.com/WebKit/WebKit/pull/65621 Alltogether this brings acceptable performance (even with LLVMPipe Mesa software renderer) on RISCV64. Link: https://wpewebkit.org/release/wpewebkit-2.52.0.html Link: https://wpewebkit.org/release/wpewebkit-2.52.1.html Link: https://wpewebkit.org/release/wpewebkit-2.52.2.html Link: https://wpewebkit.org/release/wpewebkit-2.52.3.html Signed-off-by: Daniel Golle <daniel@makrotopia.org>
32 lines
973 B
Diff
32 lines
973 B
Diff
From fe687ccb463fa42de923c5440259d89f781f3c69 Mon Sep 17 00:00:00 2001
|
|
From: Daniel Golle <daniel@makrotopia.org>
|
|
Date: Mon, 9 Dec 2024 01:01:44 +0000
|
|
Subject: [PATCH] currentStackPointer for Linux/PPC, Linux/PPC64
|
|
|
|
Add inline assembly implementation to return the current stack
|
|
pointer on Linux running on PowerPC and PowerPC64 archtecture.
|
|
---
|
|
Source/WTF/wtf/StackPointer.cpp | 11 +++++++++++
|
|
1 file changed, 11 insertions(+)
|
|
|
|
--- a/Source/WTF/wtf/StackPointer.cpp
|
|
+++ b/Source/WTF/wtf/StackPointer.cpp
|
|
@@ -157,6 +157,17 @@ __asm__(
|
|
".previous" "\n"
|
|
);
|
|
|
|
+#elif CPU(PPC) || CPU(PPC64)
|
|
+asm (
|
|
+ ".text" "\n"
|
|
+ ".globl " SYMBOL_STRING(currentStackPointer) "\n"
|
|
+ SYMBOL_STRING(currentStackPointer) ":" "\n"
|
|
+
|
|
+ "mr 3, 1" "\n" // Move stack pointer (r1) to return register (r3)
|
|
+ "blr" "\n" // Branch to link register (return)
|
|
+ ".previous" "\n"
|
|
+);
|
|
+
|
|
#else
|
|
#error "Unsupported platform: need implementation of currentStackPointer."
|
|
#endif
|