/[pcre]/code/trunk/sljit/sljitNativePPC_common.c
ViewVC logotype

Diff of /code/trunk/sljit/sljitNativePPC_common.c

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

revision 741 by zherczeg, Mon Oct 31 06:10:14 2011 UTC revision 742 by zherczeg, Sun Nov 6 08:05:33 2011 UTC
# Line 37  SLJIT_API_FUNC_ATTRIBUTE SLJIT_CONST cha Line 37  SLJIT_API_FUNC_ATTRIBUTE SLJIT_CONST cha
37     Both for ppc-32 and ppc-64. */     Both for ppc-32 and ppc-64. */
38  typedef sljit_ui sljit_ins;  typedef sljit_ui sljit_ins;
39    
40    static void ppc_cache_flush(sljit_ins *from, sljit_ins *to)
41    {
42            while (from < to) {
43    #ifdef __GNUC__
44                    asm volatile ( "icbi 0, %0" : : "r"(from) );
45    #else
46    #error "Must implement icbi"
47    #endif
48                    from++;
49            }
50    }
51    
52  #define TMP_REG1        (SLJIT_NO_REGISTERS + 1)  #define TMP_REG1        (SLJIT_NO_REGISTERS + 1)
53  #define TMP_REG2        (SLJIT_NO_REGISTERS + 2)  #define TMP_REG2        (SLJIT_NO_REGISTERS + 2)
54  #define TMP_REG3        (SLJIT_NO_REGISTERS + 3)  #define TMP_REG3        (SLJIT_NO_REGISTERS + 3)

Legend:
Removed from v.741  
changed lines
  Added in v.742

  ViewVC Help
Powered by ViewVC 1.1.5