Diff for /embedaddon/pcre/sljit/sljitConfigInternal.h between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2012/02/21 23:50:25 version 1.1.1.3, 2012/10/09 09:19:18
Line 194 Line 194
   
 #ifndef SLJIT_CACHE_FLUSH  #ifndef SLJIT_CACHE_FLUSH
   
#if (defined SLJIT_CONFIG_PPC_32 && SLJIT_CONFIG_PPC_32) || (defined SLJIT_CONFIG_PPC_64 && SLJIT_CONFIG_PPC_64)#if (defined SLJIT_CONFIG_X86_32 && SLJIT_CONFIG_X86_32) || (defined SLJIT_CONFIG_X86_64 && SLJIT_CONFIG_X86_64)
   
   /* Not required to implement on archs with unified caches. */
   #define SLJIT_CACHE_FLUSH(from, to)
   
   #elif defined __APPLE__
   
   /* Supported by all macs since Mac OS 10.5.
      However, it does not work on non-jailbroken iOS devices,
      although the compilation is successful. */
   
   #define SLJIT_CACHE_FLUSH(from, to) \
           sys_icache_invalidate((char*)(from), (char*)(to) - (char*)(from))
   
   #elif (defined SLJIT_CONFIG_PPC_32 && SLJIT_CONFIG_PPC_32) || (defined SLJIT_CONFIG_PPC_64 && SLJIT_CONFIG_PPC_64)
   
 /* The __clear_cache() implementation of GCC is a dummy function on PowerPC. */  /* The __clear_cache() implementation of GCC is a dummy function on PowerPC. */
 #define SLJIT_CACHE_FLUSH(from, to) \  #define SLJIT_CACHE_FLUSH(from, to) \
         ppc_cache_flush((from), (to))          ppc_cache_flush((from), (to))
   
 #elif (defined SLJIT_CONFIG_X86_32 && SLJIT_CONFIG_X86_32) || (defined SLJIT_CONFIG_X86_64 && SLJIT_CONFIG_X86_64)  
   
 /* Not required to implement on archs with unified caches. */  
 #define SLJIT_CACHE_FLUSH(from, to)  
   
 #else  #else
   
 /* Calls __ARM_NR_cacheflush on ARM-Linux. */  /* Calls __ARM_NR_cacheflush on ARM-Linux. */
Line 335  typedef long int sljit_w; Line 344  typedef long int sljit_w;
 #ifndef SLJIT_SSE2  #ifndef SLJIT_SSE2
   
 #if (defined SLJIT_CONFIG_X86_32 && SLJIT_CONFIG_X86_32) || (defined SLJIT_CONFIG_X86_64 && SLJIT_CONFIG_X86_64)  #if (defined SLJIT_CONFIG_X86_32 && SLJIT_CONFIG_X86_32) || (defined SLJIT_CONFIG_X86_64 && SLJIT_CONFIG_X86_64)
/* Turn on SSE2 support on x86 (operating on doubles)./* Turn on SSE2 support on x86. */
   (Better performance than legacy fpu instructions). */ 
 #define SLJIT_SSE2 1  #define SLJIT_SSE2 1
   
 #if (defined SLJIT_CONFIG_X86_32 && SLJIT_CONFIG_X86_32)  #if (defined SLJIT_CONFIG_X86_32 && SLJIT_CONFIG_X86_32)
 /* Auto detect SSE2 support using CPUID.  /* Auto detect SSE2 support using CPUID.
    On 64 bit x86 cpus, sse2 must be present. */     On 64 bit x86 cpus, sse2 must be present. */
#define SLJIT_SSE2_AUTO 1#define SLJIT_DETECT_SSE2 1
 #endif  #endif
   
 #endif /* (defined SLJIT_CONFIG_X86_32 && SLJIT_CONFIG_X86_32) || (defined SLJIT_CONFIG_X86_64 && SLJIT_CONFIG_X86_64) */  #endif /* (defined SLJIT_CONFIG_X86_32 && SLJIT_CONFIG_X86_32) || (defined SLJIT_CONFIG_X86_64 && SLJIT_CONFIG_X86_64) */

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>