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

x86_64: Minor Assembler improvements

XMLWordPrintable

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

      - 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)

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

              Created:
              Updated:
              Resolved: