26 lines
1.5 KiB
Diff
26 lines
1.5 KiB
Diff
diff -up firefox-114.0/gfx/skia/skia/modules/skcms/src/Transform_inl.h.aarch64-skia firefox-114.0/gfx/skia/skia/modules/skcms/src/Transform_inl.h
|
|
--- firefox-114.0/gfx/skia/skia/modules/skcms/src/Transform_inl.h.aarch64-skia 2023-06-02 03:15:22.000000000 +0200
|
|
+++ firefox-114.0/gfx/skia/skia/modules/skcms/src/Transform_inl.h 2023-06-05 10:18:46.942777997 +0200
|
|
@@ -189,8 +189,6 @@ SI F F_from_Half(U16 half) {
|
|
SI U16 Half_from_F(F f) {
|
|
#if defined(USING_NEON_FP16)
|
|
return bit_pun<U16>(f);
|
|
-#elif defined(USING_NEON_F16C)
|
|
- return (U16)vcvt_f16_f32(f);
|
|
#elif defined(USING_AVX512F)
|
|
return (U16)_mm512_cvtps_ph((__m512 )f, _MM_FROUND_CUR_DIRECTION );
|
|
#elif defined(USING_AVX_F16C)
|
|
diff -up firefox-114.0/gfx/skia/skia/src/base/SkHalf.h.aarch64-skia firefox-114.0/gfx/skia/skia/src/base/SkHalf.h
|
|
diff -up firefox-114.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h.aarch64-skia firefox-114.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h
|
|
--- firefox-114.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h.aarch64-skia 2023-06-05 10:18:46.941777963 +0200
|
|
+++ firefox-114.0/gfx/skia/skia/src/opts/SkRasterPipeline_opts.h 2023-06-05 10:20:44.924843847 +0200
|
|
@@ -1128,7 +1128,7 @@ SI F from_half(U16 h) {
|
|
}
|
|
|
|
SI U16 to_half(F f) {
|
|
-#if defined(JUMPER_IS_NEON) && defined(SK_CPU_ARM64) \
|
|
+#if 0 //defined(JUMPER_IS_NEON) && defined(SK_CPU_ARM64) \
|
|
&& !defined(SK_BUILD_FOR_GOOGLE3) // Temporary workaround for some Google3 builds.
|
|
return sk_bit_cast<U16>(vcvt_f16_f32(f));
|
|
|