[PATCH v2] linux-gen: add configure option for passing target system#2350
Open
MatiasElo wants to merge 4 commits into
Open
[PATCH v2] linux-gen: add configure option for passing target system#2350MatiasElo wants to merge 4 commits into
MatiasElo wants to merge 4 commits into
Conversation
Add new '--with-target' configure option for passing ODP target system. This enables implementing system specific optimizations. Initially, the supported systems are neoverse-n2, neoverse-n3, neoverse-v1, neoverse-v2, and neoverse-v3. Signed-off-by: Matias Elo <matias.elo@nokia.com>
ARMv8.6 and newer systems have time counter running at 1 GHz, which removes the need for calculations in time to/from nanosecond conversions. Add _ODP_TIME_FREQ_1GHZ define for enabling this optimization and define it for supported target systems. Signed-off-by: Matias Elo <matias.elo@nokia.com>
Use aarch64 self-synchronizing virtual count register cntvctss_el0 for implementing strict time/cycle count APIs without ISB barriers. Add _ODP_FEAT_ECV define for enabling this instruction and define it for neoverse-n3/v3 targets which supports it. Signed-off-by: Matias Elo <matias.elo@nokia.com>
Add test for neoverse-v1 (Graviton3 core) specific optimizations using new '--with-target' configure option. Signed-off-by: Matias Elo <matias.elo@nokia.com>
8284c56 to
946d3ae
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.