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

[REDO] - [C1] LIR Operations with one input should be implemented as LIR_Op1

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 25
    • hotspot
    • b06

      Some LIR Operations with only one input are currently implemented as LIR_Op2 and the 2nd input operand is misused for temp registers: lir_sqrt, lir_abs, lir_neg, lir_f2hf, lir_hf2f
      This results in unnecessary "live_in" effects for temp registers and requires workarounds like code which initializes a temp register.
      A better solution would be to use LIR_Op1 with one temp operand.
      In addition, lir_tan and lir_log10 are no longer used and the corresponding dead code can be removed.

            mdoerr Martin Doerr
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: