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

Limit calculation of pre loop during super word optimization is wrong

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b96
    • CPU:
      generic
    • OS:
      generic

      Description

      gunter.haug@sap.com reported the following problem:

      The variable "MemNode* best_align_to_mem_ref" is hidden by a second declaration of a variable with the same name in an inner block of the function "SuperWord::find_adjacent_refs()". This leads to unaligned accesses in generated code. While many platforms handle these correctly (slower, though), Itanium and potentially other platforms which don't allow unaligned access will crash.

        Attachments

          Activity

            People

            • Assignee:
              simonis Volker Simonis
              Reporter:
              simonis Volker Simonis
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: