[Pcre-svn] [1261] code/trunk/src/pcre2_jit_compile.c: Guard …

Kezdőlap
Üzenet törlése
Szerző: Subversion repository
Dátum:  
Címzett: pcre-svn
Tárgy: [Pcre-svn] [1261] code/trunk/src/pcre2_jit_compile.c: Guard update after r1260.
Revision: 1261
          http://www.exim.org/viewvc/pcre2?view=rev&revision=1261
Author:   zherczeg
Date:     2020-06-02 17:54:25 +0100 (Tue, 02 Jun 2020)
Log Message:
-----------
Guard update after r1260.


Revision Links:
--------------
    http://www.exim.org/viewvc/pcre2?view=rev&revision=1260


Modified Paths:
--------------
    code/trunk/src/pcre2_jit_compile.c


Modified: code/trunk/src/pcre2_jit_compile.c
===================================================================
--- code/trunk/src/pcre2_jit_compile.c    2020-06-02 10:54:37 UTC (rev 1260)
+++ code/trunk/src/pcre2_jit_compile.c    2020-06-02 16:54:25 UTC (rev 1261)
@@ -6183,6 +6183,7 @@


 if (common->nltype == NLTYPE_FIXED && common->newline > 255)
   {
+#ifdef JIT_HAS_FAST_FORWARD_CHAR_PAIR_SIMD
   if (JIT_HAS_FAST_FORWARD_CHAR_PAIR_SIMD && common->mode == PCRE2_JIT_COMPLETE)
     {
     if (HAS_VIRTUAL_REGISTERS)
@@ -6210,6 +6211,7 @@
     OP2(SLJIT_ADD, STR_PTR, 0, STR_PTR, 0, SLJIT_IMM, IN_UCHARS(2));
     }
   else
+#endif /* JIT_HAS_FAST_FORWARD_CHAR_PAIR_SIMD */
     {
     lastchar = CMP(SLJIT_GREATER_EQUAL, STR_PTR, 0, STR_END, 0);
     if (HAS_VIRTUAL_REGISTERS)
@@ -6271,6 +6273,7 @@
 loop = LABEL();
 common->ff_newline_shortcut = loop;


+#ifdef JIT_HAS_FAST_FORWARD_CHAR_SIMD
 if (JIT_HAS_FAST_FORWARD_CHAR_SIMD && (common->nltype == NLTYPE_FIXED || common->nltype == NLTYPE_ANYCRLF))
   {
   if (common->nltype == NLTYPE_ANYCRLF)
@@ -6296,6 +6299,7 @@
     }
   }
 else
+#endif /* JIT_HAS_FAST_FORWARD_CHAR_SIMD */
   {
   read_char(common, common->nlmin, common->nlmax, NULL, READ_CHAR_NEWLINE);
   lastchar = CMP(SLJIT_GREATER_EQUAL, STR_PTR, 0, STR_END, 0);