diff options
author | Martin Stransky <stransky@redhat.com> | 2019-07-09 14:22:23 +0200 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2019-07-09 14:22:23 +0200 |
commit | 1d9c07d0f5f859efad87ea64391b459cb8c33b4b (patch) | |
tree | 2152f44db2838b1abe865c9d8bdb44162bb30c8a | |
parent | - Fix crash on ppc64le (mozilla#1512162) (diff) | |
download | librewolf-fedora-ff-1d9c07d0f5f859efad87ea64391b459cb8c33b4b.tar.gz librewolf-fedora-ff-1d9c07d0f5f859efad87ea64391b459cb8c33b4b.tar.bz2 librewolf-fedora-ff-1d9c07d0f5f859efad87ea64391b459cb8c33b4b.zip |
aarch64 build fixes
-rw-r--r-- | build-aarch64-skia.patch | 21 |
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 |