www/webkit-gtk3: unbreak on armv6
In file included from Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:26: In file included from ./Source/JavaScriptCore/config.h:30: ./Source/WTF/wtf/Platform.h:308:6: error: "Not supported ARM architecture" # error "Not supported ARM architecture" ^ <inline asm>:149:16: error: invalid operand for instruction vmov.u32 r2, r3, s8, s9 PR: 213961 216147 Submitted by: mikael.urankar@gmail.com
This commit is contained in:
parent
409f920aaa
commit
d7055c6a33
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=440353
2 changed files with 23 additions and 0 deletions
12
www/webkit-gtk3/files/patch-Source_WTF_wtf_Platform.h
Normal file
12
www/webkit-gtk3/files/patch-Source_WTF_wtf_Platform.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
This patch reportedly fixes build for ARM. See PR 208569
|
||||
|
||||
--- Source/WTF/wtf/Platform.h.orig 2016-04-10 06:48:36 UTC
|
||||
+++ Source/WTF/wtf/Platform.h
|
||||
@@ -218,6 +218,7 @@
|
||||
#elif defined(__ARM_ARCH_6__) \
|
||||
|| defined(__ARM_ARCH_6J__) \
|
||||
|| defined(__ARM_ARCH_6K__) \
|
||||
+ || defined(__ARM_ARCH_6KZ__) \
|
||||
|| defined(__ARM_ARCH_6Z__) \
|
||||
|| defined(__ARM_ARCH_6ZK__) \
|
||||
|| defined(__ARM_ARCH_6T2__) \
|
|
@ -0,0 +1,11 @@
|
|||
--- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp.orig 2016-04-10 06:48:37 UTC
|
||||
+++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp
|
||||
@@ -403,7 +403,7 @@ TOSTRING(neonDrawLighting) ":" NL
|
||||
"vmin.f32 " TMP2_D0 ", " TMP2_D0 ", " CONST_ONE_HI_D NL
|
||||
"vmul.f32 " TMP3_Q ", " COLOR_Q ", " TMP2_D0 "[1]" NL
|
||||
"vcvt.u32.f32 " TMP3_Q ", " TMP3_Q NL
|
||||
- "vmov.u32 r2, r3, " TMP3_S0 ", " TMP3_S1 NL
|
||||
+ "vmov r2, r3, " TMP3_S0 ", " TMP3_S1 NL
|
||||
// The color values are stored in-place.
|
||||
"strb r2, [" PIXELS_R ", #-11]" NL
|
||||
"strb r3, [" PIXELS_R ", #-10]" NL
|
Loading…
Reference in a new issue