vector: build for ARM NEON
authorMihai Serban <mihai.serban@gmail.com>
Tue, 7 May 2019 07:12:15 +0000 (10:12 +0300)
committerHermet Park <hermetpark@gmail.com>
Mon, 13 May 2019 08:13:44 +0000 (17:13 +0900)
src/vector/meson.build
src/vector/pixman/meson.build
src/vector/pixman/pixman-arm-neon-asm.S

index ed8b471..543f730 100644 (file)
@@ -13,6 +13,7 @@ source_file  += files('vpainter.cpp')
 source_file  += files('vcompositionfunctions.cpp')
 source_file  += files('vdrawhelper.cpp')
 source_file  += files('vdrawhelper_sse2.cpp')
+source_file  += files('vdrawhelper_neon.cpp')
 source_file  += files('vdrawable.cpp')
 
 source_file  += files('vrect.cpp')
index c45d81a..f3da1f3 100644 (file)
@@ -1,5 +1,5 @@
 
-source_file  = files('vregion.cpp')
+source_file  = files('vregion.cpp', 'pixman-arm-neon-asm.S')
 
 pixman_dep = declare_dependency(
                                  include_directories : include_directories('.'),
index f2203c2..0124d65 100644 (file)
@@ -23,6 +23,8 @@
  * Author:  Siarhei Siamashka (siarhei.siamashka@nokia.com)
  */
 
+#if defined(__ARM_NEON__)
+
 /*
  * This file contains implementations of NEON optimized pixel processing
  * functions. There is no full and detailed tutorial, but some functions
@@ -495,3 +497,4 @@ generate_composite_function \
     0  /* mask_basereg  */
 
 /******************************************************************************/
+#endif // defined(__ARM_NEON__)