[Pcre-svn] [1466] code/trunk/sljit/sljitNativeARM_64.c: JIT …

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [1466] code/trunk/sljit/sljitNativeARM_64.c: JIT compiler update.
Revision: 1466
          http://vcs.pcre.org/viewvc?view=rev&revision=1466
Author:   zherczeg
Date:     2014-03-26 18:23:42 +0000 (Wed, 26 Mar 2014)


Log Message:
-----------
JIT compiler update.

Modified Paths:
--------------
    code/trunk/sljit/sljitNativeARM_64.c


Modified: code/trunk/sljit/sljitNativeARM_64.c
===================================================================
--- code/trunk/sljit/sljitNativeARM_64.c    2014-03-14 15:58:19 UTC (rev 1465)
+++ code/trunk/sljit/sljitNativeARM_64.c    2014-03-26 18:23:42 UTC (rev 1466)
@@ -307,7 +307,7 @@


     compiler->error = SLJIT_ERR_COMPILED;
     compiler->executable_size = (code_ptr - code) * sizeof(sljit_ins);
-    /* SLJIT_CACHE_FLUSH(code, code_ptr); */
+    SLJIT_CACHE_FLUSH(code, code_ptr);
     return code;
 }


@@ -1762,6 +1762,7 @@
     sljit_ins inv_bits = (type & SLJIT_INT_OP) ? (1 << 31) : 0;


     SLJIT_ASSERT((type & 0xff) == SLJIT_C_EQUAL || (type & 0xff) == SLJIT_C_NOT_EQUAL);
+    ADJUST_LOCAL_OFFSET(src, srcw);


     jump = (struct sljit_jump*)ensure_abuf(compiler, sizeof(struct sljit_jump));
     PTR_FAIL_IF(!jump);
@@ -1890,12 +1891,12 @@
 {
     sljit_ins* inst = (sljit_ins*)addr;
     modify_imm64_const(inst, new_addr);
-    /* SLJIT_CACHE_FLUSH(inst, inst + 4); */
+    SLJIT_CACHE_FLUSH(inst, inst + 4);
 }


 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant)
 {
     sljit_ins* inst = (sljit_ins*)addr;
     modify_imm64_const(inst, new_constant);
-    /* SLJIT_CACHE_FLUSH(inst, inst + 4); */
+    SLJIT_CACHE_FLUSH(inst, inst + 4);
 }