mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-30 10:45:13 +08:00
🌴 Sync 2026-09-27 20:55:59
This commit is contained in:
1 parent
5c90f0aed1
commit
13668feb29
77 files changed
+2076
-94
No files matched your search
@@ -0,0 +1,16 @@
|
||||
[arm64] Use the ISB instruction instead of YIELD
|
||||
https://source.chromium.org/chromium/_/chromium/v8/v8/+/2b4f16e81707a744c09417f49ad6c7cb77413da8
|
||||
--- a/deps/v8/src/base/platform/yield-processor.h
|
||||
+++ b/deps/v8/src/base/platform/yield-processor.h
|
||||
@@ -41,8 +41,10 @@
|
||||
#if defined(V8_HOST_ARCH_IA32) || defined(V8_HOST_ARCH_X64)
|
||||
#define YIELD_PROCESSOR __asm__ __volatile__("pause")
|
||||
#elif defined(V8_HOST_ARCH_ARM64) || \
|
||||
- (defined(V8_HOST_ARCH_ARM) && __ARM_ARCH >= 6)
|
||||
+ (defined(V8_HOST_ARCH_ARM) && __ARM_ARCH > 6)
|
||||
#define YIELD_PROCESSOR __asm__ __volatile__("isb" ::: "memory")
|
||||
+#elif defined(V8_HOST_ARCH_ARM)
|
||||
+#define YIELD_PROCESSOR __asm__ __volatile__("yield")
|
||||
#elif defined(V8_HOST_ARCH_MIPS64EL) && __mips_isa_rev >= 2
|
||||
// Don't bother doing using .word here since r2 is the lowest supported mips64
|
||||
// that Chromium supports.
|
||||
Reference in new issue
Block a user