$(top_builddir)/src/broadcom/cle/libbroadcom_cle.la \
$()
+if HAVE_ARM_ASM
+noinst_LTLIBRARIES += libvc4_neon.la
+libvc4_la_LIBADD += libvc4_neon.la
+libvc4_neon_la_SOURCES = $(NEON_C_SOURCES)
+libvc4_neon_la_CFLAGS = $(AM_CFLAGS) -mfpu=neon
+endif
+
libvc4_la_LDFLAGS = $(SIM_LDFLAGS)
EXTRA_DIST = kernel/README
void *src, uint32_t src_stride,
int cpp, const struct pipe_box *box)
{
+#ifdef USE_ARM_ASM
if (util_cpu_caps.has_neon) {
vc4_load_lt_image_neon(dst, dst_stride, src, src_stride,
cpp, box);
- } else {
- vc4_load_lt_image_base(dst, dst_stride, src, src_stride,
- cpp, box);
+ return;
}
+#endif
+ vc4_load_lt_image_base(dst, dst_stride, src, src_stride,
+ cpp, box);
}
static inline void
void *src, uint32_t src_stride,
int cpp, const struct pipe_box *box)
{
+#ifdef USE_ARM_ASM
if (util_cpu_caps.has_neon) {
vc4_store_lt_image_neon(dst, dst_stride, src, src_stride,
cpp, box);
- } else {
- vc4_store_lt_image_base(dst, dst_stride, src, src_stride,
- cpp, box);
+ return;
}
+#endif
+
+ vc4_store_lt_image_base(dst, dst_stride, src, src_stride,
+ cpp, box);
}
#endif /* VC4_TILING_H */