Revision: 847
http://www.exim.org/viewvc/pcre2?view=rev&revision=847
Author: zherczeg
Date: 2017-07-24 05:05:38 +0100 (Mon, 24 Jul 2017)
Log Message:
-----------
JIT compiler update.
Modified Paths:
--------------
code/trunk/src/sljit/sljitLir.c
code/trunk/src/sljit/sljitNativePPC_common.c
Modified: code/trunk/src/sljit/sljitLir.c
===================================================================
--- code/trunk/src/sljit/sljitLir.c 2017-07-21 08:53:02 UTC (rev 846)
+++ code/trunk/src/sljit/sljitLir.c 2017-07-24 04:05:38 UTC (rev 847)
@@ -124,10 +124,10 @@
/* SLJIT_REWRITABLE_JUMP is 0x1000. */
#if (defined SLJIT_CONFIG_X86 && SLJIT_CONFIG_X86)
-# define PATCH_MB 0x4
-# define PATCH_MW 0x8
+# define PATCH_MB 0x4
+# define PATCH_MW 0x8
#if (defined SLJIT_CONFIG_X86_64 && SLJIT_CONFIG_X86_64)
-# define PATCH_MD 0x10
+# define PATCH_MD 0x10
#endif
#endif
@@ -1555,7 +1555,6 @@
sljit_s32 dst_reg,
sljit_s32 src, sljit_sw srcw)
{
-(void)srcw; /* To stop compiler warning */
#if (defined SLJIT_ARGUMENT_CHECKS && SLJIT_ARGUMENT_CHECKS)
CHECK_ARGUMENT(!(type & ~(0xff | SLJIT_I32_OP)));
CHECK_ARGUMENT((type & 0xff) >= SLJIT_EQUAL && (type & 0xff) <= SLJIT_ORDERED_F64);
Modified: code/trunk/src/sljit/sljitNativePPC_common.c
===================================================================
--- code/trunk/src/sljit/sljitNativePPC_common.c 2017-07-21 08:53:02 UTC (rev 846)
+++ code/trunk/src/sljit/sljitNativePPC_common.c 2017-07-24 04:05:38 UTC (rev 847)
@@ -2282,16 +2282,15 @@
FAIL_IF(emit_op_mem2(compiler, input_flags | LOAD_DATA, TMP_REG1, dst, dstw, dst, dstw));
invert = 0;
+ cr_bit = 0;
switch (type & 0xff) {
case SLJIT_LESS:
case SLJIT_SIG_LESS:
- cr_bit = 0;
break;
case SLJIT_GREATER_EQUAL:
case SLJIT_SIG_GREATER_EQUAL:
- cr_bit = 0;
invert = 1;
break;