RFR: 8345609: [C1] LIR Operations with one input should be implemented as LIR_Op1

Martin Doerr mdoerr at openjdk.org
Thu Dec 5 17:01:47 UTC 2024


Change `lir_sqrt`, `lir_abs`, `lir_neg`, `lir_f2hf`, `lir_hf2f` to use `LIR_Op1`. Extend `LIR_Op1` to support one temp register operand.
Also see JBS issue.

Remove `lir_tan` and `lir_log10` which are unused (dead and incomplete code). They should get implemented in a better way if needed in the future, but I guess they are not important to have in C1.

-------------

Commit messages:
 - 8345609: [C1] LIR Operations with one input should be implemented as LIR_Op1

Changes: https://git.openjdk.org/jdk/pull/22582/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22582&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8345609
  Stats: 155 lines in 10 files changed: 59 ins; 89 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/22582.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22582/head:pull/22582

PR: https://git.openjdk.org/jdk/pull/22582


More information about the hotspot-compiler-dev mailing list