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

Some intrinsic flags could be replaced with one general flag

    Details

    • Subcomponent:
    • Resolved In Build:
      b03
    • CPU:
      generic
    • OS:
      generic

      Description

      Currently we have individual flags to control some intrinsics generation. The more intrinsics we add - more flags we have. We should avoid adding new flags which are costly to maintain and remember.

      We have DisableIntrinsic flag to specify list of intrinsics which should be disabled:
       diagnostic(ccstrlist, DisableIntrinsic, "",

      We could add opposite flag to specify list of intrinsics which should be enabled:

      diagnostic(ccstrlist, EnableIntrinsic, "",

      Some intrinsics flag control set of intrinsics, for example, InlineUnsafeOps so we may keep them as flags. But flags which control specific intrinsic, for example, UseAESIntrinsics could be converted.

      Note, some flags setting are based on hardware feature and are set ergonomically in vm_version_<arch>.cpp files.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                xliu Xin Liu
                Reporter:
                kvn Vladimir Kozlov
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: