On 6/14/2018 5:44 PM, Robin Vowels wrote:
----- Original Message ----- From: "Ed Jaffe"
<[email protected]>
Sent: Friday, June 15, 2018 5:34 AM
BY FAR the fastest way HANDS DOWN -- if you're looking for 16 or
fewer characters -- is with the vector instructions...
How many words can you fit into 16 characters?
Haha! I assume that's a joke, but this is no laughing matter. SIMD is a
"game changer" for this platform.
We use it in (E)JES for general searching of any string (the FIND
command) within (for example) spooled reports. We use VFAEB to locate
the first character of the search string. (This use case uses requires
only one of the 16 possible search characters.) Once it's located, we
then CLC on the remaining characters to see if we've found a match --
just the same as we would if we were using TRT or SRST. This technique
runs *CIRCLES* around SRST, TRT, and -- of course -- straight CLC.
Nothing else we've tried even comes close...
We also use vector instructions for bit map searches, parsing of 3270
messages (looking for up to 16 different orders), and numerous other
primitives throughout our infrastructure.
--
Phoenix Software International
Edward E. Jaffe
831 Parkview Drive North
El Segundo, CA 90245
http://www.phoenixsoftware.com/
--------------------------------------------------------------------------------
This e-mail message, including any attachments, appended messages and the
information contained therein, is for the sole use of the intended
recipient(s). If you are not an intended recipient or have otherwise
received this email message in error, any use, dissemination, distribution,
review, storage or copying of this e-mail message and the information
contained therein is strictly prohibited. If you are not an intended
recipient, please contact the sender by reply e-mail and destroy all copies
of this email message and do not otherwise utilize or retain this email
message or any or all of the information contained therein. Although this
email message and any attachments or appended messages are believed to be
free of any virus or other defect that might affect any computer system into
which it is received and opened, it is the responsibility of the recipient
to ensure that it is virus free and no responsibility is accepted by the
sender for any loss or damage arising in any way from its opening or use.