[Pcre-svn] [825] code/trunk/src/sljit: JIT compiler update.

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [825] code/trunk/src/sljit: JIT compiler update.
Revision: 825
          http://www.exim.org/viewvc/pcre2?view=rev&revision=825
Author:   zherczeg
Date:     2017-06-15 12:36:18 +0100 (Thu, 15 Jun 2017)
Log Message:
-----------
JIT compiler update.


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


Modified: code/trunk/src/sljit/sljitNativeARM_32.c
===================================================================
--- code/trunk/src/sljit/sljitNativeARM_32.c    2017-06-15 06:20:30 UTC (rev 824)
+++ code/trunk/src/sljit/sljitNativeARM_32.c    2017-06-15 11:36:18 UTC (rev 825)
@@ -2285,7 +2285,7 @@
 #endif
     }


-    return push_inst(compiler, (EMIT_DATA_PROCESS_INS(MOV_DP, 0, dst_reg, SLJIT_UNUSED, src) & ~COND_MASK) | cc);
+    return push_inst(compiler, (EMIT_DATA_PROCESS_INS(MOV_DP, 0, dst_reg, SLJIT_UNUSED, RM(src)) & ~COND_MASK) | cc);
 }


SLJIT_API_FUNC_ATTRIBUTE struct sljit_const* sljit_emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw, sljit_sw init_value)

Modified: code/trunk/src/sljit/sljitNativeARM_64.c
===================================================================
--- code/trunk/src/sljit/sljitNativeARM_64.c    2017-06-15 06:20:30 UTC (rev 824)
+++ code/trunk/src/sljit/sljitNativeARM_64.c    2017-06-15 11:36:18 UTC (rev 825)
@@ -2063,7 +2063,7 @@
     cc = get_cc(type & 0xff);
     dst_reg &= ~SLJIT_I32_OP;


-    return push_inst(compiler, (CSEL ^ inv_bits) | (cc << 12) | RD(dst_reg) | RN(src) | RM(dst_reg));
+    return push_inst(compiler, (CSEL ^ inv_bits) | (cc << 12) | RD(dst_reg) | RN(dst_reg) | RM(src));
 }


SLJIT_API_FUNC_ATTRIBUTE struct sljit_const* sljit_emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw, sljit_sw init_value)