Hello MikeAre you aware that there is a current implementation of the non-jit 
version for IBM Z series.  I obviously support your efforts to do a jit 
version.  I am the maintainer of that stuff and would like to work with you so 
I couldA.  Share with you my experienceB. Coordinate between the two versions
I see that you are an IBM employee, so your designs will take precedence over 
mine, but with coordination we could keep them close.
I am glad that IBM decided to take over.
Please contact me at [email protected]
Ze'ev Atlas

Sent from Yahoo Mail on Android 
 
  On Wed, Jan 16, 2019 at 10:27 AM, [email protected]<[email protected]> 
wrote:   https://bugs.exim.org/show_bug.cgi?id=2365

            Bug ID: 2365
          Summary: check_wordboundary does not explicitly set zero flag
          Product: PCRE
          Version: N/A
          Hardware: Other
                OS: All
            Status: NEW
          Severity: bug
          Priority: medium
        Component: Code
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Created attachment 1166
  --> https://bugs.exim.org/attachment.cgi?id=1166&action=edit
Fix

The OP_WORD_BOUNDARY/OP_NOT_WORD_BOUNDARY implementation calls the fast
function check_wordboundary expecting it to set the zero flag (SLJIT_SET_Z).
The function never explicitly sets the flag though. I presume this works on
x86_64 because the xor instruction sets the zero flag regardless of whether it
is requested or not.

I've attached a patch that fixes the issue for me on the architecture I am
trying to port the PCRE2 JIT to (IBM Z).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 
  
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to