-
Enhancement
-
Resolution: Fixed
-
P4
-
9, 10
-
b03
-
generic
-
generic
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.
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.
- duplicates
-
JDK-8235981 Introduce a flag to enable JVM intrinsics
-
- Closed
-
- relates to
-
JDK-8145348 Make intrinsics flags diagnostic
-
- Resolved
-
-
JDK-8235981 Introduce a flag to enable JVM intrinsics
-
- Closed
-
-
JDK-8247732 validate user-input intrinsic_ids in ControlIntrinsic
-
- Resolved
-