Re: [pcre-dev] [Bug 2635] Port PCRE2 JIT to Linux on IBMz (s…

Pàgina inicial
Delete this message
Autor: Ze'ev Atlas
Data:  
A: pcre-dev@exim.org
Assumpte: Re: [pcre-dev] [Bug 2635] Port PCRE2 JIT to Linux on IBMz (s390x)
One more commentI have ported the 8 bit version of the non-JIT PCRE to native z/OS.  A great help was the fact that the PCRE is OS independent and does not assume any Unix/Linux specific kernel.  Thus, it lends itself to be ported into Windows and eventually z/OS.  I did not use JIT because at the time it was not available for the hardware.  I ask, if possible that the JIT should also not assume any Unix/Linux specific kernel.  I really want and hope to embellish my port with JIT option
Ze'ev Atlas



    On Monday, August 24, 2020, 08:58:41 AM EDT, Ze'ev Atlas via Pcre-dev <pcre-dev@???> wrote:  


Th z Series of IBM does have SIMD commandsPlease look at this publication as a starting point: https://share.confex.com/share/124/webprogram/Handout/Session16897/SHARE_Seattle_2015_SIMD.pdf
https://www.ibm.com/downloads/cas/WVPALM0N

A key publication: https://community.ibm.com/community/user/ibmz-and-linuxone/blogs/destination-z1/2019/12/23/z-architecture-continuously-improves-application-support
points to the relevant area in the Principles of Operation! (Chapter 25 of “z/Architecture Principles of Operation)
In general, anybody who is interested in doing anything with the z Series, needs to master the Principles of Operation.  You could request access from IBM which they should grant you and download this massive publication.  Make sure that you have the 2019 or 2020 edition to be aware about the latest hardware.  You may need to have the software be aware about the hardware level so you could support several currently supported levels such as z13, z14 and z15.
Access to the actual platform is limited and you may need to either have such access or strike some (expensive) deal with IBM.  There is an emulator, Hercules which is behind on the hardware level.  There is no legally freely available current Operating System to run Linux as a VM.  Again, you either have such access or must strike a deal with IBM.
Ze'ev Atlas



    On Monday, August 24, 2020, 04:03:20 AM EDT, <admin@???> wrote: 

https://bugs.exim.org/show_bug.cgi?id=2635

Zoltan Herczeg <hzmester@???> changed:

          What    |Removed                    |Added
----------------------------------------------------------------------------
                CC|                            |hzmester@???

--- Comment #2 from Zoltan Herczeg <hzmester@???> ---
I would like to add two notes:

The JIT compiler is a separate project and any kind of porting should be
submitted here:

https://github.com/zherczeg/sljit/

The compiler in PCRE is regularly updated from there.

Another comment is that x86 and ARM64 SIMD is used in JIT which gives
significant speedup in many cases. I don't know s390 has SIMD, but if it does
not have, the speedup expectation should be "x86 without SIMD".

--
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