/[pcre]/code/trunk/sljit/sljitConfigInternal.h
ViewVC logotype

Diff of /code/trunk/sljit/sljitConfigInternal.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 966 by zherczeg, Tue Apr 3 15:32:36 2012 UTC revision 967 by zherczeg, Mon May 14 07:36:39 2012 UTC
# Line 194  Line 194 
194    
195  #ifndef SLJIT_CACHE_FLUSH  #ifndef SLJIT_CACHE_FLUSH
196    
197  #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)
198    
199    /* Not required to implement on archs with unified caches. */
200    #define SLJIT_CACHE_FLUSH(from, to)
201    
202    #elif defined __APPLE__
203    
204    /* Supported by all macs since Mac OS 10.5.
205       However, it does not work on non-jailbroken iOS devices,
206       although the compilation is successful. */
207    
 /* The __clear_cache() implementation of GCC is a dummy function on PowerPC. */  
208  #define SLJIT_CACHE_FLUSH(from, to) \  #define SLJIT_CACHE_FLUSH(from, to) \
209          ppc_cache_flush((from), (to))          sys_icache_invalidate((char*)(from), (char*)(to) - (char*)(from))
210    
211  #elif (defined SLJIT_CONFIG_X86_32 && SLJIT_CONFIG_X86_32) || (defined SLJIT_CONFIG_X86_64 && SLJIT_CONFIG_X86_64)  #elif (defined SLJIT_CONFIG_PPC_32 && SLJIT_CONFIG_PPC_32) || (defined SLJIT_CONFIG_PPC_64 && SLJIT_CONFIG_PPC_64)
212    
213  /* Not required to implement on archs with unified caches. */  /* The __clear_cache() implementation of GCC is a dummy function on PowerPC. */
214  #define SLJIT_CACHE_FLUSH(from, to)  #define SLJIT_CACHE_FLUSH(from, to) \
215            ppc_cache_flush((from), (to))
216    
217  #else  #else
218    

Legend:
Removed from v.966  
changed lines
  Added in v.967

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12