摘要 |
A parallel processing method, system, and/or computer program product for performing data parallel wide accesses on an unstructured text is provided. The parallel processing includes creating a pointer that points to a beginning of the unstructured text and loading into a vector register a string segment of the unstructured text based on the pointer. Then, access permissions of a first byte of the string segment are automatically tested. In turn, a determination is made as to whether the string segment includes an end indication, and a remaining portion of the unstructured text is validated by accessing and loading a last character identified by the end indication into the vector register when the string segment is determined to include the end indication. |
主权项 |
1. A method of performing, by a processor coupled to a memory, data parallel wide accesses on an unstructured text, comprising:
creating, by the processor, a pointer that points to a beginning of the unstructured text; loading, by the processor, into a vector register of the memory a string segment of the unstructured text based on the pointer; automatically testing, by the processor, access permissions of a first byte of the string segment; determining, by the processor, whether the string segment includes an end indication; and validating, by the processor, a remaining portion of the unstructured text by accessing and loading a last character identified by the end indication into the vector register when the string segment is determined to include the end indication. |