summaryrefslogtreecommitdiff
path: root/build-aarch64-skia.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2019-07-09 14:22:50 +0200
committerMartin Stransky <stransky@redhat.com>2019-07-09 14:22:50 +0200
commita29c9d4990b429e51e922943ff2119009bce634a (patch)
tree2152f44db2838b1abe865c9d8bdb44162bb30c8a /build-aarch64-skia.patch
parentMerge branch 'master' into f30 (diff)
parentaarch64 build fixes (diff)
downloadlibrewolf-fedora-ff-a29c9d4990b429e51e922943ff2119009bce634a.tar.gz
librewolf-fedora-ff-a29c9d4990b429e51e922943ff2119009bce634a.tar.bz2
librewolf-fedora-ff-a29c9d4990b429e51e922943ff2119009bce634a.zip
Merge branch 'master' into f30
Diffstat (limited to 'build-aarch64-skia.patch')
-rw-r--r--build-aarch64-skia.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/build-aarch64-skia.patch b/build-aarch64-skia.patch
index 1ecad24..108316c 100644
--- a/build-aarch64-skia.patch
+++ b/build-aarch64-skia.patch
@@ -10,3 +10,24 @@ diff -up firefox-61.0/gfx/skia/skia/src/jumper/SkJumper_stages.cpp.aarch64-skia
return vcvt_f16_f32(f);
#elif defined(JUMPER_IS_HSW) || defined(JUMPER_IS_AVX512)
+diff -up firefox-68.0/gfx/skia/skia/include/private/SkHalf.h.old firefox-68.0/gfx/skia/skia/include/private/SkHalf.h
+--- firefox-68.0/gfx/skia/skia/include/private/SkHalf.h.old 2019-07-09 14:20:12.527441789 +0200
++++ firefox-68.0/gfx/skia/skia/include/private/SkHalf.h 2019-07-09 14:20:31.744366018 +0200
+@@ -40,7 +40,7 @@ static inline Sk4h SkFloatToHalf_finite_
+
+ static inline Sk4f SkHalfToFloat_finite_ftz(uint64_t rgba) {
+ Sk4h hs = Sk4h::Load(&rgba);
+-#if !defined(SKNX_NO_SIMD) && defined(SK_CPU_ARM64)
++#if 0 // !defined(SKNX_NO_SIMD) && defined(SK_CPU_ARM64)
+ float32x4_t fs;
+ asm ("fcvtl %[fs].4s, %[hs].4h \n" // vcvt_f32_f16(...)
+ : [fs] "=w" (fs) // =w: write-only NEON register
+@@ -62,7 +62,7 @@ static inline Sk4f SkHalfToFloat_finite_
+ }
+
+ static inline Sk4h SkFloatToHalf_finite_ftz(const Sk4f& fs) {
+-#if !defined(SKNX_NO_SIMD) && defined(SK_CPU_ARM64)
++#if 0 //!defined(SKNX_NO_SIMD) && defined(SK_CPU_ARM64)
+ float32x4_t vec = fs.fVec;
+ asm ("fcvtn %[vec].4h, %[vec].4s \n" // vcvt_f16_f32(vec)
+ : [vec] "+w" (vec)); // +w: read-write NEON register
bgstack15