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

[IR Framework] Add attribute to @IR to enable/disable IR matching based on the architecture

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 22
    • 19, 20, 21
    • hotspot
    • b18

    Description

      We should extend the IR framework to enable/disable certain IR tests based on the architecture the test is run on. This could be achieved by adding an additional attribute to @IR rules.

      We should at support at least AND and OR attributes and cover the following checks (can be mapped to Platform.java):
      - 32/64 bit
      - OS type

      We could implement the attribute either with an enum or use Strings with input verification, similarly to what we do with applyIfCPUFeature* (checked against `verifiedCPUFeatures` list).

      Attachments

        Issue Links

          Activity

            People

              epeter Emanuel Peter
              chagedorn Christian Hagedorn
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: