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

x86_64: Minor Assembler improvements

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 15
    • 15
    • hotspot
    • b15
    • x86, x86_64

    Description

      - InstructionAttr fields interleave bools and ints, which mean the size of the class is larger than it needs to be. Rearranging so that bool and ints are together gets sizeof(InstructionAttr) down from 48 to 40, with slightly better code gen.

      - _is_managed only used on 32-bit

      - code gen for *_needs_rex improve if replacing reg != (x)noreg
        with reg->is_valid(), since the expression compiles down into a
        range checks (fewer branches)

      Attachments

        Issue Links

          Activity

            People

              redestad Claes Redestad
              redestad Claes Redestad
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: