x64 emits unnecessary REX prefix

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • hs22
    • Affects Version/s: hs22
    • Component/s: hotspot
    • None
    • b02
    • generic
    • generic
    • Verified

        While investigating some other bug we found out that on x64 we sometimes emit unnecessary REX prefixes like:

          0xfffffd7ffa65f00f: rex mov 0x10(%rsi),%edi ;*getfield offset
                                                        ; - java.lang.String::hashCode@17 (line 1497)
          0xfffffd7ffa65f013: rex mov 0xc(%rsi),%ebp ;*getfield value
                                                        ; - java.lang.String::hashCode@22 (line 1498)

              Assignee:
              Christian Thalinger (Inactive)
              Reporter:
              Christian Thalinger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: