summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjiyong.min <jiyong.min@samsung.com>2023-01-03 10:58:11 +0900
committerjiyong.min <jiyong.min@samsung.com>2023-01-03 11:18:10 +0900
commitd3b15f775aca026fb73b3db9132168905fac33af (patch)
tree6cebc48256573fb5a25eabb4188a20f22b1ce02d
parent8f303a6e2069fd39246decb4fe7aecb221cb134a (diff)
downloadlibjxl-d3b15f775aca026fb73b3db9132168905fac33af.tar.gz
libjxl-d3b15f775aca026fb73b3db9132168905fac33af.tar.bz2
libjxl-d3b15f775aca026fb73b3db9132168905fac33af.zip
Disable (__ARM_FP & 2) due to the build error for TVaccepted/tizen/unified/20230104.172213
Change-Id: I56149418265e8f4f6b22e6dd658fe99c6ada2546
-rw-r--r--packaging/libjxl.spec2
-rw-r--r--third_party/highway/hwy/base.h2
-rw-r--r--third_party/highway/hwy/ops/arm_neon-inl.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/packaging/libjxl.spec b/packaging/libjxl.spec
index 829f9f2..473020e 100644
--- a/packaging/libjxl.spec
+++ b/packaging/libjxl.spec
@@ -4,7 +4,7 @@
Name: libjxl
Summary: JPEG XL encoder and decoder library
Version: 0.7.0
-Release: 0
+Release: 1
Group: Multimedia/Libraries
URL: https://github.com/libjxl/libjxl/
License: BSD-3-Clause and Apache-2.0
diff --git a/third_party/highway/hwy/base.h b/third_party/highway/hwy/base.h
index c87fa96..102dd19 100644
--- a/third_party/highway/hwy/base.h
+++ b/third_party/highway/hwy/base.h
@@ -255,7 +255,7 @@ static constexpr HWY_MAYBE_UNUSED size_t kMaxVectorSize = 16;
// ACLE (https://gcc.gnu.org/onlinedocs/gcc/Half-Precision.html):
// always supported on aarch64, for v7 only if -mfp16-format is given.
-#if ((HWY_ARCH_ARM_A64 || (__ARM_FP & 2)) && HWY_COMPILER_GCC)
+#if ((HWY_ARCH_ARM_A64 || ((__ARM_FP & 2) && !(__TIZEN__))) && HWY_COMPILER_GCC)
using float16_t = __fp16;
// C11 extension ISO/IEC TS 18661-3:2015 but not supported on all targets.
// Required for Clang RVV if the float16 extension is used.
diff --git a/third_party/highway/hwy/ops/arm_neon-inl.h b/third_party/highway/hwy/ops/arm_neon-inl.h
index 87edbcf..adba524 100644
--- a/third_party/highway/hwy/ops/arm_neon-inl.h
+++ b/third_party/highway/hwy/ops/arm_neon-inl.h
@@ -3028,7 +3028,7 @@ HWY_API Vec128<int64_t, N> PromoteTo(Simd<int64_t, N, 0> /* tag */,
return Vec128<int64_t, N>(vget_low_s64(vmovl_s32(v.raw)));
}
-#if __ARM_FP & 2
+#if ((__ARM_FP & 2) && !(__TIZEN__))
HWY_API Vec128<float> PromoteTo(Full128<float> /* tag */,
const Vec128<float16_t, 4> v) {
@@ -3157,7 +3157,7 @@ HWY_API Vec128<int8_t, N> DemoteTo(Simd<int8_t, N, 0> /* tag */,
return Vec128<int8_t, N>(vqmovn_s16(vcombine_s16(v.raw, v.raw)));
}
-#if __ARM_FP & 2
+#if ((__ARM_FP & 2) && !(__TIZEN__))
HWY_API Vec128<float16_t, 4> DemoteTo(Full64<float16_t> /* tag */,
const Vec128<float> v) {