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

consolidate definition of CPU features

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b20

      Description

      While porting JDK-8224974 to Graal, I noticed that new CPU features were defined for x86[1] and AArch64. However, these features were not exposed via JVMCI. To avoid this problem in future, CPU features could be defined by a single macro that can be used to generate enum declarations as well as vmstructs entries.

      [1]: https://github.com/openjdk/jdk/commit/047b8bfeb73d00ebf9675520f7a4c085e514e050#diff-1537a167a92a2fbcf8820a494962154dadb282f815e98c0598466041381f0809R345-R347

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dnsimon Douglas Simon
              Reporter:
              dnsimon Douglas Simon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: