From sylvain.becker at gmail.com Wed Jan 3 09:46:54 2018 From: sylvain.becker at gmail.com (Sylvain Becker) Date: Wed, 3 Jan 2018 10:46:54 +0100 Subject: [Pixman] pixman-0.34.0 warning(s) Message-ID: Hello, Compiling pixman-0.34.0 with clang prints this warning: pixman/pixman-implementation.c:124:38: warning: comparison of constant 64 with expression of type 'const pixman_op_t' is always false [-Wtautological-constant-out-of-range-compare] if ((info->op == op || info->op == PIXMAN_OP_any) && ~~~~~~~~ ^ ~~~~~~~~~~~~~ and also this (less important?) one: pixman/pixman-fast-path.c:2614:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value] while (buffer < end && x < pixman_fixed_minus_1) ^~~~~~~~~~~~~~~~~~~~ pixman/pixman.h:128:32: note: expanded from macro 'pixman_fixed_minus_1' #define pixman_fixed_minus_1 (pixman_int_to_fixed(-1)) ^~~~~~~~~~~~~~~~~~~~~~~ pixman/pixman.h:130:56: note: expanded from macro 'pixman_int_to_fixed' #define pixman_int_to_fixed(i) ((pixman_fixed_t) ((i) << 16)) ~~~ ^ Cheers, Sylvain -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvain.becker at gmail.com Wed Jan 3 09:59:33 2018 From: sylvain.becker at gmail.com (Sylvain Becker) Date: Wed, 3 Jan 2018 10:59:33 +0100 Subject: [Pixman] Detection of CPU features, on Android / ARM Message-ID: Hello, For Android / ARM, detection of CPU features is done by "detect_cpu_features()" in the file "pixman-arm.c". It relies on Android NDK functions and only checks for ANDROID_CPU_FAMILY_ARM. Whereas, it exists also ANDROID_CPU_FAMILY_ARM64 for ABI arm64-v8a ( https://developer.android.com/ndk/guides/cpu-features.html#functions ). Which means NEON implementation is not activated for this ABI. Cheers, Sylvain -------------- next part -------------- An HTML attachment was scrubbed... URL: