forked from enlightenment/efl
allow neon build even if not armv4 - eg build for armv6 but add neon asm as a
"check if its there then use it" ala mmx/sse as opposed to require it all be neon armv7 stuff ffor neon to work. SVN revision: 48044
This commit is contained in:
parent
3d71b07fc7
commit
58c7049da8
|
@ -79,13 +79,13 @@ evas_common_cpu_altivec_test(void)
|
|||
void
|
||||
evas_common_cpu_neon_test(void)
|
||||
{
|
||||
#if defined(__ARM_ARCH__) && (__ARM_ARCH__ >= 70)
|
||||
//#if defined(__ARM_ARCH__) && (__ARM_ARCH__ >= 70)
|
||||
#ifdef BUILD_NEON
|
||||
asm volatile (
|
||||
"vqadd.u8 d0, d1, d0\n"
|
||||
);
|
||||
#endif
|
||||
#endif
|
||||
//#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -1265,11 +1265,11 @@ void evas_font_dir_cache_free(void);
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#if defined(__ARM_ARCH__) && (__ARM_ARCH__ >= 70)
|
||||
//#if defined(__ARM_ARCH__) && (__ARM_ARCH__ >= 70)
|
||||
#ifdef BUILD_NEON
|
||||
# include <arm_neon.h>
|
||||
#endif
|
||||
#endif
|
||||
//#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue