-
Notifications
You must be signed in to change notification settings - Fork 3
NativeVariant.Cpu: add the capability to detect instruction-set extensions #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+266
−3
Merged
Changes from 3 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
324fa56
add a dependency on the oshi-core library (to obtain CPU feature flags)
stephengold dd7d34c
NativeVariant: add the Cpu.hasExtensions() method
stephengold 2680449
NativeVariant: solve Windows issue, eliminate caching of ISA extensions
stephengold 0baf927
NativeVariant: re-implement caching, fix Windows-on-ARM, add comments
stephengold b13ce2f
NativeVariant: document the names of some well-known ISA extensions
stephengold dd2be1b
NativeVariant: remove 2 HTML tags from the javadoc
stephengold 2799244
NativeVariant: move 2 fields to the Cpu inner class (for readability)
stephengold 7a9c74c
NativeVariant: readFeatureFlags() workaround for macOS
stephengold d7577e9
PlatformPredicate: add a combining constructor
stephengold 0309161
make the OSHI dependency into a transitive one
stephengold cb51869
snaploader-examples: added the TestCpuFeatures test
stephengold 73c35a7
snaploader-examples: register a Gradle task to run TestCpuFeatures
stephengold 4102293
TestCpuFeatures: specify CLEAN_EXTRACTION to loadLibrary()
stephengold File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,5 +27,5 @@ jar { // assemble jar options [java -jar] | |
| } | ||
|
|
||
| dependencies { | ||
|
|
||
| implementation('com.github.oshi:oshi-core:6.7.0') | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.