#include <arm_neon.h>
#endif
-#if defined(__ARM_HAVE_NEON) && !defined(SK_CPU_BENDIAN)
+#if defined(__ARM_HAVE_NEON) && defined(SK_CPU_LENDIAN)
static void S32A_D565_Opaque_neon(uint16_t* SK_RESTRICT dst,
const SkPMColor* SK_RESTRICT src, int count,
U8CPU alpha, int /*x*/, int /*y*/) {
"d16","d17","d18","d19","d20","d21","d22","d23","d24","d25","d26","d27","d28","d29",
"d30","d31"
);
- }
- else
- { // handle count < 8
+ } else {
+ // handle count < 8
uint16_t* SK_RESTRICT keep_dst;
asm volatile (
///////////////////////////////////////////////////////////////////////////////
-#if defined(__ARM_HAVE_NEON) && !defined(SK_CPU_BENDIAN)
+#if defined(__ARM_HAVE_NEON) && defined(SK_CPU_LENDIAN)
static void S32A_Opaque_BlitRow32_neon(SkPMColor* SK_RESTRICT dst,
const SkPMColor* SK_RESTRICT src,
/* Neon version of S32_Blend_BlitRow32()
* portable version is in core/SkBlitRow_D32.cpp
*/
-#if defined(__ARM_HAVE_NEON) && !defined(SK_CPU_BENDIAN)
+#if defined(__ARM_HAVE_NEON) && defined(SK_CPU_LENDIAN)
static void S32_Blend_BlitRow32_neon(SkPMColor* SK_RESTRICT dst,
const SkPMColor* SK_RESTRICT src,
int count, U8CPU alpha) {
///////////////////////////////////////////////////////////////////////////////
-#if 0 && defined(__ARM_HAVE_NEON) && !defined(SK_CPU_BENDIAN)
+#if defined(__ARM_HAVE_NEON) && defined(SK_CPU_LENDIAN)
/* RBE: working on this 2009/10/8 */
static void S32A_D565_Opaque_Dither_neon(uint16_t* SK_RESTRICT dst,
const SkPMColor* SK_RESTRICT src,