Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8202783

Common code for vectorizedMismatch and String compareTo intrinsics

    Details

      Description

      vectorizedMismatch intrinsic can handle arrays of 1-,2-,4-, and 8-byte elements. At the same time, 1- and 2-byte code is basically the same as String compareTo intrinsic in cases when both strings has same encoding.
      Joining this code will remove partial code duplication and help to reduce support efforts.
      Depending on specific final solution, it might require changes in common java part. Also, existing vectorizedMismatch intrinsic implementation (only x86 currently) might need to be split or rewritten and partially merged with String compareTo intrinsic implementation.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dpochepk Dmitrij Pochepko
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: